kfreelance-project-postgresql-prisma-2 0.0.2 → 0.0.4
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/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/generated/prisma/edge.js +15 -5
- package/generated/prisma/index-browser.js +12 -2
- package/generated/prisma/index.d.ts +771 -675
- package/generated/prisma/index.js +15 -5
- package/generated/prisma/package.json +1 -1
- package/generated/prisma/schema.prisma +6 -6
- package/generated/prisma/wasm.js +15 -5
- package/package.json +1 -1
- package/prisma/migrations/20251230052027_update_comment/migration.sql +33 -0
- package/prisma/migrations/20251230112547_update_notification_payload_as_json/migration.sql +9 -0
- package/prisma/models/trips.prisma +4 -4
|
@@ -44,10 +44,10 @@ export type ActivitySuggestion = $Result.DefaultSelection<Prisma.$ActivitySugges
|
|
|
44
44
|
*/
|
|
45
45
|
export type Vote = $Result.DefaultSelection<Prisma.$VotePayload>
|
|
46
46
|
/**
|
|
47
|
-
* Model
|
|
47
|
+
* Model Comment
|
|
48
48
|
*
|
|
49
49
|
*/
|
|
50
|
-
export type
|
|
50
|
+
export type Comment = $Result.DefaultSelection<Prisma.$CommentPayload>
|
|
51
51
|
/**
|
|
52
52
|
* Model Document
|
|
53
53
|
*
|
|
@@ -365,14 +365,14 @@ export class PrismaClient<
|
|
|
365
365
|
get vote(): Prisma.VoteDelegate<ExtArgs, ClientOptions>;
|
|
366
366
|
|
|
367
367
|
/**
|
|
368
|
-
* `prisma.
|
|
368
|
+
* `prisma.comment`: Exposes CRUD operations for the **Comment** model.
|
|
369
369
|
* Example usage:
|
|
370
370
|
* ```ts
|
|
371
|
-
* // Fetch zero or more
|
|
372
|
-
* const
|
|
371
|
+
* // Fetch zero or more Comments
|
|
372
|
+
* const comments = await prisma.comment.findMany()
|
|
373
373
|
* ```
|
|
374
374
|
*/
|
|
375
|
-
get
|
|
375
|
+
get comment(): Prisma.CommentDelegate<ExtArgs, ClientOptions>;
|
|
376
376
|
|
|
377
377
|
/**
|
|
378
378
|
* `prisma.document`: Exposes CRUD operations for the **Document** model.
|
|
@@ -849,7 +849,7 @@ export namespace Prisma {
|
|
|
849
849
|
Activity: 'Activity',
|
|
850
850
|
ActivitySuggestion: 'ActivitySuggestion',
|
|
851
851
|
Vote: 'Vote',
|
|
852
|
-
|
|
852
|
+
Comment: 'Comment',
|
|
853
853
|
Document: 'Document',
|
|
854
854
|
Notification: 'Notification',
|
|
855
855
|
User: 'User'
|
|
@@ -871,7 +871,7 @@ export namespace Prisma {
|
|
|
871
871
|
omit: GlobalOmitOptions
|
|
872
872
|
}
|
|
873
873
|
meta: {
|
|
874
|
-
modelProps: "trip" | "tripMember" | "day" | "activity" | "activitySuggestion" | "vote" | "
|
|
874
|
+
modelProps: "trip" | "tripMember" | "day" | "activity" | "activitySuggestion" | "vote" | "comment" | "document" | "notification" | "user"
|
|
875
875
|
txIsolationLevel: Prisma.TransactionIsolationLevel
|
|
876
876
|
}
|
|
877
877
|
model: {
|
|
@@ -1319,77 +1319,77 @@ export namespace Prisma {
|
|
|
1319
1319
|
}
|
|
1320
1320
|
}
|
|
1321
1321
|
}
|
|
1322
|
-
|
|
1323
|
-
payload: Prisma.$
|
|
1324
|
-
fields: Prisma.
|
|
1322
|
+
Comment: {
|
|
1323
|
+
payload: Prisma.$CommentPayload<ExtArgs>
|
|
1324
|
+
fields: Prisma.CommentFieldRefs
|
|
1325
1325
|
operations: {
|
|
1326
1326
|
findUnique: {
|
|
1327
|
-
args: Prisma.
|
|
1328
|
-
result: $Utils.PayloadToResult<Prisma.$
|
|
1327
|
+
args: Prisma.CommentFindUniqueArgs<ExtArgs>
|
|
1328
|
+
result: $Utils.PayloadToResult<Prisma.$CommentPayload> | null
|
|
1329
1329
|
}
|
|
1330
1330
|
findUniqueOrThrow: {
|
|
1331
|
-
args: Prisma.
|
|
1332
|
-
result: $Utils.PayloadToResult<Prisma.$
|
|
1331
|
+
args: Prisma.CommentFindUniqueOrThrowArgs<ExtArgs>
|
|
1332
|
+
result: $Utils.PayloadToResult<Prisma.$CommentPayload>
|
|
1333
1333
|
}
|
|
1334
1334
|
findFirst: {
|
|
1335
|
-
args: Prisma.
|
|
1336
|
-
result: $Utils.PayloadToResult<Prisma.$
|
|
1335
|
+
args: Prisma.CommentFindFirstArgs<ExtArgs>
|
|
1336
|
+
result: $Utils.PayloadToResult<Prisma.$CommentPayload> | null
|
|
1337
1337
|
}
|
|
1338
1338
|
findFirstOrThrow: {
|
|
1339
|
-
args: Prisma.
|
|
1340
|
-
result: $Utils.PayloadToResult<Prisma.$
|
|
1339
|
+
args: Prisma.CommentFindFirstOrThrowArgs<ExtArgs>
|
|
1340
|
+
result: $Utils.PayloadToResult<Prisma.$CommentPayload>
|
|
1341
1341
|
}
|
|
1342
1342
|
findMany: {
|
|
1343
|
-
args: Prisma.
|
|
1344
|
-
result: $Utils.PayloadToResult<Prisma.$
|
|
1343
|
+
args: Prisma.CommentFindManyArgs<ExtArgs>
|
|
1344
|
+
result: $Utils.PayloadToResult<Prisma.$CommentPayload>[]
|
|
1345
1345
|
}
|
|
1346
1346
|
create: {
|
|
1347
|
-
args: Prisma.
|
|
1348
|
-
result: $Utils.PayloadToResult<Prisma.$
|
|
1347
|
+
args: Prisma.CommentCreateArgs<ExtArgs>
|
|
1348
|
+
result: $Utils.PayloadToResult<Prisma.$CommentPayload>
|
|
1349
1349
|
}
|
|
1350
1350
|
createMany: {
|
|
1351
|
-
args: Prisma.
|
|
1351
|
+
args: Prisma.CommentCreateManyArgs<ExtArgs>
|
|
1352
1352
|
result: BatchPayload
|
|
1353
1353
|
}
|
|
1354
1354
|
createManyAndReturn: {
|
|
1355
|
-
args: Prisma.
|
|
1356
|
-
result: $Utils.PayloadToResult<Prisma.$
|
|
1355
|
+
args: Prisma.CommentCreateManyAndReturnArgs<ExtArgs>
|
|
1356
|
+
result: $Utils.PayloadToResult<Prisma.$CommentPayload>[]
|
|
1357
1357
|
}
|
|
1358
1358
|
delete: {
|
|
1359
|
-
args: Prisma.
|
|
1360
|
-
result: $Utils.PayloadToResult<Prisma.$
|
|
1359
|
+
args: Prisma.CommentDeleteArgs<ExtArgs>
|
|
1360
|
+
result: $Utils.PayloadToResult<Prisma.$CommentPayload>
|
|
1361
1361
|
}
|
|
1362
1362
|
update: {
|
|
1363
|
-
args: Prisma.
|
|
1364
|
-
result: $Utils.PayloadToResult<Prisma.$
|
|
1363
|
+
args: Prisma.CommentUpdateArgs<ExtArgs>
|
|
1364
|
+
result: $Utils.PayloadToResult<Prisma.$CommentPayload>
|
|
1365
1365
|
}
|
|
1366
1366
|
deleteMany: {
|
|
1367
|
-
args: Prisma.
|
|
1367
|
+
args: Prisma.CommentDeleteManyArgs<ExtArgs>
|
|
1368
1368
|
result: BatchPayload
|
|
1369
1369
|
}
|
|
1370
1370
|
updateMany: {
|
|
1371
|
-
args: Prisma.
|
|
1371
|
+
args: Prisma.CommentUpdateManyArgs<ExtArgs>
|
|
1372
1372
|
result: BatchPayload
|
|
1373
1373
|
}
|
|
1374
1374
|
updateManyAndReturn: {
|
|
1375
|
-
args: Prisma.
|
|
1376
|
-
result: $Utils.PayloadToResult<Prisma.$
|
|
1375
|
+
args: Prisma.CommentUpdateManyAndReturnArgs<ExtArgs>
|
|
1376
|
+
result: $Utils.PayloadToResult<Prisma.$CommentPayload>[]
|
|
1377
1377
|
}
|
|
1378
1378
|
upsert: {
|
|
1379
|
-
args: Prisma.
|
|
1380
|
-
result: $Utils.PayloadToResult<Prisma.$
|
|
1379
|
+
args: Prisma.CommentUpsertArgs<ExtArgs>
|
|
1380
|
+
result: $Utils.PayloadToResult<Prisma.$CommentPayload>
|
|
1381
1381
|
}
|
|
1382
1382
|
aggregate: {
|
|
1383
|
-
args: Prisma.
|
|
1384
|
-
result: $Utils.Optional<
|
|
1383
|
+
args: Prisma.CommentAggregateArgs<ExtArgs>
|
|
1384
|
+
result: $Utils.Optional<AggregateComment>
|
|
1385
1385
|
}
|
|
1386
1386
|
groupBy: {
|
|
1387
|
-
args: Prisma.
|
|
1388
|
-
result: $Utils.Optional<
|
|
1387
|
+
args: Prisma.CommentGroupByArgs<ExtArgs>
|
|
1388
|
+
result: $Utils.Optional<CommentGroupByOutputType>[]
|
|
1389
1389
|
}
|
|
1390
1390
|
count: {
|
|
1391
|
-
args: Prisma.
|
|
1392
|
-
result: $Utils.Optional<
|
|
1391
|
+
args: Prisma.CommentCountArgs<ExtArgs>
|
|
1392
|
+
result: $Utils.Optional<CommentCountAggregateOutputType> | number
|
|
1393
1393
|
}
|
|
1394
1394
|
}
|
|
1395
1395
|
}
|
|
@@ -1717,7 +1717,7 @@ export namespace Prisma {
|
|
|
1717
1717
|
activity?: ActivityOmit
|
|
1718
1718
|
activitySuggestion?: ActivitySuggestionOmit
|
|
1719
1719
|
vote?: VoteOmit
|
|
1720
|
-
|
|
1720
|
+
comment?: CommentOmit
|
|
1721
1721
|
document?: DocumentOmit
|
|
1722
1722
|
notification?: NotificationOmit
|
|
1723
1723
|
user?: UserOmit
|
|
@@ -1939,7 +1939,7 @@ export namespace Prisma {
|
|
|
1939
1939
|
* ActivityCountOutputType without action
|
|
1940
1940
|
*/
|
|
1941
1941
|
export type ActivityCountOutputTypeCountCommentsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
1942
|
-
where?:
|
|
1942
|
+
where?: CommentWhereInput
|
|
1943
1943
|
}
|
|
1944
1944
|
|
|
1945
1945
|
|
|
@@ -1949,12 +1949,12 @@ export namespace Prisma {
|
|
|
1949
1949
|
|
|
1950
1950
|
export type ActivitySuggestionCountOutputType = {
|
|
1951
1951
|
votes: number
|
|
1952
|
-
|
|
1952
|
+
comments: number
|
|
1953
1953
|
}
|
|
1954
1954
|
|
|
1955
1955
|
export type ActivitySuggestionCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
1956
1956
|
votes?: boolean | ActivitySuggestionCountOutputTypeCountVotesArgs
|
|
1957
|
-
|
|
1957
|
+
comments?: boolean | ActivitySuggestionCountOutputTypeCountCommentsArgs
|
|
1958
1958
|
}
|
|
1959
1959
|
|
|
1960
1960
|
// Custom InputTypes
|
|
@@ -1978,8 +1978,8 @@ export namespace Prisma {
|
|
|
1978
1978
|
/**
|
|
1979
1979
|
* ActivitySuggestionCountOutputType without action
|
|
1980
1980
|
*/
|
|
1981
|
-
export type
|
|
1982
|
-
where?:
|
|
1981
|
+
export type ActivitySuggestionCountOutputTypeCountCommentsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
1982
|
+
where?: CommentWhereInput
|
|
1983
1983
|
}
|
|
1984
1984
|
|
|
1985
1985
|
|
|
@@ -5837,7 +5837,7 @@ export namespace Prisma {
|
|
|
5837
5837
|
objects: {
|
|
5838
5838
|
day: Prisma.$DayPayload<ExtArgs>
|
|
5839
5839
|
documents: Prisma.$DocumentPayload<ExtArgs>[]
|
|
5840
|
-
comments: Prisma.$
|
|
5840
|
+
comments: Prisma.$CommentPayload<ExtArgs>[]
|
|
5841
5841
|
}
|
|
5842
5842
|
scalars: $Extensions.GetPayloadResult<{
|
|
5843
5843
|
id: string
|
|
@@ -6250,7 +6250,7 @@ export namespace Prisma {
|
|
|
6250
6250
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
6251
6251
|
day<T extends DayDefaultArgs<ExtArgs> = {}>(args?: Subset<T, DayDefaultArgs<ExtArgs>>): Prisma__DayClient<$Result.GetResult<Prisma.$DayPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
6252
6252
|
documents<T extends Activity$documentsArgs<ExtArgs> = {}>(args?: Subset<T, Activity$documentsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DocumentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
6253
|
-
comments<T extends Activity$commentsArgs<ExtArgs> = {}>(args?: Subset<T, Activity$commentsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$
|
|
6253
|
+
comments<T extends Activity$commentsArgs<ExtArgs> = {}>(args?: Subset<T, Activity$commentsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CommentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
6254
6254
|
/**
|
|
6255
6255
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
6256
6256
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -6718,23 +6718,23 @@ export namespace Prisma {
|
|
|
6718
6718
|
*/
|
|
6719
6719
|
export type Activity$commentsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
6720
6720
|
/**
|
|
6721
|
-
* Select specific fields to fetch from the
|
|
6721
|
+
* Select specific fields to fetch from the Comment
|
|
6722
6722
|
*/
|
|
6723
|
-
select?:
|
|
6723
|
+
select?: CommentSelect<ExtArgs> | null
|
|
6724
6724
|
/**
|
|
6725
|
-
* Omit specific fields from the
|
|
6725
|
+
* Omit specific fields from the Comment
|
|
6726
6726
|
*/
|
|
6727
|
-
omit?:
|
|
6727
|
+
omit?: CommentOmit<ExtArgs> | null
|
|
6728
6728
|
/**
|
|
6729
6729
|
* Choose, which related nodes to fetch as well
|
|
6730
6730
|
*/
|
|
6731
|
-
include?:
|
|
6732
|
-
where?:
|
|
6733
|
-
orderBy?:
|
|
6734
|
-
cursor?:
|
|
6731
|
+
include?: CommentInclude<ExtArgs> | null
|
|
6732
|
+
where?: CommentWhereInput
|
|
6733
|
+
orderBy?: CommentOrderByWithRelationInput | CommentOrderByWithRelationInput[]
|
|
6734
|
+
cursor?: CommentWhereUniqueInput
|
|
6735
6735
|
take?: number
|
|
6736
6736
|
skip?: number
|
|
6737
|
-
distinct?:
|
|
6737
|
+
distinct?: CommentScalarFieldEnum | CommentScalarFieldEnum[]
|
|
6738
6738
|
}
|
|
6739
6739
|
|
|
6740
6740
|
/**
|
|
@@ -6930,7 +6930,7 @@ export namespace Prisma {
|
|
|
6930
6930
|
status?: boolean
|
|
6931
6931
|
trip?: boolean | TripDefaultArgs<ExtArgs>
|
|
6932
6932
|
votes?: boolean | ActivitySuggestion$votesArgs<ExtArgs>
|
|
6933
|
-
|
|
6933
|
+
comments?: boolean | ActivitySuggestion$commentsArgs<ExtArgs>
|
|
6934
6934
|
_count?: boolean | ActivitySuggestionCountOutputTypeDefaultArgs<ExtArgs>
|
|
6935
6935
|
}, ExtArgs["result"]["activitySuggestion"]>
|
|
6936
6936
|
|
|
@@ -6967,7 +6967,7 @@ export namespace Prisma {
|
|
|
6967
6967
|
export type ActivitySuggestionInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
6968
6968
|
trip?: boolean | TripDefaultArgs<ExtArgs>
|
|
6969
6969
|
votes?: boolean | ActivitySuggestion$votesArgs<ExtArgs>
|
|
6970
|
-
|
|
6970
|
+
comments?: boolean | ActivitySuggestion$commentsArgs<ExtArgs>
|
|
6971
6971
|
_count?: boolean | ActivitySuggestionCountOutputTypeDefaultArgs<ExtArgs>
|
|
6972
6972
|
}
|
|
6973
6973
|
export type ActivitySuggestionIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
@@ -6982,7 +6982,7 @@ export namespace Prisma {
|
|
|
6982
6982
|
objects: {
|
|
6983
6983
|
trip: Prisma.$TripPayload<ExtArgs>
|
|
6984
6984
|
votes: Prisma.$VotePayload<ExtArgs>[]
|
|
6985
|
-
|
|
6985
|
+
comments: Prisma.$CommentPayload<ExtArgs>[]
|
|
6986
6986
|
}
|
|
6987
6987
|
scalars: $Extensions.GetPayloadResult<{
|
|
6988
6988
|
id: string
|
|
@@ -7387,7 +7387,7 @@ export namespace Prisma {
|
|
|
7387
7387
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
7388
7388
|
trip<T extends TripDefaultArgs<ExtArgs> = {}>(args?: Subset<T, TripDefaultArgs<ExtArgs>>): Prisma__TripClient<$Result.GetResult<Prisma.$TripPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
7389
7389
|
votes<T extends ActivitySuggestion$votesArgs<ExtArgs> = {}>(args?: Subset<T, ActivitySuggestion$votesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VotePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
7390
|
-
|
|
7390
|
+
comments<T extends ActivitySuggestion$commentsArgs<ExtArgs> = {}>(args?: Subset<T, ActivitySuggestion$commentsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CommentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
7391
7391
|
/**
|
|
7392
7392
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
7393
7393
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -7843,27 +7843,27 @@ export namespace Prisma {
|
|
|
7843
7843
|
}
|
|
7844
7844
|
|
|
7845
7845
|
/**
|
|
7846
|
-
* ActivitySuggestion.
|
|
7846
|
+
* ActivitySuggestion.comments
|
|
7847
7847
|
*/
|
|
7848
|
-
export type ActivitySuggestion$
|
|
7848
|
+
export type ActivitySuggestion$commentsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7849
7849
|
/**
|
|
7850
|
-
* Select specific fields to fetch from the
|
|
7850
|
+
* Select specific fields to fetch from the Comment
|
|
7851
7851
|
*/
|
|
7852
|
-
select?:
|
|
7852
|
+
select?: CommentSelect<ExtArgs> | null
|
|
7853
7853
|
/**
|
|
7854
|
-
* Omit specific fields from the
|
|
7854
|
+
* Omit specific fields from the Comment
|
|
7855
7855
|
*/
|
|
7856
|
-
omit?:
|
|
7856
|
+
omit?: CommentOmit<ExtArgs> | null
|
|
7857
7857
|
/**
|
|
7858
7858
|
* Choose, which related nodes to fetch as well
|
|
7859
7859
|
*/
|
|
7860
|
-
include?:
|
|
7861
|
-
where?:
|
|
7862
|
-
orderBy?:
|
|
7863
|
-
cursor?:
|
|
7860
|
+
include?: CommentInclude<ExtArgs> | null
|
|
7861
|
+
where?: CommentWhereInput
|
|
7862
|
+
orderBy?: CommentOrderByWithRelationInput | CommentOrderByWithRelationInput[]
|
|
7863
|
+
cursor?: CommentWhereUniqueInput
|
|
7864
7864
|
take?: number
|
|
7865
7865
|
skip?: number
|
|
7866
|
-
distinct?:
|
|
7866
|
+
distinct?: CommentScalarFieldEnum | CommentScalarFieldEnum[]
|
|
7867
7867
|
}
|
|
7868
7868
|
|
|
7869
7869
|
/**
|
|
@@ -8944,16 +8944,16 @@ export namespace Prisma {
|
|
|
8944
8944
|
|
|
8945
8945
|
|
|
8946
8946
|
/**
|
|
8947
|
-
* Model
|
|
8947
|
+
* Model Comment
|
|
8948
8948
|
*/
|
|
8949
8949
|
|
|
8950
|
-
export type
|
|
8951
|
-
_count:
|
|
8952
|
-
_min:
|
|
8953
|
-
_max:
|
|
8950
|
+
export type AggregateComment = {
|
|
8951
|
+
_count: CommentCountAggregateOutputType | null
|
|
8952
|
+
_min: CommentMinAggregateOutputType | null
|
|
8953
|
+
_max: CommentMaxAggregateOutputType | null
|
|
8954
8954
|
}
|
|
8955
8955
|
|
|
8956
|
-
export type
|
|
8956
|
+
export type CommentMinAggregateOutputType = {
|
|
8957
8957
|
id: string | null
|
|
8958
8958
|
entity_type: $Enums.EntityType | null
|
|
8959
8959
|
user_id: string | null
|
|
@@ -8963,7 +8963,7 @@ export namespace Prisma {
|
|
|
8963
8963
|
activitySuggestionId: string | null
|
|
8964
8964
|
}
|
|
8965
8965
|
|
|
8966
|
-
export type
|
|
8966
|
+
export type CommentMaxAggregateOutputType = {
|
|
8967
8967
|
id: string | null
|
|
8968
8968
|
entity_type: $Enums.EntityType | null
|
|
8969
8969
|
user_id: string | null
|
|
@@ -8973,7 +8973,7 @@ export namespace Prisma {
|
|
|
8973
8973
|
activitySuggestionId: string | null
|
|
8974
8974
|
}
|
|
8975
8975
|
|
|
8976
|
-
export type
|
|
8976
|
+
export type CommentCountAggregateOutputType = {
|
|
8977
8977
|
id: number
|
|
8978
8978
|
entity_type: number
|
|
8979
8979
|
user_id: number
|
|
@@ -8985,7 +8985,7 @@ export namespace Prisma {
|
|
|
8985
8985
|
}
|
|
8986
8986
|
|
|
8987
8987
|
|
|
8988
|
-
export type
|
|
8988
|
+
export type CommentMinAggregateInputType = {
|
|
8989
8989
|
id?: true
|
|
8990
8990
|
entity_type?: true
|
|
8991
8991
|
user_id?: true
|
|
@@ -8995,7 +8995,7 @@ export namespace Prisma {
|
|
|
8995
8995
|
activitySuggestionId?: true
|
|
8996
8996
|
}
|
|
8997
8997
|
|
|
8998
|
-
export type
|
|
8998
|
+
export type CommentMaxAggregateInputType = {
|
|
8999
8999
|
id?: true
|
|
9000
9000
|
entity_type?: true
|
|
9001
9001
|
user_id?: true
|
|
@@ -9005,7 +9005,7 @@ export namespace Prisma {
|
|
|
9005
9005
|
activitySuggestionId?: true
|
|
9006
9006
|
}
|
|
9007
9007
|
|
|
9008
|
-
export type
|
|
9008
|
+
export type CommentCountAggregateInputType = {
|
|
9009
9009
|
id?: true
|
|
9010
9010
|
entity_type?: true
|
|
9011
9011
|
user_id?: true
|
|
@@ -9016,79 +9016,79 @@ export namespace Prisma {
|
|
|
9016
9016
|
_all?: true
|
|
9017
9017
|
}
|
|
9018
9018
|
|
|
9019
|
-
export type
|
|
9019
|
+
export type CommentAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9020
9020
|
/**
|
|
9021
|
-
* Filter which
|
|
9021
|
+
* Filter which Comment to aggregate.
|
|
9022
9022
|
*/
|
|
9023
|
-
where?:
|
|
9023
|
+
where?: CommentWhereInput
|
|
9024
9024
|
/**
|
|
9025
9025
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
9026
9026
|
*
|
|
9027
|
-
* Determine the order of
|
|
9027
|
+
* Determine the order of Comments to fetch.
|
|
9028
9028
|
*/
|
|
9029
|
-
orderBy?:
|
|
9029
|
+
orderBy?: CommentOrderByWithRelationInput | CommentOrderByWithRelationInput[]
|
|
9030
9030
|
/**
|
|
9031
9031
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
9032
9032
|
*
|
|
9033
9033
|
* Sets the start position
|
|
9034
9034
|
*/
|
|
9035
|
-
cursor?:
|
|
9035
|
+
cursor?: CommentWhereUniqueInput
|
|
9036
9036
|
/**
|
|
9037
9037
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
9038
9038
|
*
|
|
9039
|
-
* Take `±n`
|
|
9039
|
+
* Take `±n` Comments from the position of the cursor.
|
|
9040
9040
|
*/
|
|
9041
9041
|
take?: number
|
|
9042
9042
|
/**
|
|
9043
9043
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
9044
9044
|
*
|
|
9045
|
-
* Skip the first `n`
|
|
9045
|
+
* Skip the first `n` Comments.
|
|
9046
9046
|
*/
|
|
9047
9047
|
skip?: number
|
|
9048
9048
|
/**
|
|
9049
9049
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
9050
9050
|
*
|
|
9051
|
-
* Count returned
|
|
9051
|
+
* Count returned Comments
|
|
9052
9052
|
**/
|
|
9053
|
-
_count?: true |
|
|
9053
|
+
_count?: true | CommentCountAggregateInputType
|
|
9054
9054
|
/**
|
|
9055
9055
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
9056
9056
|
*
|
|
9057
9057
|
* Select which fields to find the minimum value
|
|
9058
9058
|
**/
|
|
9059
|
-
_min?:
|
|
9059
|
+
_min?: CommentMinAggregateInputType
|
|
9060
9060
|
/**
|
|
9061
9061
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
9062
9062
|
*
|
|
9063
9063
|
* Select which fields to find the maximum value
|
|
9064
9064
|
**/
|
|
9065
|
-
_max?:
|
|
9065
|
+
_max?: CommentMaxAggregateInputType
|
|
9066
9066
|
}
|
|
9067
9067
|
|
|
9068
|
-
export type
|
|
9069
|
-
[P in keyof T & keyof
|
|
9068
|
+
export type GetCommentAggregateType<T extends CommentAggregateArgs> = {
|
|
9069
|
+
[P in keyof T & keyof AggregateComment]: P extends '_count' | 'count'
|
|
9070
9070
|
? T[P] extends true
|
|
9071
9071
|
? number
|
|
9072
|
-
: GetScalarType<T[P],
|
|
9073
|
-
: GetScalarType<T[P],
|
|
9072
|
+
: GetScalarType<T[P], AggregateComment[P]>
|
|
9073
|
+
: GetScalarType<T[P], AggregateComment[P]>
|
|
9074
9074
|
}
|
|
9075
9075
|
|
|
9076
9076
|
|
|
9077
9077
|
|
|
9078
9078
|
|
|
9079
|
-
export type
|
|
9080
|
-
where?:
|
|
9081
|
-
orderBy?:
|
|
9082
|
-
by:
|
|
9083
|
-
having?:
|
|
9079
|
+
export type CommentGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9080
|
+
where?: CommentWhereInput
|
|
9081
|
+
orderBy?: CommentOrderByWithAggregationInput | CommentOrderByWithAggregationInput[]
|
|
9082
|
+
by: CommentScalarFieldEnum[] | CommentScalarFieldEnum
|
|
9083
|
+
having?: CommentScalarWhereWithAggregatesInput
|
|
9084
9084
|
take?: number
|
|
9085
9085
|
skip?: number
|
|
9086
|
-
_count?:
|
|
9087
|
-
_min?:
|
|
9088
|
-
_max?:
|
|
9086
|
+
_count?: CommentCountAggregateInputType | true
|
|
9087
|
+
_min?: CommentMinAggregateInputType
|
|
9088
|
+
_max?: CommentMaxAggregateInputType
|
|
9089
9089
|
}
|
|
9090
9090
|
|
|
9091
|
-
export type
|
|
9091
|
+
export type CommentGroupByOutputType = {
|
|
9092
9092
|
id: string
|
|
9093
9093
|
entity_type: $Enums.EntityType
|
|
9094
9094
|
user_id: string
|
|
@@ -9096,26 +9096,26 @@ export namespace Prisma {
|
|
|
9096
9096
|
created_at: Date
|
|
9097
9097
|
activityId: string | null
|
|
9098
9098
|
activitySuggestionId: string | null
|
|
9099
|
-
_count:
|
|
9100
|
-
_min:
|
|
9101
|
-
_max:
|
|
9099
|
+
_count: CommentCountAggregateOutputType | null
|
|
9100
|
+
_min: CommentMinAggregateOutputType | null
|
|
9101
|
+
_max: CommentMaxAggregateOutputType | null
|
|
9102
9102
|
}
|
|
9103
9103
|
|
|
9104
|
-
type
|
|
9104
|
+
type GetCommentGroupByPayload<T extends CommentGroupByArgs> = Prisma.PrismaPromise<
|
|
9105
9105
|
Array<
|
|
9106
|
-
PickEnumerable<
|
|
9106
|
+
PickEnumerable<CommentGroupByOutputType, T['by']> &
|
|
9107
9107
|
{
|
|
9108
|
-
[P in ((keyof T) & (keyof
|
|
9108
|
+
[P in ((keyof T) & (keyof CommentGroupByOutputType))]: P extends '_count'
|
|
9109
9109
|
? T[P] extends boolean
|
|
9110
9110
|
? number
|
|
9111
|
-
: GetScalarType<T[P],
|
|
9112
|
-
: GetScalarType<T[P],
|
|
9111
|
+
: GetScalarType<T[P], CommentGroupByOutputType[P]>
|
|
9112
|
+
: GetScalarType<T[P], CommentGroupByOutputType[P]>
|
|
9113
9113
|
}
|
|
9114
9114
|
>
|
|
9115
9115
|
>
|
|
9116
9116
|
|
|
9117
9117
|
|
|
9118
|
-
export type
|
|
9118
|
+
export type CommentSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
9119
9119
|
id?: boolean
|
|
9120
9120
|
entity_type?: boolean
|
|
9121
9121
|
user_id?: boolean
|
|
@@ -9123,11 +9123,11 @@ export namespace Prisma {
|
|
|
9123
9123
|
created_at?: boolean
|
|
9124
9124
|
activityId?: boolean
|
|
9125
9125
|
activitySuggestionId?: boolean
|
|
9126
|
-
activity?: boolean |
|
|
9127
|
-
activitySuggestion?: boolean |
|
|
9128
|
-
}, ExtArgs["result"]["
|
|
9126
|
+
activity?: boolean | Comment$activityArgs<ExtArgs>
|
|
9127
|
+
activitySuggestion?: boolean | Comment$activitySuggestionArgs<ExtArgs>
|
|
9128
|
+
}, ExtArgs["result"]["comment"]>
|
|
9129
9129
|
|
|
9130
|
-
export type
|
|
9130
|
+
export type CommentSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
9131
9131
|
id?: boolean
|
|
9132
9132
|
entity_type?: boolean
|
|
9133
9133
|
user_id?: boolean
|
|
@@ -9135,11 +9135,11 @@ export namespace Prisma {
|
|
|
9135
9135
|
created_at?: boolean
|
|
9136
9136
|
activityId?: boolean
|
|
9137
9137
|
activitySuggestionId?: boolean
|
|
9138
|
-
activity?: boolean |
|
|
9139
|
-
activitySuggestion?: boolean |
|
|
9140
|
-
}, ExtArgs["result"]["
|
|
9138
|
+
activity?: boolean | Comment$activityArgs<ExtArgs>
|
|
9139
|
+
activitySuggestion?: boolean | Comment$activitySuggestionArgs<ExtArgs>
|
|
9140
|
+
}, ExtArgs["result"]["comment"]>
|
|
9141
9141
|
|
|
9142
|
-
export type
|
|
9142
|
+
export type CommentSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
9143
9143
|
id?: boolean
|
|
9144
9144
|
entity_type?: boolean
|
|
9145
9145
|
user_id?: boolean
|
|
@@ -9147,11 +9147,11 @@ export namespace Prisma {
|
|
|
9147
9147
|
created_at?: boolean
|
|
9148
9148
|
activityId?: boolean
|
|
9149
9149
|
activitySuggestionId?: boolean
|
|
9150
|
-
activity?: boolean |
|
|
9151
|
-
activitySuggestion?: boolean |
|
|
9152
|
-
}, ExtArgs["result"]["
|
|
9150
|
+
activity?: boolean | Comment$activityArgs<ExtArgs>
|
|
9151
|
+
activitySuggestion?: boolean | Comment$activitySuggestionArgs<ExtArgs>
|
|
9152
|
+
}, ExtArgs["result"]["comment"]>
|
|
9153
9153
|
|
|
9154
|
-
export type
|
|
9154
|
+
export type CommentSelectScalar = {
|
|
9155
9155
|
id?: boolean
|
|
9156
9156
|
entity_type?: boolean
|
|
9157
9157
|
user_id?: boolean
|
|
@@ -9161,22 +9161,22 @@ export namespace Prisma {
|
|
|
9161
9161
|
activitySuggestionId?: boolean
|
|
9162
9162
|
}
|
|
9163
9163
|
|
|
9164
|
-
export type
|
|
9165
|
-
export type
|
|
9166
|
-
activity?: boolean |
|
|
9167
|
-
activitySuggestion?: boolean |
|
|
9164
|
+
export type CommentOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "entity_type" | "user_id" | "content" | "created_at" | "activityId" | "activitySuggestionId", ExtArgs["result"]["comment"]>
|
|
9165
|
+
export type CommentInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9166
|
+
activity?: boolean | Comment$activityArgs<ExtArgs>
|
|
9167
|
+
activitySuggestion?: boolean | Comment$activitySuggestionArgs<ExtArgs>
|
|
9168
9168
|
}
|
|
9169
|
-
export type
|
|
9170
|
-
activity?: boolean |
|
|
9171
|
-
activitySuggestion?: boolean |
|
|
9169
|
+
export type CommentIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9170
|
+
activity?: boolean | Comment$activityArgs<ExtArgs>
|
|
9171
|
+
activitySuggestion?: boolean | Comment$activitySuggestionArgs<ExtArgs>
|
|
9172
9172
|
}
|
|
9173
|
-
export type
|
|
9174
|
-
activity?: boolean |
|
|
9175
|
-
activitySuggestion?: boolean |
|
|
9173
|
+
export type CommentIncludeUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9174
|
+
activity?: boolean | Comment$activityArgs<ExtArgs>
|
|
9175
|
+
activitySuggestion?: boolean | Comment$activitySuggestionArgs<ExtArgs>
|
|
9176
9176
|
}
|
|
9177
9177
|
|
|
9178
|
-
export type $
|
|
9179
|
-
name: "
|
|
9178
|
+
export type $CommentPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9179
|
+
name: "Comment"
|
|
9180
9180
|
objects: {
|
|
9181
9181
|
activity: Prisma.$ActivityPayload<ExtArgs> | null
|
|
9182
9182
|
activitySuggestion: Prisma.$ActivitySuggestionPayload<ExtArgs> | null
|
|
@@ -9189,136 +9189,136 @@ export namespace Prisma {
|
|
|
9189
9189
|
created_at: Date
|
|
9190
9190
|
activityId: string | null
|
|
9191
9191
|
activitySuggestionId: string | null
|
|
9192
|
-
}, ExtArgs["result"]["
|
|
9192
|
+
}, ExtArgs["result"]["comment"]>
|
|
9193
9193
|
composites: {}
|
|
9194
9194
|
}
|
|
9195
9195
|
|
|
9196
|
-
type
|
|
9196
|
+
type CommentGetPayload<S extends boolean | null | undefined | CommentDefaultArgs> = $Result.GetResult<Prisma.$CommentPayload, S>
|
|
9197
9197
|
|
|
9198
|
-
type
|
|
9199
|
-
Omit<
|
|
9200
|
-
select?:
|
|
9198
|
+
type CommentCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
9199
|
+
Omit<CommentFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
9200
|
+
select?: CommentCountAggregateInputType | true
|
|
9201
9201
|
}
|
|
9202
9202
|
|
|
9203
|
-
export interface
|
|
9204
|
-
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['
|
|
9203
|
+
export interface CommentDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
9204
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Comment'], meta: { name: 'Comment' } }
|
|
9205
9205
|
/**
|
|
9206
|
-
* Find zero or one
|
|
9207
|
-
* @param {
|
|
9206
|
+
* Find zero or one Comment that matches the filter.
|
|
9207
|
+
* @param {CommentFindUniqueArgs} args - Arguments to find a Comment
|
|
9208
9208
|
* @example
|
|
9209
|
-
* // Get one
|
|
9210
|
-
* const
|
|
9209
|
+
* // Get one Comment
|
|
9210
|
+
* const comment = await prisma.comment.findUnique({
|
|
9211
9211
|
* where: {
|
|
9212
9212
|
* // ... provide filter here
|
|
9213
9213
|
* }
|
|
9214
9214
|
* })
|
|
9215
9215
|
*/
|
|
9216
|
-
findUnique<T extends
|
|
9216
|
+
findUnique<T extends CommentFindUniqueArgs>(args: SelectSubset<T, CommentFindUniqueArgs<ExtArgs>>): Prisma__CommentClient<$Result.GetResult<Prisma.$CommentPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
9217
9217
|
|
|
9218
9218
|
/**
|
|
9219
|
-
* Find one
|
|
9219
|
+
* Find one Comment that matches the filter or throw an error with `error.code='P2025'`
|
|
9220
9220
|
* if no matches were found.
|
|
9221
|
-
* @param {
|
|
9221
|
+
* @param {CommentFindUniqueOrThrowArgs} args - Arguments to find a Comment
|
|
9222
9222
|
* @example
|
|
9223
|
-
* // Get one
|
|
9224
|
-
* const
|
|
9223
|
+
* // Get one Comment
|
|
9224
|
+
* const comment = await prisma.comment.findUniqueOrThrow({
|
|
9225
9225
|
* where: {
|
|
9226
9226
|
* // ... provide filter here
|
|
9227
9227
|
* }
|
|
9228
9228
|
* })
|
|
9229
9229
|
*/
|
|
9230
|
-
findUniqueOrThrow<T extends
|
|
9230
|
+
findUniqueOrThrow<T extends CommentFindUniqueOrThrowArgs>(args: SelectSubset<T, CommentFindUniqueOrThrowArgs<ExtArgs>>): Prisma__CommentClient<$Result.GetResult<Prisma.$CommentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
9231
9231
|
|
|
9232
9232
|
/**
|
|
9233
|
-
* Find the first
|
|
9233
|
+
* Find the first Comment that matches the filter.
|
|
9234
9234
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
9235
9235
|
* Read more here: https://pris.ly/d/null-undefined
|
|
9236
|
-
* @param {
|
|
9236
|
+
* @param {CommentFindFirstArgs} args - Arguments to find a Comment
|
|
9237
9237
|
* @example
|
|
9238
|
-
* // Get one
|
|
9239
|
-
* const
|
|
9238
|
+
* // Get one Comment
|
|
9239
|
+
* const comment = await prisma.comment.findFirst({
|
|
9240
9240
|
* where: {
|
|
9241
9241
|
* // ... provide filter here
|
|
9242
9242
|
* }
|
|
9243
9243
|
* })
|
|
9244
9244
|
*/
|
|
9245
|
-
findFirst<T extends
|
|
9245
|
+
findFirst<T extends CommentFindFirstArgs>(args?: SelectSubset<T, CommentFindFirstArgs<ExtArgs>>): Prisma__CommentClient<$Result.GetResult<Prisma.$CommentPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
9246
9246
|
|
|
9247
9247
|
/**
|
|
9248
|
-
* Find the first
|
|
9248
|
+
* Find the first Comment that matches the filter or
|
|
9249
9249
|
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
9250
9250
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
9251
9251
|
* Read more here: https://pris.ly/d/null-undefined
|
|
9252
|
-
* @param {
|
|
9252
|
+
* @param {CommentFindFirstOrThrowArgs} args - Arguments to find a Comment
|
|
9253
9253
|
* @example
|
|
9254
|
-
* // Get one
|
|
9255
|
-
* const
|
|
9254
|
+
* // Get one Comment
|
|
9255
|
+
* const comment = await prisma.comment.findFirstOrThrow({
|
|
9256
9256
|
* where: {
|
|
9257
9257
|
* // ... provide filter here
|
|
9258
9258
|
* }
|
|
9259
9259
|
* })
|
|
9260
9260
|
*/
|
|
9261
|
-
findFirstOrThrow<T extends
|
|
9261
|
+
findFirstOrThrow<T extends CommentFindFirstOrThrowArgs>(args?: SelectSubset<T, CommentFindFirstOrThrowArgs<ExtArgs>>): Prisma__CommentClient<$Result.GetResult<Prisma.$CommentPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
9262
9262
|
|
|
9263
9263
|
/**
|
|
9264
|
-
* Find zero or more
|
|
9264
|
+
* Find zero or more Comments that matches the filter.
|
|
9265
9265
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
9266
9266
|
* Read more here: https://pris.ly/d/null-undefined
|
|
9267
|
-
* @param {
|
|
9267
|
+
* @param {CommentFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
9268
9268
|
* @example
|
|
9269
|
-
* // Get all
|
|
9270
|
-
* const
|
|
9269
|
+
* // Get all Comments
|
|
9270
|
+
* const comments = await prisma.comment.findMany()
|
|
9271
9271
|
*
|
|
9272
|
-
* // Get first 10
|
|
9273
|
-
* const
|
|
9272
|
+
* // Get first 10 Comments
|
|
9273
|
+
* const comments = await prisma.comment.findMany({ take: 10 })
|
|
9274
9274
|
*
|
|
9275
9275
|
* // Only select the `id`
|
|
9276
|
-
* const
|
|
9276
|
+
* const commentWithIdOnly = await prisma.comment.findMany({ select: { id: true } })
|
|
9277
9277
|
*
|
|
9278
9278
|
*/
|
|
9279
|
-
findMany<T extends
|
|
9279
|
+
findMany<T extends CommentFindManyArgs>(args?: SelectSubset<T, CommentFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CommentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
9280
9280
|
|
|
9281
9281
|
/**
|
|
9282
|
-
* Create a
|
|
9283
|
-
* @param {
|
|
9282
|
+
* Create a Comment.
|
|
9283
|
+
* @param {CommentCreateArgs} args - Arguments to create a Comment.
|
|
9284
9284
|
* @example
|
|
9285
|
-
* // Create one
|
|
9286
|
-
* const
|
|
9285
|
+
* // Create one Comment
|
|
9286
|
+
* const Comment = await prisma.comment.create({
|
|
9287
9287
|
* data: {
|
|
9288
|
-
* // ... data to create a
|
|
9288
|
+
* // ... data to create a Comment
|
|
9289
9289
|
* }
|
|
9290
9290
|
* })
|
|
9291
9291
|
*
|
|
9292
9292
|
*/
|
|
9293
|
-
create<T extends
|
|
9293
|
+
create<T extends CommentCreateArgs>(args: SelectSubset<T, CommentCreateArgs<ExtArgs>>): Prisma__CommentClient<$Result.GetResult<Prisma.$CommentPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
9294
9294
|
|
|
9295
9295
|
/**
|
|
9296
|
-
* Create many
|
|
9297
|
-
* @param {
|
|
9296
|
+
* Create many Comments.
|
|
9297
|
+
* @param {CommentCreateManyArgs} args - Arguments to create many Comments.
|
|
9298
9298
|
* @example
|
|
9299
|
-
* // Create many
|
|
9300
|
-
* const
|
|
9299
|
+
* // Create many Comments
|
|
9300
|
+
* const comment = await prisma.comment.createMany({
|
|
9301
9301
|
* data: [
|
|
9302
9302
|
* // ... provide data here
|
|
9303
9303
|
* ]
|
|
9304
9304
|
* })
|
|
9305
9305
|
*
|
|
9306
9306
|
*/
|
|
9307
|
-
createMany<T extends
|
|
9307
|
+
createMany<T extends CommentCreateManyArgs>(args?: SelectSubset<T, CommentCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
9308
9308
|
|
|
9309
9309
|
/**
|
|
9310
|
-
* Create many
|
|
9311
|
-
* @param {
|
|
9310
|
+
* Create many Comments and returns the data saved in the database.
|
|
9311
|
+
* @param {CommentCreateManyAndReturnArgs} args - Arguments to create many Comments.
|
|
9312
9312
|
* @example
|
|
9313
|
-
* // Create many
|
|
9314
|
-
* const
|
|
9313
|
+
* // Create many Comments
|
|
9314
|
+
* const comment = await prisma.comment.createManyAndReturn({
|
|
9315
9315
|
* data: [
|
|
9316
9316
|
* // ... provide data here
|
|
9317
9317
|
* ]
|
|
9318
9318
|
* })
|
|
9319
9319
|
*
|
|
9320
|
-
* // Create many
|
|
9321
|
-
* const
|
|
9320
|
+
* // Create many Comments and only return the `id`
|
|
9321
|
+
* const commentWithIdOnly = await prisma.comment.createManyAndReturn({
|
|
9322
9322
|
* select: { id: true },
|
|
9323
9323
|
* data: [
|
|
9324
9324
|
* // ... provide data here
|
|
@@ -9328,28 +9328,28 @@ export namespace Prisma {
|
|
|
9328
9328
|
* Read more here: https://pris.ly/d/null-undefined
|
|
9329
9329
|
*
|
|
9330
9330
|
*/
|
|
9331
|
-
createManyAndReturn<T extends
|
|
9331
|
+
createManyAndReturn<T extends CommentCreateManyAndReturnArgs>(args?: SelectSubset<T, CommentCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CommentPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
9332
9332
|
|
|
9333
9333
|
/**
|
|
9334
|
-
* Delete a
|
|
9335
|
-
* @param {
|
|
9334
|
+
* Delete a Comment.
|
|
9335
|
+
* @param {CommentDeleteArgs} args - Arguments to delete one Comment.
|
|
9336
9336
|
* @example
|
|
9337
|
-
* // Delete one
|
|
9338
|
-
* const
|
|
9337
|
+
* // Delete one Comment
|
|
9338
|
+
* const Comment = await prisma.comment.delete({
|
|
9339
9339
|
* where: {
|
|
9340
|
-
* // ... filter to delete one
|
|
9340
|
+
* // ... filter to delete one Comment
|
|
9341
9341
|
* }
|
|
9342
9342
|
* })
|
|
9343
9343
|
*
|
|
9344
9344
|
*/
|
|
9345
|
-
delete<T extends
|
|
9345
|
+
delete<T extends CommentDeleteArgs>(args: SelectSubset<T, CommentDeleteArgs<ExtArgs>>): Prisma__CommentClient<$Result.GetResult<Prisma.$CommentPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
9346
9346
|
|
|
9347
9347
|
/**
|
|
9348
|
-
* Update one
|
|
9349
|
-
* @param {
|
|
9348
|
+
* Update one Comment.
|
|
9349
|
+
* @param {CommentUpdateArgs} args - Arguments to update one Comment.
|
|
9350
9350
|
* @example
|
|
9351
|
-
* // Update one
|
|
9352
|
-
* const
|
|
9351
|
+
* // Update one Comment
|
|
9352
|
+
* const comment = await prisma.comment.update({
|
|
9353
9353
|
* where: {
|
|
9354
9354
|
* // ... provide filter here
|
|
9355
9355
|
* },
|
|
@@ -9359,30 +9359,30 @@ export namespace Prisma {
|
|
|
9359
9359
|
* })
|
|
9360
9360
|
*
|
|
9361
9361
|
*/
|
|
9362
|
-
update<T extends
|
|
9362
|
+
update<T extends CommentUpdateArgs>(args: SelectSubset<T, CommentUpdateArgs<ExtArgs>>): Prisma__CommentClient<$Result.GetResult<Prisma.$CommentPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
9363
9363
|
|
|
9364
9364
|
/**
|
|
9365
|
-
* Delete zero or more
|
|
9366
|
-
* @param {
|
|
9365
|
+
* Delete zero or more Comments.
|
|
9366
|
+
* @param {CommentDeleteManyArgs} args - Arguments to filter Comments to delete.
|
|
9367
9367
|
* @example
|
|
9368
|
-
* // Delete a few
|
|
9369
|
-
* const { count } = await prisma.
|
|
9368
|
+
* // Delete a few Comments
|
|
9369
|
+
* const { count } = await prisma.comment.deleteMany({
|
|
9370
9370
|
* where: {
|
|
9371
9371
|
* // ... provide filter here
|
|
9372
9372
|
* }
|
|
9373
9373
|
* })
|
|
9374
9374
|
*
|
|
9375
9375
|
*/
|
|
9376
|
-
deleteMany<T extends
|
|
9376
|
+
deleteMany<T extends CommentDeleteManyArgs>(args?: SelectSubset<T, CommentDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
9377
9377
|
|
|
9378
9378
|
/**
|
|
9379
|
-
* Update zero or more
|
|
9379
|
+
* Update zero or more Comments.
|
|
9380
9380
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
9381
9381
|
* Read more here: https://pris.ly/d/null-undefined
|
|
9382
|
-
* @param {
|
|
9382
|
+
* @param {CommentUpdateManyArgs} args - Arguments to update one or more rows.
|
|
9383
9383
|
* @example
|
|
9384
|
-
* // Update many
|
|
9385
|
-
* const
|
|
9384
|
+
* // Update many Comments
|
|
9385
|
+
* const comment = await prisma.comment.updateMany({
|
|
9386
9386
|
* where: {
|
|
9387
9387
|
* // ... provide filter here
|
|
9388
9388
|
* },
|
|
@@ -9392,14 +9392,14 @@ export namespace Prisma {
|
|
|
9392
9392
|
* })
|
|
9393
9393
|
*
|
|
9394
9394
|
*/
|
|
9395
|
-
updateMany<T extends
|
|
9395
|
+
updateMany<T extends CommentUpdateManyArgs>(args: SelectSubset<T, CommentUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
9396
9396
|
|
|
9397
9397
|
/**
|
|
9398
|
-
* Update zero or more
|
|
9399
|
-
* @param {
|
|
9398
|
+
* Update zero or more Comments and returns the data updated in the database.
|
|
9399
|
+
* @param {CommentUpdateManyAndReturnArgs} args - Arguments to update many Comments.
|
|
9400
9400
|
* @example
|
|
9401
|
-
* // Update many
|
|
9402
|
-
* const
|
|
9401
|
+
* // Update many Comments
|
|
9402
|
+
* const comment = await prisma.comment.updateManyAndReturn({
|
|
9403
9403
|
* where: {
|
|
9404
9404
|
* // ... provide filter here
|
|
9405
9405
|
* },
|
|
@@ -9408,8 +9408,8 @@ export namespace Prisma {
|
|
|
9408
9408
|
* ]
|
|
9409
9409
|
* })
|
|
9410
9410
|
*
|
|
9411
|
-
* // Update zero or more
|
|
9412
|
-
* const
|
|
9411
|
+
* // Update zero or more Comments and only return the `id`
|
|
9412
|
+
* const commentWithIdOnly = await prisma.comment.updateManyAndReturn({
|
|
9413
9413
|
* select: { id: true },
|
|
9414
9414
|
* where: {
|
|
9415
9415
|
* // ... provide filter here
|
|
@@ -9422,56 +9422,56 @@ export namespace Prisma {
|
|
|
9422
9422
|
* Read more here: https://pris.ly/d/null-undefined
|
|
9423
9423
|
*
|
|
9424
9424
|
*/
|
|
9425
|
-
updateManyAndReturn<T extends
|
|
9425
|
+
updateManyAndReturn<T extends CommentUpdateManyAndReturnArgs>(args: SelectSubset<T, CommentUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CommentPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
9426
9426
|
|
|
9427
9427
|
/**
|
|
9428
|
-
* Create or update one
|
|
9429
|
-
* @param {
|
|
9428
|
+
* Create or update one Comment.
|
|
9429
|
+
* @param {CommentUpsertArgs} args - Arguments to update or create a Comment.
|
|
9430
9430
|
* @example
|
|
9431
|
-
* // Update or create a
|
|
9432
|
-
* const
|
|
9431
|
+
* // Update or create a Comment
|
|
9432
|
+
* const comment = await prisma.comment.upsert({
|
|
9433
9433
|
* create: {
|
|
9434
|
-
* // ... data to create a
|
|
9434
|
+
* // ... data to create a Comment
|
|
9435
9435
|
* },
|
|
9436
9436
|
* update: {
|
|
9437
9437
|
* // ... in case it already exists, update
|
|
9438
9438
|
* },
|
|
9439
9439
|
* where: {
|
|
9440
|
-
* // ... the filter for the
|
|
9440
|
+
* // ... the filter for the Comment we want to update
|
|
9441
9441
|
* }
|
|
9442
9442
|
* })
|
|
9443
9443
|
*/
|
|
9444
|
-
upsert<T extends
|
|
9444
|
+
upsert<T extends CommentUpsertArgs>(args: SelectSubset<T, CommentUpsertArgs<ExtArgs>>): Prisma__CommentClient<$Result.GetResult<Prisma.$CommentPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
9445
9445
|
|
|
9446
9446
|
|
|
9447
9447
|
/**
|
|
9448
|
-
* Count the number of
|
|
9448
|
+
* Count the number of Comments.
|
|
9449
9449
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
9450
9450
|
* Read more here: https://pris.ly/d/null-undefined
|
|
9451
|
-
* @param {
|
|
9451
|
+
* @param {CommentCountArgs} args - Arguments to filter Comments to count.
|
|
9452
9452
|
* @example
|
|
9453
|
-
* // Count the number of
|
|
9454
|
-
* const count = await prisma.
|
|
9453
|
+
* // Count the number of Comments
|
|
9454
|
+
* const count = await prisma.comment.count({
|
|
9455
9455
|
* where: {
|
|
9456
|
-
* // ... the filter for the
|
|
9456
|
+
* // ... the filter for the Comments we want to count
|
|
9457
9457
|
* }
|
|
9458
9458
|
* })
|
|
9459
9459
|
**/
|
|
9460
|
-
count<T extends
|
|
9461
|
-
args?: Subset<T,
|
|
9460
|
+
count<T extends CommentCountArgs>(
|
|
9461
|
+
args?: Subset<T, CommentCountArgs>,
|
|
9462
9462
|
): Prisma.PrismaPromise<
|
|
9463
9463
|
T extends $Utils.Record<'select', any>
|
|
9464
9464
|
? T['select'] extends true
|
|
9465
9465
|
? number
|
|
9466
|
-
: GetScalarType<T['select'],
|
|
9466
|
+
: GetScalarType<T['select'], CommentCountAggregateOutputType>
|
|
9467
9467
|
: number
|
|
9468
9468
|
>
|
|
9469
9469
|
|
|
9470
9470
|
/**
|
|
9471
|
-
* Allows you to perform aggregations operations on a
|
|
9471
|
+
* Allows you to perform aggregations operations on a Comment.
|
|
9472
9472
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
9473
9473
|
* Read more here: https://pris.ly/d/null-undefined
|
|
9474
|
-
* @param {
|
|
9474
|
+
* @param {CommentAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
9475
9475
|
* @example
|
|
9476
9476
|
* // Ordered by age ascending
|
|
9477
9477
|
* // Where email contains prisma.io
|
|
@@ -9491,13 +9491,13 @@ export namespace Prisma {
|
|
|
9491
9491
|
* take: 10,
|
|
9492
9492
|
* })
|
|
9493
9493
|
**/
|
|
9494
|
-
aggregate<T extends
|
|
9494
|
+
aggregate<T extends CommentAggregateArgs>(args: Subset<T, CommentAggregateArgs>): Prisma.PrismaPromise<GetCommentAggregateType<T>>
|
|
9495
9495
|
|
|
9496
9496
|
/**
|
|
9497
|
-
* Group by
|
|
9497
|
+
* Group by Comment.
|
|
9498
9498
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
9499
9499
|
* Read more here: https://pris.ly/d/null-undefined
|
|
9500
|
-
* @param {
|
|
9500
|
+
* @param {CommentGroupByArgs} args - Group by arguments.
|
|
9501
9501
|
* @example
|
|
9502
9502
|
* // Group by city, order by createdAt, get count
|
|
9503
9503
|
* const result = await prisma.user.groupBy({
|
|
@@ -9512,14 +9512,14 @@ export namespace Prisma {
|
|
|
9512
9512
|
*
|
|
9513
9513
|
**/
|
|
9514
9514
|
groupBy<
|
|
9515
|
-
T extends
|
|
9515
|
+
T extends CommentGroupByArgs,
|
|
9516
9516
|
HasSelectOrTake extends Or<
|
|
9517
9517
|
Extends<'skip', Keys<T>>,
|
|
9518
9518
|
Extends<'take', Keys<T>>
|
|
9519
9519
|
>,
|
|
9520
9520
|
OrderByArg extends True extends HasSelectOrTake
|
|
9521
|
-
? { orderBy:
|
|
9522
|
-
: { orderBy?:
|
|
9521
|
+
? { orderBy: CommentGroupByArgs['orderBy'] }
|
|
9522
|
+
: { orderBy?: CommentGroupByArgs['orderBy'] },
|
|
9523
9523
|
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
9524
9524
|
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
9525
9525
|
ByValid extends Has<ByFields, OrderFields>,
|
|
@@ -9568,23 +9568,23 @@ export namespace Prisma {
|
|
|
9568
9568
|
? never
|
|
9569
9569
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
9570
9570
|
}[OrderFields]
|
|
9571
|
-
>(args: SubsetIntersection<T,
|
|
9571
|
+
>(args: SubsetIntersection<T, CommentGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCommentGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
9572
9572
|
/**
|
|
9573
|
-
* Fields of the
|
|
9573
|
+
* Fields of the Comment model
|
|
9574
9574
|
*/
|
|
9575
|
-
readonly fields:
|
|
9575
|
+
readonly fields: CommentFieldRefs;
|
|
9576
9576
|
}
|
|
9577
9577
|
|
|
9578
9578
|
/**
|
|
9579
|
-
* The delegate class that acts as a "Promise-like" for
|
|
9579
|
+
* The delegate class that acts as a "Promise-like" for Comment.
|
|
9580
9580
|
* Why is this prefixed with `Prisma__`?
|
|
9581
9581
|
* Because we want to prevent naming conflicts as mentioned in
|
|
9582
9582
|
* https://github.com/prisma/prisma-client-js/issues/707
|
|
9583
9583
|
*/
|
|
9584
|
-
export interface
|
|
9584
|
+
export interface Prisma__CommentClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
9585
9585
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
9586
|
-
activity<T extends
|
|
9587
|
-
activitySuggestion<T extends
|
|
9586
|
+
activity<T extends Comment$activityArgs<ExtArgs> = {}>(args?: Subset<T, Comment$activityArgs<ExtArgs>>): Prisma__ActivityClient<$Result.GetResult<Prisma.$ActivityPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
9587
|
+
activitySuggestion<T extends Comment$activitySuggestionArgs<ExtArgs> = {}>(args?: Subset<T, Comment$activitySuggestionArgs<ExtArgs>>): Prisma__ActivitySuggestionClient<$Result.GetResult<Prisma.$ActivitySuggestionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
9588
9588
|
/**
|
|
9589
9589
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
9590
9590
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -9611,415 +9611,415 @@ export namespace Prisma {
|
|
|
9611
9611
|
|
|
9612
9612
|
|
|
9613
9613
|
/**
|
|
9614
|
-
* Fields of the
|
|
9614
|
+
* Fields of the Comment model
|
|
9615
9615
|
*/
|
|
9616
|
-
interface
|
|
9617
|
-
readonly id: FieldRef<"
|
|
9618
|
-
readonly entity_type: FieldRef<"
|
|
9619
|
-
readonly user_id: FieldRef<"
|
|
9620
|
-
readonly content: FieldRef<"
|
|
9621
|
-
readonly created_at: FieldRef<"
|
|
9622
|
-
readonly activityId: FieldRef<"
|
|
9623
|
-
readonly activitySuggestionId: FieldRef<"
|
|
9616
|
+
interface CommentFieldRefs {
|
|
9617
|
+
readonly id: FieldRef<"Comment", 'String'>
|
|
9618
|
+
readonly entity_type: FieldRef<"Comment", 'EntityType'>
|
|
9619
|
+
readonly user_id: FieldRef<"Comment", 'String'>
|
|
9620
|
+
readonly content: FieldRef<"Comment", 'String'>
|
|
9621
|
+
readonly created_at: FieldRef<"Comment", 'DateTime'>
|
|
9622
|
+
readonly activityId: FieldRef<"Comment", 'String'>
|
|
9623
|
+
readonly activitySuggestionId: FieldRef<"Comment", 'String'>
|
|
9624
9624
|
}
|
|
9625
9625
|
|
|
9626
9626
|
|
|
9627
9627
|
// Custom InputTypes
|
|
9628
9628
|
/**
|
|
9629
|
-
*
|
|
9629
|
+
* Comment findUnique
|
|
9630
9630
|
*/
|
|
9631
|
-
export type
|
|
9631
|
+
export type CommentFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9632
9632
|
/**
|
|
9633
|
-
* Select specific fields to fetch from the
|
|
9633
|
+
* Select specific fields to fetch from the Comment
|
|
9634
9634
|
*/
|
|
9635
|
-
select?:
|
|
9635
|
+
select?: CommentSelect<ExtArgs> | null
|
|
9636
9636
|
/**
|
|
9637
|
-
* Omit specific fields from the
|
|
9637
|
+
* Omit specific fields from the Comment
|
|
9638
9638
|
*/
|
|
9639
|
-
omit?:
|
|
9639
|
+
omit?: CommentOmit<ExtArgs> | null
|
|
9640
9640
|
/**
|
|
9641
9641
|
* Choose, which related nodes to fetch as well
|
|
9642
9642
|
*/
|
|
9643
|
-
include?:
|
|
9643
|
+
include?: CommentInclude<ExtArgs> | null
|
|
9644
9644
|
/**
|
|
9645
|
-
* Filter, which
|
|
9645
|
+
* Filter, which Comment to fetch.
|
|
9646
9646
|
*/
|
|
9647
|
-
where:
|
|
9647
|
+
where: CommentWhereUniqueInput
|
|
9648
9648
|
}
|
|
9649
9649
|
|
|
9650
9650
|
/**
|
|
9651
|
-
*
|
|
9651
|
+
* Comment findUniqueOrThrow
|
|
9652
9652
|
*/
|
|
9653
|
-
export type
|
|
9653
|
+
export type CommentFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9654
9654
|
/**
|
|
9655
|
-
* Select specific fields to fetch from the
|
|
9655
|
+
* Select specific fields to fetch from the Comment
|
|
9656
9656
|
*/
|
|
9657
|
-
select?:
|
|
9657
|
+
select?: CommentSelect<ExtArgs> | null
|
|
9658
9658
|
/**
|
|
9659
|
-
* Omit specific fields from the
|
|
9659
|
+
* Omit specific fields from the Comment
|
|
9660
9660
|
*/
|
|
9661
|
-
omit?:
|
|
9661
|
+
omit?: CommentOmit<ExtArgs> | null
|
|
9662
9662
|
/**
|
|
9663
9663
|
* Choose, which related nodes to fetch as well
|
|
9664
9664
|
*/
|
|
9665
|
-
include?:
|
|
9665
|
+
include?: CommentInclude<ExtArgs> | null
|
|
9666
9666
|
/**
|
|
9667
|
-
* Filter, which
|
|
9667
|
+
* Filter, which Comment to fetch.
|
|
9668
9668
|
*/
|
|
9669
|
-
where:
|
|
9669
|
+
where: CommentWhereUniqueInput
|
|
9670
9670
|
}
|
|
9671
9671
|
|
|
9672
9672
|
/**
|
|
9673
|
-
*
|
|
9673
|
+
* Comment findFirst
|
|
9674
9674
|
*/
|
|
9675
|
-
export type
|
|
9675
|
+
export type CommentFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9676
9676
|
/**
|
|
9677
|
-
* Select specific fields to fetch from the
|
|
9677
|
+
* Select specific fields to fetch from the Comment
|
|
9678
9678
|
*/
|
|
9679
|
-
select?:
|
|
9679
|
+
select?: CommentSelect<ExtArgs> | null
|
|
9680
9680
|
/**
|
|
9681
|
-
* Omit specific fields from the
|
|
9681
|
+
* Omit specific fields from the Comment
|
|
9682
9682
|
*/
|
|
9683
|
-
omit?:
|
|
9683
|
+
omit?: CommentOmit<ExtArgs> | null
|
|
9684
9684
|
/**
|
|
9685
9685
|
* Choose, which related nodes to fetch as well
|
|
9686
9686
|
*/
|
|
9687
|
-
include?:
|
|
9687
|
+
include?: CommentInclude<ExtArgs> | null
|
|
9688
9688
|
/**
|
|
9689
|
-
* Filter, which
|
|
9689
|
+
* Filter, which Comment to fetch.
|
|
9690
9690
|
*/
|
|
9691
|
-
where?:
|
|
9691
|
+
where?: CommentWhereInput
|
|
9692
9692
|
/**
|
|
9693
9693
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
9694
9694
|
*
|
|
9695
|
-
* Determine the order of
|
|
9695
|
+
* Determine the order of Comments to fetch.
|
|
9696
9696
|
*/
|
|
9697
|
-
orderBy?:
|
|
9697
|
+
orderBy?: CommentOrderByWithRelationInput | CommentOrderByWithRelationInput[]
|
|
9698
9698
|
/**
|
|
9699
9699
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
9700
9700
|
*
|
|
9701
|
-
* Sets the position for searching for
|
|
9701
|
+
* Sets the position for searching for Comments.
|
|
9702
9702
|
*/
|
|
9703
|
-
cursor?:
|
|
9703
|
+
cursor?: CommentWhereUniqueInput
|
|
9704
9704
|
/**
|
|
9705
9705
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
9706
9706
|
*
|
|
9707
|
-
* Take `±n`
|
|
9707
|
+
* Take `±n` Comments from the position of the cursor.
|
|
9708
9708
|
*/
|
|
9709
9709
|
take?: number
|
|
9710
9710
|
/**
|
|
9711
9711
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
9712
9712
|
*
|
|
9713
|
-
* Skip the first `n`
|
|
9713
|
+
* Skip the first `n` Comments.
|
|
9714
9714
|
*/
|
|
9715
9715
|
skip?: number
|
|
9716
9716
|
/**
|
|
9717
9717
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
9718
9718
|
*
|
|
9719
|
-
* Filter by unique combinations of
|
|
9719
|
+
* Filter by unique combinations of Comments.
|
|
9720
9720
|
*/
|
|
9721
|
-
distinct?:
|
|
9721
|
+
distinct?: CommentScalarFieldEnum | CommentScalarFieldEnum[]
|
|
9722
9722
|
}
|
|
9723
9723
|
|
|
9724
9724
|
/**
|
|
9725
|
-
*
|
|
9725
|
+
* Comment findFirstOrThrow
|
|
9726
9726
|
*/
|
|
9727
|
-
export type
|
|
9727
|
+
export type CommentFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9728
9728
|
/**
|
|
9729
|
-
* Select specific fields to fetch from the
|
|
9729
|
+
* Select specific fields to fetch from the Comment
|
|
9730
9730
|
*/
|
|
9731
|
-
select?:
|
|
9731
|
+
select?: CommentSelect<ExtArgs> | null
|
|
9732
9732
|
/**
|
|
9733
|
-
* Omit specific fields from the
|
|
9733
|
+
* Omit specific fields from the Comment
|
|
9734
9734
|
*/
|
|
9735
|
-
omit?:
|
|
9735
|
+
omit?: CommentOmit<ExtArgs> | null
|
|
9736
9736
|
/**
|
|
9737
9737
|
* Choose, which related nodes to fetch as well
|
|
9738
9738
|
*/
|
|
9739
|
-
include?:
|
|
9739
|
+
include?: CommentInclude<ExtArgs> | null
|
|
9740
9740
|
/**
|
|
9741
|
-
* Filter, which
|
|
9741
|
+
* Filter, which Comment to fetch.
|
|
9742
9742
|
*/
|
|
9743
|
-
where?:
|
|
9743
|
+
where?: CommentWhereInput
|
|
9744
9744
|
/**
|
|
9745
9745
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
9746
9746
|
*
|
|
9747
|
-
* Determine the order of
|
|
9747
|
+
* Determine the order of Comments to fetch.
|
|
9748
9748
|
*/
|
|
9749
|
-
orderBy?:
|
|
9749
|
+
orderBy?: CommentOrderByWithRelationInput | CommentOrderByWithRelationInput[]
|
|
9750
9750
|
/**
|
|
9751
9751
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
9752
9752
|
*
|
|
9753
|
-
* Sets the position for searching for
|
|
9753
|
+
* Sets the position for searching for Comments.
|
|
9754
9754
|
*/
|
|
9755
|
-
cursor?:
|
|
9755
|
+
cursor?: CommentWhereUniqueInput
|
|
9756
9756
|
/**
|
|
9757
9757
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
9758
9758
|
*
|
|
9759
|
-
* Take `±n`
|
|
9759
|
+
* Take `±n` Comments from the position of the cursor.
|
|
9760
9760
|
*/
|
|
9761
9761
|
take?: number
|
|
9762
9762
|
/**
|
|
9763
9763
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
9764
9764
|
*
|
|
9765
|
-
* Skip the first `n`
|
|
9765
|
+
* Skip the first `n` Comments.
|
|
9766
9766
|
*/
|
|
9767
9767
|
skip?: number
|
|
9768
9768
|
/**
|
|
9769
9769
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
9770
9770
|
*
|
|
9771
|
-
* Filter by unique combinations of
|
|
9771
|
+
* Filter by unique combinations of Comments.
|
|
9772
9772
|
*/
|
|
9773
|
-
distinct?:
|
|
9773
|
+
distinct?: CommentScalarFieldEnum | CommentScalarFieldEnum[]
|
|
9774
9774
|
}
|
|
9775
9775
|
|
|
9776
9776
|
/**
|
|
9777
|
-
*
|
|
9777
|
+
* Comment findMany
|
|
9778
9778
|
*/
|
|
9779
|
-
export type
|
|
9779
|
+
export type CommentFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9780
9780
|
/**
|
|
9781
|
-
* Select specific fields to fetch from the
|
|
9781
|
+
* Select specific fields to fetch from the Comment
|
|
9782
9782
|
*/
|
|
9783
|
-
select?:
|
|
9783
|
+
select?: CommentSelect<ExtArgs> | null
|
|
9784
9784
|
/**
|
|
9785
|
-
* Omit specific fields from the
|
|
9785
|
+
* Omit specific fields from the Comment
|
|
9786
9786
|
*/
|
|
9787
|
-
omit?:
|
|
9787
|
+
omit?: CommentOmit<ExtArgs> | null
|
|
9788
9788
|
/**
|
|
9789
9789
|
* Choose, which related nodes to fetch as well
|
|
9790
9790
|
*/
|
|
9791
|
-
include?:
|
|
9791
|
+
include?: CommentInclude<ExtArgs> | null
|
|
9792
9792
|
/**
|
|
9793
|
-
* Filter, which
|
|
9793
|
+
* Filter, which Comments to fetch.
|
|
9794
9794
|
*/
|
|
9795
|
-
where?:
|
|
9795
|
+
where?: CommentWhereInput
|
|
9796
9796
|
/**
|
|
9797
9797
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
9798
9798
|
*
|
|
9799
|
-
* Determine the order of
|
|
9799
|
+
* Determine the order of Comments to fetch.
|
|
9800
9800
|
*/
|
|
9801
|
-
orderBy?:
|
|
9801
|
+
orderBy?: CommentOrderByWithRelationInput | CommentOrderByWithRelationInput[]
|
|
9802
9802
|
/**
|
|
9803
9803
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
9804
9804
|
*
|
|
9805
|
-
* Sets the position for listing
|
|
9805
|
+
* Sets the position for listing Comments.
|
|
9806
9806
|
*/
|
|
9807
|
-
cursor?:
|
|
9807
|
+
cursor?: CommentWhereUniqueInput
|
|
9808
9808
|
/**
|
|
9809
9809
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
9810
9810
|
*
|
|
9811
|
-
* Take `±n`
|
|
9811
|
+
* Take `±n` Comments from the position of the cursor.
|
|
9812
9812
|
*/
|
|
9813
9813
|
take?: number
|
|
9814
9814
|
/**
|
|
9815
9815
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
9816
9816
|
*
|
|
9817
|
-
* Skip the first `n`
|
|
9817
|
+
* Skip the first `n` Comments.
|
|
9818
9818
|
*/
|
|
9819
9819
|
skip?: number
|
|
9820
|
-
distinct?:
|
|
9820
|
+
distinct?: CommentScalarFieldEnum | CommentScalarFieldEnum[]
|
|
9821
9821
|
}
|
|
9822
9822
|
|
|
9823
9823
|
/**
|
|
9824
|
-
*
|
|
9824
|
+
* Comment create
|
|
9825
9825
|
*/
|
|
9826
|
-
export type
|
|
9826
|
+
export type CommentCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9827
9827
|
/**
|
|
9828
|
-
* Select specific fields to fetch from the
|
|
9828
|
+
* Select specific fields to fetch from the Comment
|
|
9829
9829
|
*/
|
|
9830
|
-
select?:
|
|
9830
|
+
select?: CommentSelect<ExtArgs> | null
|
|
9831
9831
|
/**
|
|
9832
|
-
* Omit specific fields from the
|
|
9832
|
+
* Omit specific fields from the Comment
|
|
9833
9833
|
*/
|
|
9834
|
-
omit?:
|
|
9834
|
+
omit?: CommentOmit<ExtArgs> | null
|
|
9835
9835
|
/**
|
|
9836
9836
|
* Choose, which related nodes to fetch as well
|
|
9837
9837
|
*/
|
|
9838
|
-
include?:
|
|
9838
|
+
include?: CommentInclude<ExtArgs> | null
|
|
9839
9839
|
/**
|
|
9840
|
-
* The data needed to create a
|
|
9840
|
+
* The data needed to create a Comment.
|
|
9841
9841
|
*/
|
|
9842
|
-
data: XOR<
|
|
9842
|
+
data: XOR<CommentCreateInput, CommentUncheckedCreateInput>
|
|
9843
9843
|
}
|
|
9844
9844
|
|
|
9845
9845
|
/**
|
|
9846
|
-
*
|
|
9846
|
+
* Comment createMany
|
|
9847
9847
|
*/
|
|
9848
|
-
export type
|
|
9848
|
+
export type CommentCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9849
9849
|
/**
|
|
9850
|
-
* The data used to create many
|
|
9850
|
+
* The data used to create many Comments.
|
|
9851
9851
|
*/
|
|
9852
|
-
data:
|
|
9852
|
+
data: CommentCreateManyInput | CommentCreateManyInput[]
|
|
9853
9853
|
skipDuplicates?: boolean
|
|
9854
9854
|
}
|
|
9855
9855
|
|
|
9856
9856
|
/**
|
|
9857
|
-
*
|
|
9857
|
+
* Comment createManyAndReturn
|
|
9858
9858
|
*/
|
|
9859
|
-
export type
|
|
9859
|
+
export type CommentCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9860
9860
|
/**
|
|
9861
|
-
* Select specific fields to fetch from the
|
|
9861
|
+
* Select specific fields to fetch from the Comment
|
|
9862
9862
|
*/
|
|
9863
|
-
select?:
|
|
9863
|
+
select?: CommentSelectCreateManyAndReturn<ExtArgs> | null
|
|
9864
9864
|
/**
|
|
9865
|
-
* Omit specific fields from the
|
|
9865
|
+
* Omit specific fields from the Comment
|
|
9866
9866
|
*/
|
|
9867
|
-
omit?:
|
|
9867
|
+
omit?: CommentOmit<ExtArgs> | null
|
|
9868
9868
|
/**
|
|
9869
|
-
* The data used to create many
|
|
9869
|
+
* The data used to create many Comments.
|
|
9870
9870
|
*/
|
|
9871
|
-
data:
|
|
9871
|
+
data: CommentCreateManyInput | CommentCreateManyInput[]
|
|
9872
9872
|
skipDuplicates?: boolean
|
|
9873
9873
|
/**
|
|
9874
9874
|
* Choose, which related nodes to fetch as well
|
|
9875
9875
|
*/
|
|
9876
|
-
include?:
|
|
9876
|
+
include?: CommentIncludeCreateManyAndReturn<ExtArgs> | null
|
|
9877
9877
|
}
|
|
9878
9878
|
|
|
9879
9879
|
/**
|
|
9880
|
-
*
|
|
9880
|
+
* Comment update
|
|
9881
9881
|
*/
|
|
9882
|
-
export type
|
|
9882
|
+
export type CommentUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9883
9883
|
/**
|
|
9884
|
-
* Select specific fields to fetch from the
|
|
9884
|
+
* Select specific fields to fetch from the Comment
|
|
9885
9885
|
*/
|
|
9886
|
-
select?:
|
|
9886
|
+
select?: CommentSelect<ExtArgs> | null
|
|
9887
9887
|
/**
|
|
9888
|
-
* Omit specific fields from the
|
|
9888
|
+
* Omit specific fields from the Comment
|
|
9889
9889
|
*/
|
|
9890
|
-
omit?:
|
|
9890
|
+
omit?: CommentOmit<ExtArgs> | null
|
|
9891
9891
|
/**
|
|
9892
9892
|
* Choose, which related nodes to fetch as well
|
|
9893
9893
|
*/
|
|
9894
|
-
include?:
|
|
9894
|
+
include?: CommentInclude<ExtArgs> | null
|
|
9895
9895
|
/**
|
|
9896
|
-
* The data needed to update a
|
|
9896
|
+
* The data needed to update a Comment.
|
|
9897
9897
|
*/
|
|
9898
|
-
data: XOR<
|
|
9898
|
+
data: XOR<CommentUpdateInput, CommentUncheckedUpdateInput>
|
|
9899
9899
|
/**
|
|
9900
|
-
* Choose, which
|
|
9900
|
+
* Choose, which Comment to update.
|
|
9901
9901
|
*/
|
|
9902
|
-
where:
|
|
9902
|
+
where: CommentWhereUniqueInput
|
|
9903
9903
|
}
|
|
9904
9904
|
|
|
9905
9905
|
/**
|
|
9906
|
-
*
|
|
9906
|
+
* Comment updateMany
|
|
9907
9907
|
*/
|
|
9908
|
-
export type
|
|
9908
|
+
export type CommentUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9909
9909
|
/**
|
|
9910
|
-
* The data used to update
|
|
9910
|
+
* The data used to update Comments.
|
|
9911
9911
|
*/
|
|
9912
|
-
data: XOR<
|
|
9912
|
+
data: XOR<CommentUpdateManyMutationInput, CommentUncheckedUpdateManyInput>
|
|
9913
9913
|
/**
|
|
9914
|
-
* Filter which
|
|
9914
|
+
* Filter which Comments to update
|
|
9915
9915
|
*/
|
|
9916
|
-
where?:
|
|
9916
|
+
where?: CommentWhereInput
|
|
9917
9917
|
/**
|
|
9918
|
-
* Limit how many
|
|
9918
|
+
* Limit how many Comments to update.
|
|
9919
9919
|
*/
|
|
9920
9920
|
limit?: number
|
|
9921
9921
|
}
|
|
9922
9922
|
|
|
9923
9923
|
/**
|
|
9924
|
-
*
|
|
9924
|
+
* Comment updateManyAndReturn
|
|
9925
9925
|
*/
|
|
9926
|
-
export type
|
|
9926
|
+
export type CommentUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9927
9927
|
/**
|
|
9928
|
-
* Select specific fields to fetch from the
|
|
9928
|
+
* Select specific fields to fetch from the Comment
|
|
9929
9929
|
*/
|
|
9930
|
-
select?:
|
|
9930
|
+
select?: CommentSelectUpdateManyAndReturn<ExtArgs> | null
|
|
9931
9931
|
/**
|
|
9932
|
-
* Omit specific fields from the
|
|
9932
|
+
* Omit specific fields from the Comment
|
|
9933
9933
|
*/
|
|
9934
|
-
omit?:
|
|
9934
|
+
omit?: CommentOmit<ExtArgs> | null
|
|
9935
9935
|
/**
|
|
9936
|
-
* The data used to update
|
|
9936
|
+
* The data used to update Comments.
|
|
9937
9937
|
*/
|
|
9938
|
-
data: XOR<
|
|
9938
|
+
data: XOR<CommentUpdateManyMutationInput, CommentUncheckedUpdateManyInput>
|
|
9939
9939
|
/**
|
|
9940
|
-
* Filter which
|
|
9940
|
+
* Filter which Comments to update
|
|
9941
9941
|
*/
|
|
9942
|
-
where?:
|
|
9942
|
+
where?: CommentWhereInput
|
|
9943
9943
|
/**
|
|
9944
|
-
* Limit how many
|
|
9944
|
+
* Limit how many Comments to update.
|
|
9945
9945
|
*/
|
|
9946
9946
|
limit?: number
|
|
9947
9947
|
/**
|
|
9948
9948
|
* Choose, which related nodes to fetch as well
|
|
9949
9949
|
*/
|
|
9950
|
-
include?:
|
|
9950
|
+
include?: CommentIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
9951
9951
|
}
|
|
9952
9952
|
|
|
9953
9953
|
/**
|
|
9954
|
-
*
|
|
9954
|
+
* Comment upsert
|
|
9955
9955
|
*/
|
|
9956
|
-
export type
|
|
9956
|
+
export type CommentUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9957
9957
|
/**
|
|
9958
|
-
* Select specific fields to fetch from the
|
|
9958
|
+
* Select specific fields to fetch from the Comment
|
|
9959
9959
|
*/
|
|
9960
|
-
select?:
|
|
9960
|
+
select?: CommentSelect<ExtArgs> | null
|
|
9961
9961
|
/**
|
|
9962
|
-
* Omit specific fields from the
|
|
9962
|
+
* Omit specific fields from the Comment
|
|
9963
9963
|
*/
|
|
9964
|
-
omit?:
|
|
9964
|
+
omit?: CommentOmit<ExtArgs> | null
|
|
9965
9965
|
/**
|
|
9966
9966
|
* Choose, which related nodes to fetch as well
|
|
9967
9967
|
*/
|
|
9968
|
-
include?:
|
|
9968
|
+
include?: CommentInclude<ExtArgs> | null
|
|
9969
9969
|
/**
|
|
9970
|
-
* The filter to search for the
|
|
9970
|
+
* The filter to search for the Comment to update in case it exists.
|
|
9971
9971
|
*/
|
|
9972
|
-
where:
|
|
9972
|
+
where: CommentWhereUniqueInput
|
|
9973
9973
|
/**
|
|
9974
|
-
* In case the
|
|
9974
|
+
* In case the Comment found by the `where` argument doesn't exist, create a new Comment with this data.
|
|
9975
9975
|
*/
|
|
9976
|
-
create: XOR<
|
|
9976
|
+
create: XOR<CommentCreateInput, CommentUncheckedCreateInput>
|
|
9977
9977
|
/**
|
|
9978
|
-
* In case the
|
|
9978
|
+
* In case the Comment was found with the provided `where` argument, update it with this data.
|
|
9979
9979
|
*/
|
|
9980
|
-
update: XOR<
|
|
9980
|
+
update: XOR<CommentUpdateInput, CommentUncheckedUpdateInput>
|
|
9981
9981
|
}
|
|
9982
9982
|
|
|
9983
9983
|
/**
|
|
9984
|
-
*
|
|
9984
|
+
* Comment delete
|
|
9985
9985
|
*/
|
|
9986
|
-
export type
|
|
9986
|
+
export type CommentDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9987
9987
|
/**
|
|
9988
|
-
* Select specific fields to fetch from the
|
|
9988
|
+
* Select specific fields to fetch from the Comment
|
|
9989
9989
|
*/
|
|
9990
|
-
select?:
|
|
9990
|
+
select?: CommentSelect<ExtArgs> | null
|
|
9991
9991
|
/**
|
|
9992
|
-
* Omit specific fields from the
|
|
9992
|
+
* Omit specific fields from the Comment
|
|
9993
9993
|
*/
|
|
9994
|
-
omit?:
|
|
9994
|
+
omit?: CommentOmit<ExtArgs> | null
|
|
9995
9995
|
/**
|
|
9996
9996
|
* Choose, which related nodes to fetch as well
|
|
9997
9997
|
*/
|
|
9998
|
-
include?:
|
|
9998
|
+
include?: CommentInclude<ExtArgs> | null
|
|
9999
9999
|
/**
|
|
10000
|
-
* Filter which
|
|
10000
|
+
* Filter which Comment to delete.
|
|
10001
10001
|
*/
|
|
10002
|
-
where:
|
|
10002
|
+
where: CommentWhereUniqueInput
|
|
10003
10003
|
}
|
|
10004
10004
|
|
|
10005
10005
|
/**
|
|
10006
|
-
*
|
|
10006
|
+
* Comment deleteMany
|
|
10007
10007
|
*/
|
|
10008
|
-
export type
|
|
10008
|
+
export type CommentDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
10009
10009
|
/**
|
|
10010
|
-
* Filter which
|
|
10010
|
+
* Filter which Comments to delete
|
|
10011
10011
|
*/
|
|
10012
|
-
where?:
|
|
10012
|
+
where?: CommentWhereInput
|
|
10013
10013
|
/**
|
|
10014
|
-
* Limit how many
|
|
10014
|
+
* Limit how many Comments to delete.
|
|
10015
10015
|
*/
|
|
10016
10016
|
limit?: number
|
|
10017
10017
|
}
|
|
10018
10018
|
|
|
10019
10019
|
/**
|
|
10020
|
-
*
|
|
10020
|
+
* Comment.activity
|
|
10021
10021
|
*/
|
|
10022
|
-
export type
|
|
10022
|
+
export type Comment$activityArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
10023
10023
|
/**
|
|
10024
10024
|
* Select specific fields to fetch from the Activity
|
|
10025
10025
|
*/
|
|
@@ -10036,9 +10036,9 @@ export namespace Prisma {
|
|
|
10036
10036
|
}
|
|
10037
10037
|
|
|
10038
10038
|
/**
|
|
10039
|
-
*
|
|
10039
|
+
* Comment.activitySuggestion
|
|
10040
10040
|
*/
|
|
10041
|
-
export type
|
|
10041
|
+
export type Comment$activitySuggestionArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
10042
10042
|
/**
|
|
10043
10043
|
* Select specific fields to fetch from the ActivitySuggestion
|
|
10044
10044
|
*/
|
|
@@ -10055,21 +10055,21 @@ export namespace Prisma {
|
|
|
10055
10055
|
}
|
|
10056
10056
|
|
|
10057
10057
|
/**
|
|
10058
|
-
*
|
|
10058
|
+
* Comment without action
|
|
10059
10059
|
*/
|
|
10060
|
-
export type
|
|
10060
|
+
export type CommentDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
10061
10061
|
/**
|
|
10062
|
-
* Select specific fields to fetch from the
|
|
10062
|
+
* Select specific fields to fetch from the Comment
|
|
10063
10063
|
*/
|
|
10064
|
-
select?:
|
|
10064
|
+
select?: CommentSelect<ExtArgs> | null
|
|
10065
10065
|
/**
|
|
10066
|
-
* Omit specific fields from the
|
|
10066
|
+
* Omit specific fields from the Comment
|
|
10067
10067
|
*/
|
|
10068
|
-
omit?:
|
|
10068
|
+
omit?: CommentOmit<ExtArgs> | null
|
|
10069
10069
|
/**
|
|
10070
10070
|
* Choose, which related nodes to fetch as well
|
|
10071
10071
|
*/
|
|
10072
|
-
include?:
|
|
10072
|
+
include?: CommentInclude<ExtArgs> | null
|
|
10073
10073
|
}
|
|
10074
10074
|
|
|
10075
10075
|
|
|
@@ -11278,7 +11278,6 @@ export namespace Prisma {
|
|
|
11278
11278
|
user_id: string | null
|
|
11279
11279
|
trip_id: string | null
|
|
11280
11280
|
type: $Enums.NotificationType | null
|
|
11281
|
-
payload: string | null
|
|
11282
11281
|
is_read: boolean | null
|
|
11283
11282
|
created_at: Date | null
|
|
11284
11283
|
}
|
|
@@ -11288,7 +11287,6 @@ export namespace Prisma {
|
|
|
11288
11287
|
user_id: string | null
|
|
11289
11288
|
trip_id: string | null
|
|
11290
11289
|
type: $Enums.NotificationType | null
|
|
11291
|
-
payload: string | null
|
|
11292
11290
|
is_read: boolean | null
|
|
11293
11291
|
created_at: Date | null
|
|
11294
11292
|
}
|
|
@@ -11310,7 +11308,6 @@ export namespace Prisma {
|
|
|
11310
11308
|
user_id?: true
|
|
11311
11309
|
trip_id?: true
|
|
11312
11310
|
type?: true
|
|
11313
|
-
payload?: true
|
|
11314
11311
|
is_read?: true
|
|
11315
11312
|
created_at?: true
|
|
11316
11313
|
}
|
|
@@ -11320,7 +11317,6 @@ export namespace Prisma {
|
|
|
11320
11317
|
user_id?: true
|
|
11321
11318
|
trip_id?: true
|
|
11322
11319
|
type?: true
|
|
11323
|
-
payload?: true
|
|
11324
11320
|
is_read?: true
|
|
11325
11321
|
created_at?: true
|
|
11326
11322
|
}
|
|
@@ -11413,7 +11409,7 @@ export namespace Prisma {
|
|
|
11413
11409
|
user_id: string
|
|
11414
11410
|
trip_id: string
|
|
11415
11411
|
type: $Enums.NotificationType
|
|
11416
|
-
payload:
|
|
11412
|
+
payload: JsonValue
|
|
11417
11413
|
is_read: boolean
|
|
11418
11414
|
created_at: Date
|
|
11419
11415
|
_count: NotificationCountAggregateOutputType | null
|
|
@@ -11499,7 +11495,7 @@ export namespace Prisma {
|
|
|
11499
11495
|
user_id: string
|
|
11500
11496
|
trip_id: string
|
|
11501
11497
|
type: $Enums.NotificationType
|
|
11502
|
-
payload:
|
|
11498
|
+
payload: Prisma.JsonValue
|
|
11503
11499
|
is_read: boolean
|
|
11504
11500
|
created_at: Date
|
|
11505
11501
|
}, ExtArgs["result"]["notification"]>
|
|
@@ -11930,7 +11926,7 @@ export namespace Prisma {
|
|
|
11930
11926
|
readonly user_id: FieldRef<"Notification", 'String'>
|
|
11931
11927
|
readonly trip_id: FieldRef<"Notification", 'String'>
|
|
11932
11928
|
readonly type: FieldRef<"Notification", 'NotificationType'>
|
|
11933
|
-
readonly payload: FieldRef<"Notification", '
|
|
11929
|
+
readonly payload: FieldRef<"Notification", 'Json'>
|
|
11934
11930
|
readonly is_read: FieldRef<"Notification", 'Boolean'>
|
|
11935
11931
|
readonly created_at: FieldRef<"Notification", 'DateTime'>
|
|
11936
11932
|
}
|
|
@@ -13492,7 +13488,7 @@ export namespace Prisma {
|
|
|
13492
13488
|
export type VoteScalarFieldEnum = (typeof VoteScalarFieldEnum)[keyof typeof VoteScalarFieldEnum]
|
|
13493
13489
|
|
|
13494
13490
|
|
|
13495
|
-
export const
|
|
13491
|
+
export const CommentScalarFieldEnum: {
|
|
13496
13492
|
id: 'id',
|
|
13497
13493
|
entity_type: 'entity_type',
|
|
13498
13494
|
user_id: 'user_id',
|
|
@@ -13502,7 +13498,7 @@ export namespace Prisma {
|
|
|
13502
13498
|
activitySuggestionId: 'activitySuggestionId'
|
|
13503
13499
|
};
|
|
13504
13500
|
|
|
13505
|
-
export type
|
|
13501
|
+
export type CommentScalarFieldEnum = (typeof CommentScalarFieldEnum)[keyof typeof CommentScalarFieldEnum]
|
|
13506
13502
|
|
|
13507
13503
|
|
|
13508
13504
|
export const DocumentScalarFieldEnum: {
|
|
@@ -13558,6 +13554,13 @@ export namespace Prisma {
|
|
|
13558
13554
|
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]
|
|
13559
13555
|
|
|
13560
13556
|
|
|
13557
|
+
export const JsonNullValueInput: {
|
|
13558
|
+
JsonNull: typeof JsonNull
|
|
13559
|
+
};
|
|
13560
|
+
|
|
13561
|
+
export type JsonNullValueInput = (typeof JsonNullValueInput)[keyof typeof JsonNullValueInput]
|
|
13562
|
+
|
|
13563
|
+
|
|
13561
13564
|
export const QueryMode: {
|
|
13562
13565
|
default: 'default',
|
|
13563
13566
|
insensitive: 'insensitive'
|
|
@@ -13574,6 +13577,15 @@ export namespace Prisma {
|
|
|
13574
13577
|
export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]
|
|
13575
13578
|
|
|
13576
13579
|
|
|
13580
|
+
export const JsonNullValueFilter: {
|
|
13581
|
+
DbNull: typeof DbNull,
|
|
13582
|
+
JsonNull: typeof JsonNull,
|
|
13583
|
+
AnyNull: typeof AnyNull
|
|
13584
|
+
};
|
|
13585
|
+
|
|
13586
|
+
export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter]
|
|
13587
|
+
|
|
13588
|
+
|
|
13577
13589
|
/**
|
|
13578
13590
|
* Field references
|
|
13579
13591
|
*/
|
|
@@ -13766,6 +13778,20 @@ export namespace Prisma {
|
|
|
13766
13778
|
*/
|
|
13767
13779
|
export type ListEnumNotificationTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'NotificationType[]'>
|
|
13768
13780
|
|
|
13781
|
+
|
|
13782
|
+
|
|
13783
|
+
/**
|
|
13784
|
+
* Reference to a field of type 'Json'
|
|
13785
|
+
*/
|
|
13786
|
+
export type JsonFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Json'>
|
|
13787
|
+
|
|
13788
|
+
|
|
13789
|
+
|
|
13790
|
+
/**
|
|
13791
|
+
* Reference to a field of type 'QueryMode'
|
|
13792
|
+
*/
|
|
13793
|
+
export type EnumQueryModeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'QueryMode'>
|
|
13794
|
+
|
|
13769
13795
|
/**
|
|
13770
13796
|
* Deep Input Types
|
|
13771
13797
|
*/
|
|
@@ -14016,7 +14042,7 @@ export namespace Prisma {
|
|
|
14016
14042
|
updated_at?: DateTimeFilter<"Activity"> | Date | string
|
|
14017
14043
|
day?: XOR<DayScalarRelationFilter, DayWhereInput>
|
|
14018
14044
|
documents?: DocumentListRelationFilter
|
|
14019
|
-
comments?:
|
|
14045
|
+
comments?: CommentListRelationFilter
|
|
14020
14046
|
}
|
|
14021
14047
|
|
|
14022
14048
|
export type ActivityOrderByWithRelationInput = {
|
|
@@ -14036,7 +14062,7 @@ export namespace Prisma {
|
|
|
14036
14062
|
updated_at?: SortOrder
|
|
14037
14063
|
day?: DayOrderByWithRelationInput
|
|
14038
14064
|
documents?: DocumentOrderByRelationAggregateInput
|
|
14039
|
-
comments?:
|
|
14065
|
+
comments?: CommentOrderByRelationAggregateInput
|
|
14040
14066
|
}
|
|
14041
14067
|
|
|
14042
14068
|
export type ActivityWhereUniqueInput = Prisma.AtLeast<{
|
|
@@ -14059,7 +14085,7 @@ export namespace Prisma {
|
|
|
14059
14085
|
updated_at?: DateTimeFilter<"Activity"> | Date | string
|
|
14060
14086
|
day?: XOR<DayScalarRelationFilter, DayWhereInput>
|
|
14061
14087
|
documents?: DocumentListRelationFilter
|
|
14062
|
-
comments?:
|
|
14088
|
+
comments?: CommentListRelationFilter
|
|
14063
14089
|
}, "id">
|
|
14064
14090
|
|
|
14065
14091
|
export type ActivityOrderByWithAggregationInput = {
|
|
@@ -14116,7 +14142,7 @@ export namespace Prisma {
|
|
|
14116
14142
|
status?: EnumActivitySuggestionStatusFilter<"ActivitySuggestion"> | $Enums.ActivitySuggestionStatus
|
|
14117
14143
|
trip?: XOR<TripScalarRelationFilter, TripWhereInput>
|
|
14118
14144
|
votes?: VoteListRelationFilter
|
|
14119
|
-
|
|
14145
|
+
comments?: CommentListRelationFilter
|
|
14120
14146
|
}
|
|
14121
14147
|
|
|
14122
14148
|
export type ActivitySuggestionOrderByWithRelationInput = {
|
|
@@ -14128,7 +14154,7 @@ export namespace Prisma {
|
|
|
14128
14154
|
status?: SortOrder
|
|
14129
14155
|
trip?: TripOrderByWithRelationInput
|
|
14130
14156
|
votes?: VoteOrderByRelationAggregateInput
|
|
14131
|
-
|
|
14157
|
+
comments?: CommentOrderByRelationAggregateInput
|
|
14132
14158
|
}
|
|
14133
14159
|
|
|
14134
14160
|
export type ActivitySuggestionWhereUniqueInput = Prisma.AtLeast<{
|
|
@@ -14143,7 +14169,7 @@ export namespace Prisma {
|
|
|
14143
14169
|
status?: EnumActivitySuggestionStatusFilter<"ActivitySuggestion"> | $Enums.ActivitySuggestionStatus
|
|
14144
14170
|
trip?: XOR<TripScalarRelationFilter, TripWhereInput>
|
|
14145
14171
|
votes?: VoteListRelationFilter
|
|
14146
|
-
|
|
14172
|
+
comments?: CommentListRelationFilter
|
|
14147
14173
|
}, "id">
|
|
14148
14174
|
|
|
14149
14175
|
export type ActivitySuggestionOrderByWithAggregationInput = {
|
|
@@ -14225,22 +14251,22 @@ export namespace Prisma {
|
|
|
14225
14251
|
voted_at?: DateTimeWithAggregatesFilter<"Vote"> | Date | string
|
|
14226
14252
|
}
|
|
14227
14253
|
|
|
14228
|
-
export type
|
|
14229
|
-
AND?:
|
|
14230
|
-
OR?:
|
|
14231
|
-
NOT?:
|
|
14232
|
-
id?: StringFilter<"
|
|
14233
|
-
entity_type?: EnumEntityTypeFilter<"
|
|
14234
|
-
user_id?: StringFilter<"
|
|
14235
|
-
content?: StringFilter<"
|
|
14236
|
-
created_at?: DateTimeFilter<"
|
|
14237
|
-
activityId?: StringNullableFilter<"
|
|
14238
|
-
activitySuggestionId?: StringNullableFilter<"
|
|
14254
|
+
export type CommentWhereInput = {
|
|
14255
|
+
AND?: CommentWhereInput | CommentWhereInput[]
|
|
14256
|
+
OR?: CommentWhereInput[]
|
|
14257
|
+
NOT?: CommentWhereInput | CommentWhereInput[]
|
|
14258
|
+
id?: StringFilter<"Comment"> | string
|
|
14259
|
+
entity_type?: EnumEntityTypeFilter<"Comment"> | $Enums.EntityType
|
|
14260
|
+
user_id?: StringFilter<"Comment"> | string
|
|
14261
|
+
content?: StringFilter<"Comment"> | string
|
|
14262
|
+
created_at?: DateTimeFilter<"Comment"> | Date | string
|
|
14263
|
+
activityId?: StringNullableFilter<"Comment"> | string | null
|
|
14264
|
+
activitySuggestionId?: StringNullableFilter<"Comment"> | string | null
|
|
14239
14265
|
activity?: XOR<ActivityNullableScalarRelationFilter, ActivityWhereInput> | null
|
|
14240
14266
|
activitySuggestion?: XOR<ActivitySuggestionNullableScalarRelationFilter, ActivitySuggestionWhereInput> | null
|
|
14241
14267
|
}
|
|
14242
14268
|
|
|
14243
|
-
export type
|
|
14269
|
+
export type CommentOrderByWithRelationInput = {
|
|
14244
14270
|
id?: SortOrder
|
|
14245
14271
|
entity_type?: SortOrder
|
|
14246
14272
|
user_id?: SortOrder
|
|
@@ -14252,22 +14278,22 @@ export namespace Prisma {
|
|
|
14252
14278
|
activitySuggestion?: ActivitySuggestionOrderByWithRelationInput
|
|
14253
14279
|
}
|
|
14254
14280
|
|
|
14255
|
-
export type
|
|
14281
|
+
export type CommentWhereUniqueInput = Prisma.AtLeast<{
|
|
14256
14282
|
id?: string
|
|
14257
|
-
AND?:
|
|
14258
|
-
OR?:
|
|
14259
|
-
NOT?:
|
|
14260
|
-
entity_type?: EnumEntityTypeFilter<"
|
|
14261
|
-
user_id?: StringFilter<"
|
|
14262
|
-
content?: StringFilter<"
|
|
14263
|
-
created_at?: DateTimeFilter<"
|
|
14264
|
-
activityId?: StringNullableFilter<"
|
|
14265
|
-
activitySuggestionId?: StringNullableFilter<"
|
|
14283
|
+
AND?: CommentWhereInput | CommentWhereInput[]
|
|
14284
|
+
OR?: CommentWhereInput[]
|
|
14285
|
+
NOT?: CommentWhereInput | CommentWhereInput[]
|
|
14286
|
+
entity_type?: EnumEntityTypeFilter<"Comment"> | $Enums.EntityType
|
|
14287
|
+
user_id?: StringFilter<"Comment"> | string
|
|
14288
|
+
content?: StringFilter<"Comment"> | string
|
|
14289
|
+
created_at?: DateTimeFilter<"Comment"> | Date | string
|
|
14290
|
+
activityId?: StringNullableFilter<"Comment"> | string | null
|
|
14291
|
+
activitySuggestionId?: StringNullableFilter<"Comment"> | string | null
|
|
14266
14292
|
activity?: XOR<ActivityNullableScalarRelationFilter, ActivityWhereInput> | null
|
|
14267
14293
|
activitySuggestion?: XOR<ActivitySuggestionNullableScalarRelationFilter, ActivitySuggestionWhereInput> | null
|
|
14268
14294
|
}, "id">
|
|
14269
14295
|
|
|
14270
|
-
export type
|
|
14296
|
+
export type CommentOrderByWithAggregationInput = {
|
|
14271
14297
|
id?: SortOrder
|
|
14272
14298
|
entity_type?: SortOrder
|
|
14273
14299
|
user_id?: SortOrder
|
|
@@ -14275,22 +14301,22 @@ export namespace Prisma {
|
|
|
14275
14301
|
created_at?: SortOrder
|
|
14276
14302
|
activityId?: SortOrderInput | SortOrder
|
|
14277
14303
|
activitySuggestionId?: SortOrderInput | SortOrder
|
|
14278
|
-
_count?:
|
|
14279
|
-
_max?:
|
|
14280
|
-
_min?:
|
|
14304
|
+
_count?: CommentCountOrderByAggregateInput
|
|
14305
|
+
_max?: CommentMaxOrderByAggregateInput
|
|
14306
|
+
_min?: CommentMinOrderByAggregateInput
|
|
14281
14307
|
}
|
|
14282
14308
|
|
|
14283
|
-
export type
|
|
14284
|
-
AND?:
|
|
14285
|
-
OR?:
|
|
14286
|
-
NOT?:
|
|
14287
|
-
id?: StringWithAggregatesFilter<"
|
|
14288
|
-
entity_type?: EnumEntityTypeWithAggregatesFilter<"
|
|
14289
|
-
user_id?: StringWithAggregatesFilter<"
|
|
14290
|
-
content?: StringWithAggregatesFilter<"
|
|
14291
|
-
created_at?: DateTimeWithAggregatesFilter<"
|
|
14292
|
-
activityId?: StringNullableWithAggregatesFilter<"
|
|
14293
|
-
activitySuggestionId?: StringNullableWithAggregatesFilter<"
|
|
14309
|
+
export type CommentScalarWhereWithAggregatesInput = {
|
|
14310
|
+
AND?: CommentScalarWhereWithAggregatesInput | CommentScalarWhereWithAggregatesInput[]
|
|
14311
|
+
OR?: CommentScalarWhereWithAggregatesInput[]
|
|
14312
|
+
NOT?: CommentScalarWhereWithAggregatesInput | CommentScalarWhereWithAggregatesInput[]
|
|
14313
|
+
id?: StringWithAggregatesFilter<"Comment"> | string
|
|
14314
|
+
entity_type?: EnumEntityTypeWithAggregatesFilter<"Comment"> | $Enums.EntityType
|
|
14315
|
+
user_id?: StringWithAggregatesFilter<"Comment"> | string
|
|
14316
|
+
content?: StringWithAggregatesFilter<"Comment"> | string
|
|
14317
|
+
created_at?: DateTimeWithAggregatesFilter<"Comment"> | Date | string
|
|
14318
|
+
activityId?: StringNullableWithAggregatesFilter<"Comment"> | string | null
|
|
14319
|
+
activitySuggestionId?: StringNullableWithAggregatesFilter<"Comment"> | string | null
|
|
14294
14320
|
}
|
|
14295
14321
|
|
|
14296
14322
|
export type DocumentWhereInput = {
|
|
@@ -14392,7 +14418,7 @@ export namespace Prisma {
|
|
|
14392
14418
|
user_id?: StringFilter<"Notification"> | string
|
|
14393
14419
|
trip_id?: StringFilter<"Notification"> | string
|
|
14394
14420
|
type?: EnumNotificationTypeFilter<"Notification"> | $Enums.NotificationType
|
|
14395
|
-
payload?:
|
|
14421
|
+
payload?: JsonFilter<"Notification">
|
|
14396
14422
|
is_read?: BoolFilter<"Notification"> | boolean
|
|
14397
14423
|
created_at?: DateTimeFilter<"Notification"> | Date | string
|
|
14398
14424
|
trip?: XOR<TripScalarRelationFilter, TripWhereInput>
|
|
@@ -14417,7 +14443,7 @@ export namespace Prisma {
|
|
|
14417
14443
|
user_id?: StringFilter<"Notification"> | string
|
|
14418
14444
|
trip_id?: StringFilter<"Notification"> | string
|
|
14419
14445
|
type?: EnumNotificationTypeFilter<"Notification"> | $Enums.NotificationType
|
|
14420
|
-
payload?:
|
|
14446
|
+
payload?: JsonFilter<"Notification">
|
|
14421
14447
|
is_read?: BoolFilter<"Notification"> | boolean
|
|
14422
14448
|
created_at?: DateTimeFilter<"Notification"> | Date | string
|
|
14423
14449
|
trip?: XOR<TripScalarRelationFilter, TripWhereInput>
|
|
@@ -14444,7 +14470,7 @@ export namespace Prisma {
|
|
|
14444
14470
|
user_id?: StringWithAggregatesFilter<"Notification"> | string
|
|
14445
14471
|
trip_id?: StringWithAggregatesFilter<"Notification"> | string
|
|
14446
14472
|
type?: EnumNotificationTypeWithAggregatesFilter<"Notification"> | $Enums.NotificationType
|
|
14447
|
-
payload?:
|
|
14473
|
+
payload?: JsonWithAggregatesFilter<"Notification">
|
|
14448
14474
|
is_read?: BoolWithAggregatesFilter<"Notification"> | boolean
|
|
14449
14475
|
created_at?: DateTimeWithAggregatesFilter<"Notification"> | Date | string
|
|
14450
14476
|
}
|
|
@@ -14787,7 +14813,7 @@ export namespace Prisma {
|
|
|
14787
14813
|
updated_at?: Date | string
|
|
14788
14814
|
day: DayCreateNestedOneWithoutActivitiesInput
|
|
14789
14815
|
documents?: DocumentCreateNestedManyWithoutActivityInput
|
|
14790
|
-
comments?:
|
|
14816
|
+
comments?: CommentCreateNestedManyWithoutActivityInput
|
|
14791
14817
|
}
|
|
14792
14818
|
|
|
14793
14819
|
export type ActivityUncheckedCreateInput = {
|
|
@@ -14806,7 +14832,7 @@ export namespace Prisma {
|
|
|
14806
14832
|
created_at?: Date | string
|
|
14807
14833
|
updated_at?: Date | string
|
|
14808
14834
|
documents?: DocumentUncheckedCreateNestedManyWithoutActivityInput
|
|
14809
|
-
comments?:
|
|
14835
|
+
comments?: CommentUncheckedCreateNestedManyWithoutActivityInput
|
|
14810
14836
|
}
|
|
14811
14837
|
|
|
14812
14838
|
export type ActivityUpdateInput = {
|
|
@@ -14825,7 +14851,7 @@ export namespace Prisma {
|
|
|
14825
14851
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
14826
14852
|
day?: DayUpdateOneRequiredWithoutActivitiesNestedInput
|
|
14827
14853
|
documents?: DocumentUpdateManyWithoutActivityNestedInput
|
|
14828
|
-
comments?:
|
|
14854
|
+
comments?: CommentUpdateManyWithoutActivityNestedInput
|
|
14829
14855
|
}
|
|
14830
14856
|
|
|
14831
14857
|
export type ActivityUncheckedUpdateInput = {
|
|
@@ -14844,7 +14870,7 @@ export namespace Prisma {
|
|
|
14844
14870
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
14845
14871
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
14846
14872
|
documents?: DocumentUncheckedUpdateManyWithoutActivityNestedInput
|
|
14847
|
-
comments?:
|
|
14873
|
+
comments?: CommentUncheckedUpdateManyWithoutActivityNestedInput
|
|
14848
14874
|
}
|
|
14849
14875
|
|
|
14850
14876
|
export type ActivityCreateManyInput = {
|
|
@@ -14905,7 +14931,7 @@ export namespace Prisma {
|
|
|
14905
14931
|
status?: $Enums.ActivitySuggestionStatus
|
|
14906
14932
|
trip: TripCreateNestedOneWithoutActivitySuggestionsInput
|
|
14907
14933
|
votes?: VoteCreateNestedManyWithoutActivitySuggestionInput
|
|
14908
|
-
|
|
14934
|
+
comments?: CommentCreateNestedManyWithoutActivitySuggestionInput
|
|
14909
14935
|
}
|
|
14910
14936
|
|
|
14911
14937
|
export type ActivitySuggestionUncheckedCreateInput = {
|
|
@@ -14916,7 +14942,7 @@ export namespace Prisma {
|
|
|
14916
14942
|
created_at?: Date | string
|
|
14917
14943
|
status?: $Enums.ActivitySuggestionStatus
|
|
14918
14944
|
votes?: VoteUncheckedCreateNestedManyWithoutActivitySuggestionInput
|
|
14919
|
-
|
|
14945
|
+
comments?: CommentUncheckedCreateNestedManyWithoutActivitySuggestionInput
|
|
14920
14946
|
}
|
|
14921
14947
|
|
|
14922
14948
|
export type ActivitySuggestionUpdateInput = {
|
|
@@ -14927,7 +14953,7 @@ export namespace Prisma {
|
|
|
14927
14953
|
status?: EnumActivitySuggestionStatusFieldUpdateOperationsInput | $Enums.ActivitySuggestionStatus
|
|
14928
14954
|
trip?: TripUpdateOneRequiredWithoutActivitySuggestionsNestedInput
|
|
14929
14955
|
votes?: VoteUpdateManyWithoutActivitySuggestionNestedInput
|
|
14930
|
-
|
|
14956
|
+
comments?: CommentUpdateManyWithoutActivitySuggestionNestedInput
|
|
14931
14957
|
}
|
|
14932
14958
|
|
|
14933
14959
|
export type ActivitySuggestionUncheckedUpdateInput = {
|
|
@@ -14938,7 +14964,7 @@ export namespace Prisma {
|
|
|
14938
14964
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
14939
14965
|
status?: EnumActivitySuggestionStatusFieldUpdateOperationsInput | $Enums.ActivitySuggestionStatus
|
|
14940
14966
|
votes?: VoteUncheckedUpdateManyWithoutActivitySuggestionNestedInput
|
|
14941
|
-
|
|
14967
|
+
comments?: CommentUncheckedUpdateManyWithoutActivitySuggestionNestedInput
|
|
14942
14968
|
}
|
|
14943
14969
|
|
|
14944
14970
|
export type ActivitySuggestionCreateManyInput = {
|
|
@@ -15022,17 +15048,17 @@ export namespace Prisma {
|
|
|
15022
15048
|
voted_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
15023
15049
|
}
|
|
15024
15050
|
|
|
15025
|
-
export type
|
|
15051
|
+
export type CommentCreateInput = {
|
|
15026
15052
|
id?: string
|
|
15027
15053
|
entity_type: $Enums.EntityType
|
|
15028
15054
|
user_id: string
|
|
15029
15055
|
content: string
|
|
15030
15056
|
created_at?: Date | string
|
|
15031
15057
|
activity?: ActivityCreateNestedOneWithoutCommentsInput
|
|
15032
|
-
activitySuggestion?:
|
|
15058
|
+
activitySuggestion?: ActivitySuggestionCreateNestedOneWithoutCommentsInput
|
|
15033
15059
|
}
|
|
15034
15060
|
|
|
15035
|
-
export type
|
|
15061
|
+
export type CommentUncheckedCreateInput = {
|
|
15036
15062
|
id?: string
|
|
15037
15063
|
entity_type: $Enums.EntityType
|
|
15038
15064
|
user_id: string
|
|
@@ -15042,17 +15068,17 @@ export namespace Prisma {
|
|
|
15042
15068
|
activitySuggestionId?: string | null
|
|
15043
15069
|
}
|
|
15044
15070
|
|
|
15045
|
-
export type
|
|
15071
|
+
export type CommentUpdateInput = {
|
|
15046
15072
|
id?: StringFieldUpdateOperationsInput | string
|
|
15047
15073
|
entity_type?: EnumEntityTypeFieldUpdateOperationsInput | $Enums.EntityType
|
|
15048
15074
|
user_id?: StringFieldUpdateOperationsInput | string
|
|
15049
15075
|
content?: StringFieldUpdateOperationsInput | string
|
|
15050
15076
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
15051
15077
|
activity?: ActivityUpdateOneWithoutCommentsNestedInput
|
|
15052
|
-
activitySuggestion?:
|
|
15078
|
+
activitySuggestion?: ActivitySuggestionUpdateOneWithoutCommentsNestedInput
|
|
15053
15079
|
}
|
|
15054
15080
|
|
|
15055
|
-
export type
|
|
15081
|
+
export type CommentUncheckedUpdateInput = {
|
|
15056
15082
|
id?: StringFieldUpdateOperationsInput | string
|
|
15057
15083
|
entity_type?: EnumEntityTypeFieldUpdateOperationsInput | $Enums.EntityType
|
|
15058
15084
|
user_id?: StringFieldUpdateOperationsInput | string
|
|
@@ -15062,7 +15088,7 @@ export namespace Prisma {
|
|
|
15062
15088
|
activitySuggestionId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
15063
15089
|
}
|
|
15064
15090
|
|
|
15065
|
-
export type
|
|
15091
|
+
export type CommentCreateManyInput = {
|
|
15066
15092
|
id?: string
|
|
15067
15093
|
entity_type: $Enums.EntityType
|
|
15068
15094
|
user_id: string
|
|
@@ -15072,7 +15098,7 @@ export namespace Prisma {
|
|
|
15072
15098
|
activitySuggestionId?: string | null
|
|
15073
15099
|
}
|
|
15074
15100
|
|
|
15075
|
-
export type
|
|
15101
|
+
export type CommentUpdateManyMutationInput = {
|
|
15076
15102
|
id?: StringFieldUpdateOperationsInput | string
|
|
15077
15103
|
entity_type?: EnumEntityTypeFieldUpdateOperationsInput | $Enums.EntityType
|
|
15078
15104
|
user_id?: StringFieldUpdateOperationsInput | string
|
|
@@ -15080,7 +15106,7 @@ export namespace Prisma {
|
|
|
15080
15106
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
15081
15107
|
}
|
|
15082
15108
|
|
|
15083
|
-
export type
|
|
15109
|
+
export type CommentUncheckedUpdateManyInput = {
|
|
15084
15110
|
id?: StringFieldUpdateOperationsInput | string
|
|
15085
15111
|
entity_type?: EnumEntityTypeFieldUpdateOperationsInput | $Enums.EntityType
|
|
15086
15112
|
user_id?: StringFieldUpdateOperationsInput | string
|
|
@@ -15189,7 +15215,7 @@ export namespace Prisma {
|
|
|
15189
15215
|
id?: string
|
|
15190
15216
|
user_id: string
|
|
15191
15217
|
type: $Enums.NotificationType
|
|
15192
|
-
payload:
|
|
15218
|
+
payload: JsonNullValueInput | InputJsonValue
|
|
15193
15219
|
is_read?: boolean
|
|
15194
15220
|
created_at?: Date | string
|
|
15195
15221
|
trip: TripCreateNestedOneWithoutNotificationsInput
|
|
@@ -15200,7 +15226,7 @@ export namespace Prisma {
|
|
|
15200
15226
|
user_id: string
|
|
15201
15227
|
trip_id: string
|
|
15202
15228
|
type: $Enums.NotificationType
|
|
15203
|
-
payload:
|
|
15229
|
+
payload: JsonNullValueInput | InputJsonValue
|
|
15204
15230
|
is_read?: boolean
|
|
15205
15231
|
created_at?: Date | string
|
|
15206
15232
|
}
|
|
@@ -15209,7 +15235,7 @@ export namespace Prisma {
|
|
|
15209
15235
|
id?: StringFieldUpdateOperationsInput | string
|
|
15210
15236
|
user_id?: StringFieldUpdateOperationsInput | string
|
|
15211
15237
|
type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
|
|
15212
|
-
payload?:
|
|
15238
|
+
payload?: JsonNullValueInput | InputJsonValue
|
|
15213
15239
|
is_read?: BoolFieldUpdateOperationsInput | boolean
|
|
15214
15240
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
15215
15241
|
trip?: TripUpdateOneRequiredWithoutNotificationsNestedInput
|
|
@@ -15220,7 +15246,7 @@ export namespace Prisma {
|
|
|
15220
15246
|
user_id?: StringFieldUpdateOperationsInput | string
|
|
15221
15247
|
trip_id?: StringFieldUpdateOperationsInput | string
|
|
15222
15248
|
type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
|
|
15223
|
-
payload?:
|
|
15249
|
+
payload?: JsonNullValueInput | InputJsonValue
|
|
15224
15250
|
is_read?: BoolFieldUpdateOperationsInput | boolean
|
|
15225
15251
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
15226
15252
|
}
|
|
@@ -15230,7 +15256,7 @@ export namespace Prisma {
|
|
|
15230
15256
|
user_id: string
|
|
15231
15257
|
trip_id: string
|
|
15232
15258
|
type: $Enums.NotificationType
|
|
15233
|
-
payload:
|
|
15259
|
+
payload: JsonNullValueInput | InputJsonValue
|
|
15234
15260
|
is_read?: boolean
|
|
15235
15261
|
created_at?: Date | string
|
|
15236
15262
|
}
|
|
@@ -15239,7 +15265,7 @@ export namespace Prisma {
|
|
|
15239
15265
|
id?: StringFieldUpdateOperationsInput | string
|
|
15240
15266
|
user_id?: StringFieldUpdateOperationsInput | string
|
|
15241
15267
|
type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
|
|
15242
|
-
payload?:
|
|
15268
|
+
payload?: JsonNullValueInput | InputJsonValue
|
|
15243
15269
|
is_read?: BoolFieldUpdateOperationsInput | boolean
|
|
15244
15270
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
15245
15271
|
}
|
|
@@ -15249,7 +15275,7 @@ export namespace Prisma {
|
|
|
15249
15275
|
user_id?: StringFieldUpdateOperationsInput | string
|
|
15250
15276
|
trip_id?: StringFieldUpdateOperationsInput | string
|
|
15251
15277
|
type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
|
|
15252
|
-
payload?:
|
|
15278
|
+
payload?: JsonNullValueInput | InputJsonValue
|
|
15253
15279
|
is_read?: BoolFieldUpdateOperationsInput | boolean
|
|
15254
15280
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
15255
15281
|
}
|
|
@@ -15721,13 +15747,13 @@ export namespace Prisma {
|
|
|
15721
15747
|
isNot?: DayWhereInput
|
|
15722
15748
|
}
|
|
15723
15749
|
|
|
15724
|
-
export type
|
|
15725
|
-
every?:
|
|
15726
|
-
some?:
|
|
15727
|
-
none?:
|
|
15750
|
+
export type CommentListRelationFilter = {
|
|
15751
|
+
every?: CommentWhereInput
|
|
15752
|
+
some?: CommentWhereInput
|
|
15753
|
+
none?: CommentWhereInput
|
|
15728
15754
|
}
|
|
15729
15755
|
|
|
15730
|
-
export type
|
|
15756
|
+
export type CommentOrderByRelationAggregateInput = {
|
|
15731
15757
|
_count?: SortOrder
|
|
15732
15758
|
}
|
|
15733
15759
|
|
|
@@ -15937,7 +15963,7 @@ export namespace Prisma {
|
|
|
15937
15963
|
isNot?: ActivitySuggestionWhereInput | null
|
|
15938
15964
|
}
|
|
15939
15965
|
|
|
15940
|
-
export type
|
|
15966
|
+
export type CommentCountOrderByAggregateInput = {
|
|
15941
15967
|
id?: SortOrder
|
|
15942
15968
|
entity_type?: SortOrder
|
|
15943
15969
|
user_id?: SortOrder
|
|
@@ -15947,7 +15973,7 @@ export namespace Prisma {
|
|
|
15947
15973
|
activitySuggestionId?: SortOrder
|
|
15948
15974
|
}
|
|
15949
15975
|
|
|
15950
|
-
export type
|
|
15976
|
+
export type CommentMaxOrderByAggregateInput = {
|
|
15951
15977
|
id?: SortOrder
|
|
15952
15978
|
entity_type?: SortOrder
|
|
15953
15979
|
user_id?: SortOrder
|
|
@@ -15957,7 +15983,7 @@ export namespace Prisma {
|
|
|
15957
15983
|
activitySuggestionId?: SortOrder
|
|
15958
15984
|
}
|
|
15959
15985
|
|
|
15960
|
-
export type
|
|
15986
|
+
export type CommentMinOrderByAggregateInput = {
|
|
15961
15987
|
id?: SortOrder
|
|
15962
15988
|
entity_type?: SortOrder
|
|
15963
15989
|
user_id?: SortOrder
|
|
@@ -16043,6 +16069,29 @@ export namespace Prisma {
|
|
|
16043
16069
|
notIn?: $Enums.NotificationType[] | ListEnumNotificationTypeFieldRefInput<$PrismaModel>
|
|
16044
16070
|
not?: NestedEnumNotificationTypeFilter<$PrismaModel> | $Enums.NotificationType
|
|
16045
16071
|
}
|
|
16072
|
+
export type JsonFilter<$PrismaModel = never> =
|
|
16073
|
+
| PatchUndefined<
|
|
16074
|
+
Either<Required<JsonFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonFilterBase<$PrismaModel>>, 'path'>>,
|
|
16075
|
+
Required<JsonFilterBase<$PrismaModel>>
|
|
16076
|
+
>
|
|
16077
|
+
| OptionalFlat<Omit<Required<JsonFilterBase<$PrismaModel>>, 'path'>>
|
|
16078
|
+
|
|
16079
|
+
export type JsonFilterBase<$PrismaModel = never> = {
|
|
16080
|
+
equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
16081
|
+
path?: string[]
|
|
16082
|
+
mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel>
|
|
16083
|
+
string_contains?: string | StringFieldRefInput<$PrismaModel>
|
|
16084
|
+
string_starts_with?: string | StringFieldRefInput<$PrismaModel>
|
|
16085
|
+
string_ends_with?: string | StringFieldRefInput<$PrismaModel>
|
|
16086
|
+
array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
16087
|
+
array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
16088
|
+
array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
16089
|
+
lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
16090
|
+
lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
16091
|
+
gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
16092
|
+
gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
16093
|
+
not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
16094
|
+
}
|
|
16046
16095
|
|
|
16047
16096
|
export type NotificationCountOrderByAggregateInput = {
|
|
16048
16097
|
id?: SortOrder
|
|
@@ -16059,7 +16108,6 @@ export namespace Prisma {
|
|
|
16059
16108
|
user_id?: SortOrder
|
|
16060
16109
|
trip_id?: SortOrder
|
|
16061
16110
|
type?: SortOrder
|
|
16062
|
-
payload?: SortOrder
|
|
16063
16111
|
is_read?: SortOrder
|
|
16064
16112
|
created_at?: SortOrder
|
|
16065
16113
|
}
|
|
@@ -16069,7 +16117,6 @@ export namespace Prisma {
|
|
|
16069
16117
|
user_id?: SortOrder
|
|
16070
16118
|
trip_id?: SortOrder
|
|
16071
16119
|
type?: SortOrder
|
|
16072
|
-
payload?: SortOrder
|
|
16073
16120
|
is_read?: SortOrder
|
|
16074
16121
|
created_at?: SortOrder
|
|
16075
16122
|
}
|
|
@@ -16083,6 +16130,32 @@ export namespace Prisma {
|
|
|
16083
16130
|
_min?: NestedEnumNotificationTypeFilter<$PrismaModel>
|
|
16084
16131
|
_max?: NestedEnumNotificationTypeFilter<$PrismaModel>
|
|
16085
16132
|
}
|
|
16133
|
+
export type JsonWithAggregatesFilter<$PrismaModel = never> =
|
|
16134
|
+
| PatchUndefined<
|
|
16135
|
+
Either<Required<JsonWithAggregatesFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonWithAggregatesFilterBase<$PrismaModel>>, 'path'>>,
|
|
16136
|
+
Required<JsonWithAggregatesFilterBase<$PrismaModel>>
|
|
16137
|
+
>
|
|
16138
|
+
| OptionalFlat<Omit<Required<JsonWithAggregatesFilterBase<$PrismaModel>>, 'path'>>
|
|
16139
|
+
|
|
16140
|
+
export type JsonWithAggregatesFilterBase<$PrismaModel = never> = {
|
|
16141
|
+
equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
16142
|
+
path?: string[]
|
|
16143
|
+
mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel>
|
|
16144
|
+
string_contains?: string | StringFieldRefInput<$PrismaModel>
|
|
16145
|
+
string_starts_with?: string | StringFieldRefInput<$PrismaModel>
|
|
16146
|
+
string_ends_with?: string | StringFieldRefInput<$PrismaModel>
|
|
16147
|
+
array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
16148
|
+
array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
16149
|
+
array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
16150
|
+
lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
16151
|
+
lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
16152
|
+
gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
16153
|
+
gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
16154
|
+
not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
16155
|
+
_count?: NestedIntFilter<$PrismaModel>
|
|
16156
|
+
_min?: NestedJsonFilter<$PrismaModel>
|
|
16157
|
+
_max?: NestedJsonFilter<$PrismaModel>
|
|
16158
|
+
}
|
|
16086
16159
|
|
|
16087
16160
|
export type UserCountOrderByAggregateInput = {
|
|
16088
16161
|
id?: SortOrder
|
|
@@ -16491,11 +16564,11 @@ export namespace Prisma {
|
|
|
16491
16564
|
connect?: DocumentWhereUniqueInput | DocumentWhereUniqueInput[]
|
|
16492
16565
|
}
|
|
16493
16566
|
|
|
16494
|
-
export type
|
|
16495
|
-
create?: XOR<
|
|
16496
|
-
connectOrCreate?:
|
|
16497
|
-
createMany?:
|
|
16498
|
-
connect?:
|
|
16567
|
+
export type CommentCreateNestedManyWithoutActivityInput = {
|
|
16568
|
+
create?: XOR<CommentCreateWithoutActivityInput, CommentUncheckedCreateWithoutActivityInput> | CommentCreateWithoutActivityInput[] | CommentUncheckedCreateWithoutActivityInput[]
|
|
16569
|
+
connectOrCreate?: CommentCreateOrConnectWithoutActivityInput | CommentCreateOrConnectWithoutActivityInput[]
|
|
16570
|
+
createMany?: CommentCreateManyActivityInputEnvelope
|
|
16571
|
+
connect?: CommentWhereUniqueInput | CommentWhereUniqueInput[]
|
|
16499
16572
|
}
|
|
16500
16573
|
|
|
16501
16574
|
export type DocumentUncheckedCreateNestedManyWithoutActivityInput = {
|
|
@@ -16505,11 +16578,11 @@ export namespace Prisma {
|
|
|
16505
16578
|
connect?: DocumentWhereUniqueInput | DocumentWhereUniqueInput[]
|
|
16506
16579
|
}
|
|
16507
16580
|
|
|
16508
|
-
export type
|
|
16509
|
-
create?: XOR<
|
|
16510
|
-
connectOrCreate?:
|
|
16511
|
-
createMany?:
|
|
16512
|
-
connect?:
|
|
16581
|
+
export type CommentUncheckedCreateNestedManyWithoutActivityInput = {
|
|
16582
|
+
create?: XOR<CommentCreateWithoutActivityInput, CommentUncheckedCreateWithoutActivityInput> | CommentCreateWithoutActivityInput[] | CommentUncheckedCreateWithoutActivityInput[]
|
|
16583
|
+
connectOrCreate?: CommentCreateOrConnectWithoutActivityInput | CommentCreateOrConnectWithoutActivityInput[]
|
|
16584
|
+
createMany?: CommentCreateManyActivityInputEnvelope
|
|
16585
|
+
connect?: CommentWhereUniqueInput | CommentWhereUniqueInput[]
|
|
16513
16586
|
}
|
|
16514
16587
|
|
|
16515
16588
|
export type NullableFloatFieldUpdateOperationsInput = {
|
|
@@ -16546,18 +16619,18 @@ export namespace Prisma {
|
|
|
16546
16619
|
deleteMany?: DocumentScalarWhereInput | DocumentScalarWhereInput[]
|
|
16547
16620
|
}
|
|
16548
16621
|
|
|
16549
|
-
export type
|
|
16550
|
-
create?: XOR<
|
|
16551
|
-
connectOrCreate?:
|
|
16552
|
-
upsert?:
|
|
16553
|
-
createMany?:
|
|
16554
|
-
set?:
|
|
16555
|
-
disconnect?:
|
|
16556
|
-
delete?:
|
|
16557
|
-
connect?:
|
|
16558
|
-
update?:
|
|
16559
|
-
updateMany?:
|
|
16560
|
-
deleteMany?:
|
|
16622
|
+
export type CommentUpdateManyWithoutActivityNestedInput = {
|
|
16623
|
+
create?: XOR<CommentCreateWithoutActivityInput, CommentUncheckedCreateWithoutActivityInput> | CommentCreateWithoutActivityInput[] | CommentUncheckedCreateWithoutActivityInput[]
|
|
16624
|
+
connectOrCreate?: CommentCreateOrConnectWithoutActivityInput | CommentCreateOrConnectWithoutActivityInput[]
|
|
16625
|
+
upsert?: CommentUpsertWithWhereUniqueWithoutActivityInput | CommentUpsertWithWhereUniqueWithoutActivityInput[]
|
|
16626
|
+
createMany?: CommentCreateManyActivityInputEnvelope
|
|
16627
|
+
set?: CommentWhereUniqueInput | CommentWhereUniqueInput[]
|
|
16628
|
+
disconnect?: CommentWhereUniqueInput | CommentWhereUniqueInput[]
|
|
16629
|
+
delete?: CommentWhereUniqueInput | CommentWhereUniqueInput[]
|
|
16630
|
+
connect?: CommentWhereUniqueInput | CommentWhereUniqueInput[]
|
|
16631
|
+
update?: CommentUpdateWithWhereUniqueWithoutActivityInput | CommentUpdateWithWhereUniqueWithoutActivityInput[]
|
|
16632
|
+
updateMany?: CommentUpdateManyWithWhereWithoutActivityInput | CommentUpdateManyWithWhereWithoutActivityInput[]
|
|
16633
|
+
deleteMany?: CommentScalarWhereInput | CommentScalarWhereInput[]
|
|
16561
16634
|
}
|
|
16562
16635
|
|
|
16563
16636
|
export type DocumentUncheckedUpdateManyWithoutActivityNestedInput = {
|
|
@@ -16574,18 +16647,18 @@ export namespace Prisma {
|
|
|
16574
16647
|
deleteMany?: DocumentScalarWhereInput | DocumentScalarWhereInput[]
|
|
16575
16648
|
}
|
|
16576
16649
|
|
|
16577
|
-
export type
|
|
16578
|
-
create?: XOR<
|
|
16579
|
-
connectOrCreate?:
|
|
16580
|
-
upsert?:
|
|
16581
|
-
createMany?:
|
|
16582
|
-
set?:
|
|
16583
|
-
disconnect?:
|
|
16584
|
-
delete?:
|
|
16585
|
-
connect?:
|
|
16586
|
-
update?:
|
|
16587
|
-
updateMany?:
|
|
16588
|
-
deleteMany?:
|
|
16650
|
+
export type CommentUncheckedUpdateManyWithoutActivityNestedInput = {
|
|
16651
|
+
create?: XOR<CommentCreateWithoutActivityInput, CommentUncheckedCreateWithoutActivityInput> | CommentCreateWithoutActivityInput[] | CommentUncheckedCreateWithoutActivityInput[]
|
|
16652
|
+
connectOrCreate?: CommentCreateOrConnectWithoutActivityInput | CommentCreateOrConnectWithoutActivityInput[]
|
|
16653
|
+
upsert?: CommentUpsertWithWhereUniqueWithoutActivityInput | CommentUpsertWithWhereUniqueWithoutActivityInput[]
|
|
16654
|
+
createMany?: CommentCreateManyActivityInputEnvelope
|
|
16655
|
+
set?: CommentWhereUniqueInput | CommentWhereUniqueInput[]
|
|
16656
|
+
disconnect?: CommentWhereUniqueInput | CommentWhereUniqueInput[]
|
|
16657
|
+
delete?: CommentWhereUniqueInput | CommentWhereUniqueInput[]
|
|
16658
|
+
connect?: CommentWhereUniqueInput | CommentWhereUniqueInput[]
|
|
16659
|
+
update?: CommentUpdateWithWhereUniqueWithoutActivityInput | CommentUpdateWithWhereUniqueWithoutActivityInput[]
|
|
16660
|
+
updateMany?: CommentUpdateManyWithWhereWithoutActivityInput | CommentUpdateManyWithWhereWithoutActivityInput[]
|
|
16661
|
+
deleteMany?: CommentScalarWhereInput | CommentScalarWhereInput[]
|
|
16589
16662
|
}
|
|
16590
16663
|
|
|
16591
16664
|
export type TripCreateNestedOneWithoutActivitySuggestionsInput = {
|
|
@@ -16601,11 +16674,11 @@ export namespace Prisma {
|
|
|
16601
16674
|
connect?: VoteWhereUniqueInput | VoteWhereUniqueInput[]
|
|
16602
16675
|
}
|
|
16603
16676
|
|
|
16604
|
-
export type
|
|
16605
|
-
create?: XOR<
|
|
16606
|
-
connectOrCreate?:
|
|
16607
|
-
createMany?:
|
|
16608
|
-
connect?:
|
|
16677
|
+
export type CommentCreateNestedManyWithoutActivitySuggestionInput = {
|
|
16678
|
+
create?: XOR<CommentCreateWithoutActivitySuggestionInput, CommentUncheckedCreateWithoutActivitySuggestionInput> | CommentCreateWithoutActivitySuggestionInput[] | CommentUncheckedCreateWithoutActivitySuggestionInput[]
|
|
16679
|
+
connectOrCreate?: CommentCreateOrConnectWithoutActivitySuggestionInput | CommentCreateOrConnectWithoutActivitySuggestionInput[]
|
|
16680
|
+
createMany?: CommentCreateManyActivitySuggestionInputEnvelope
|
|
16681
|
+
connect?: CommentWhereUniqueInput | CommentWhereUniqueInput[]
|
|
16609
16682
|
}
|
|
16610
16683
|
|
|
16611
16684
|
export type VoteUncheckedCreateNestedManyWithoutActivitySuggestionInput = {
|
|
@@ -16615,11 +16688,11 @@ export namespace Prisma {
|
|
|
16615
16688
|
connect?: VoteWhereUniqueInput | VoteWhereUniqueInput[]
|
|
16616
16689
|
}
|
|
16617
16690
|
|
|
16618
|
-
export type
|
|
16619
|
-
create?: XOR<
|
|
16620
|
-
connectOrCreate?:
|
|
16621
|
-
createMany?:
|
|
16622
|
-
connect?:
|
|
16691
|
+
export type CommentUncheckedCreateNestedManyWithoutActivitySuggestionInput = {
|
|
16692
|
+
create?: XOR<CommentCreateWithoutActivitySuggestionInput, CommentUncheckedCreateWithoutActivitySuggestionInput> | CommentCreateWithoutActivitySuggestionInput[] | CommentUncheckedCreateWithoutActivitySuggestionInput[]
|
|
16693
|
+
connectOrCreate?: CommentCreateOrConnectWithoutActivitySuggestionInput | CommentCreateOrConnectWithoutActivitySuggestionInput[]
|
|
16694
|
+
createMany?: CommentCreateManyActivitySuggestionInputEnvelope
|
|
16695
|
+
connect?: CommentWhereUniqueInput | CommentWhereUniqueInput[]
|
|
16623
16696
|
}
|
|
16624
16697
|
|
|
16625
16698
|
export type EnumActivitySuggestionStatusFieldUpdateOperationsInput = {
|
|
@@ -16648,18 +16721,18 @@ export namespace Prisma {
|
|
|
16648
16721
|
deleteMany?: VoteScalarWhereInput | VoteScalarWhereInput[]
|
|
16649
16722
|
}
|
|
16650
16723
|
|
|
16651
|
-
export type
|
|
16652
|
-
create?: XOR<
|
|
16653
|
-
connectOrCreate?:
|
|
16654
|
-
upsert?:
|
|
16655
|
-
createMany?:
|
|
16656
|
-
set?:
|
|
16657
|
-
disconnect?:
|
|
16658
|
-
delete?:
|
|
16659
|
-
connect?:
|
|
16660
|
-
update?:
|
|
16661
|
-
updateMany?:
|
|
16662
|
-
deleteMany?:
|
|
16724
|
+
export type CommentUpdateManyWithoutActivitySuggestionNestedInput = {
|
|
16725
|
+
create?: XOR<CommentCreateWithoutActivitySuggestionInput, CommentUncheckedCreateWithoutActivitySuggestionInput> | CommentCreateWithoutActivitySuggestionInput[] | CommentUncheckedCreateWithoutActivitySuggestionInput[]
|
|
16726
|
+
connectOrCreate?: CommentCreateOrConnectWithoutActivitySuggestionInput | CommentCreateOrConnectWithoutActivitySuggestionInput[]
|
|
16727
|
+
upsert?: CommentUpsertWithWhereUniqueWithoutActivitySuggestionInput | CommentUpsertWithWhereUniqueWithoutActivitySuggestionInput[]
|
|
16728
|
+
createMany?: CommentCreateManyActivitySuggestionInputEnvelope
|
|
16729
|
+
set?: CommentWhereUniqueInput | CommentWhereUniqueInput[]
|
|
16730
|
+
disconnect?: CommentWhereUniqueInput | CommentWhereUniqueInput[]
|
|
16731
|
+
delete?: CommentWhereUniqueInput | CommentWhereUniqueInput[]
|
|
16732
|
+
connect?: CommentWhereUniqueInput | CommentWhereUniqueInput[]
|
|
16733
|
+
update?: CommentUpdateWithWhereUniqueWithoutActivitySuggestionInput | CommentUpdateWithWhereUniqueWithoutActivitySuggestionInput[]
|
|
16734
|
+
updateMany?: CommentUpdateManyWithWhereWithoutActivitySuggestionInput | CommentUpdateManyWithWhereWithoutActivitySuggestionInput[]
|
|
16735
|
+
deleteMany?: CommentScalarWhereInput | CommentScalarWhereInput[]
|
|
16663
16736
|
}
|
|
16664
16737
|
|
|
16665
16738
|
export type VoteUncheckedUpdateManyWithoutActivitySuggestionNestedInput = {
|
|
@@ -16676,18 +16749,18 @@ export namespace Prisma {
|
|
|
16676
16749
|
deleteMany?: VoteScalarWhereInput | VoteScalarWhereInput[]
|
|
16677
16750
|
}
|
|
16678
16751
|
|
|
16679
|
-
export type
|
|
16680
|
-
create?: XOR<
|
|
16681
|
-
connectOrCreate?:
|
|
16682
|
-
upsert?:
|
|
16683
|
-
createMany?:
|
|
16684
|
-
set?:
|
|
16685
|
-
disconnect?:
|
|
16686
|
-
delete?:
|
|
16687
|
-
connect?:
|
|
16688
|
-
update?:
|
|
16689
|
-
updateMany?:
|
|
16690
|
-
deleteMany?:
|
|
16752
|
+
export type CommentUncheckedUpdateManyWithoutActivitySuggestionNestedInput = {
|
|
16753
|
+
create?: XOR<CommentCreateWithoutActivitySuggestionInput, CommentUncheckedCreateWithoutActivitySuggestionInput> | CommentCreateWithoutActivitySuggestionInput[] | CommentUncheckedCreateWithoutActivitySuggestionInput[]
|
|
16754
|
+
connectOrCreate?: CommentCreateOrConnectWithoutActivitySuggestionInput | CommentCreateOrConnectWithoutActivitySuggestionInput[]
|
|
16755
|
+
upsert?: CommentUpsertWithWhereUniqueWithoutActivitySuggestionInput | CommentUpsertWithWhereUniqueWithoutActivitySuggestionInput[]
|
|
16756
|
+
createMany?: CommentCreateManyActivitySuggestionInputEnvelope
|
|
16757
|
+
set?: CommentWhereUniqueInput | CommentWhereUniqueInput[]
|
|
16758
|
+
disconnect?: CommentWhereUniqueInput | CommentWhereUniqueInput[]
|
|
16759
|
+
delete?: CommentWhereUniqueInput | CommentWhereUniqueInput[]
|
|
16760
|
+
connect?: CommentWhereUniqueInput | CommentWhereUniqueInput[]
|
|
16761
|
+
update?: CommentUpdateWithWhereUniqueWithoutActivitySuggestionInput | CommentUpdateWithWhereUniqueWithoutActivitySuggestionInput[]
|
|
16762
|
+
updateMany?: CommentUpdateManyWithWhereWithoutActivitySuggestionInput | CommentUpdateManyWithWhereWithoutActivitySuggestionInput[]
|
|
16763
|
+
deleteMany?: CommentScalarWhereInput | CommentScalarWhereInput[]
|
|
16691
16764
|
}
|
|
16692
16765
|
|
|
16693
16766
|
export type ActivitySuggestionCreateNestedOneWithoutVotesInput = {
|
|
@@ -16714,9 +16787,9 @@ export namespace Prisma {
|
|
|
16714
16787
|
connect?: ActivityWhereUniqueInput
|
|
16715
16788
|
}
|
|
16716
16789
|
|
|
16717
|
-
export type
|
|
16718
|
-
create?: XOR<
|
|
16719
|
-
connectOrCreate?:
|
|
16790
|
+
export type ActivitySuggestionCreateNestedOneWithoutCommentsInput = {
|
|
16791
|
+
create?: XOR<ActivitySuggestionCreateWithoutCommentsInput, ActivitySuggestionUncheckedCreateWithoutCommentsInput>
|
|
16792
|
+
connectOrCreate?: ActivitySuggestionCreateOrConnectWithoutCommentsInput
|
|
16720
16793
|
connect?: ActivitySuggestionWhereUniqueInput
|
|
16721
16794
|
}
|
|
16722
16795
|
|
|
@@ -16734,14 +16807,14 @@ export namespace Prisma {
|
|
|
16734
16807
|
update?: XOR<XOR<ActivityUpdateToOneWithWhereWithoutCommentsInput, ActivityUpdateWithoutCommentsInput>, ActivityUncheckedUpdateWithoutCommentsInput>
|
|
16735
16808
|
}
|
|
16736
16809
|
|
|
16737
|
-
export type
|
|
16738
|
-
create?: XOR<
|
|
16739
|
-
connectOrCreate?:
|
|
16740
|
-
upsert?:
|
|
16810
|
+
export type ActivitySuggestionUpdateOneWithoutCommentsNestedInput = {
|
|
16811
|
+
create?: XOR<ActivitySuggestionCreateWithoutCommentsInput, ActivitySuggestionUncheckedCreateWithoutCommentsInput>
|
|
16812
|
+
connectOrCreate?: ActivitySuggestionCreateOrConnectWithoutCommentsInput
|
|
16813
|
+
upsert?: ActivitySuggestionUpsertWithoutCommentsInput
|
|
16741
16814
|
disconnect?: ActivitySuggestionWhereInput | boolean
|
|
16742
16815
|
delete?: ActivitySuggestionWhereInput | boolean
|
|
16743
16816
|
connect?: ActivitySuggestionWhereUniqueInput
|
|
16744
|
-
update?: XOR<XOR<
|
|
16817
|
+
update?: XOR<XOR<ActivitySuggestionUpdateToOneWithWhereWithoutCommentsInput, ActivitySuggestionUpdateWithoutCommentsInput>, ActivitySuggestionUncheckedUpdateWithoutCommentsInput>
|
|
16745
16818
|
}
|
|
16746
16819
|
|
|
16747
16820
|
export type TripCreateNestedOneWithoutDocumentsInput = {
|
|
@@ -17140,6 +17213,29 @@ export namespace Prisma {
|
|
|
17140
17213
|
_min?: NestedEnumNotificationTypeFilter<$PrismaModel>
|
|
17141
17214
|
_max?: NestedEnumNotificationTypeFilter<$PrismaModel>
|
|
17142
17215
|
}
|
|
17216
|
+
export type NestedJsonFilter<$PrismaModel = never> =
|
|
17217
|
+
| PatchUndefined<
|
|
17218
|
+
Either<Required<NestedJsonFilterBase<$PrismaModel>>, Exclude<keyof Required<NestedJsonFilterBase<$PrismaModel>>, 'path'>>,
|
|
17219
|
+
Required<NestedJsonFilterBase<$PrismaModel>>
|
|
17220
|
+
>
|
|
17221
|
+
| OptionalFlat<Omit<Required<NestedJsonFilterBase<$PrismaModel>>, 'path'>>
|
|
17222
|
+
|
|
17223
|
+
export type NestedJsonFilterBase<$PrismaModel = never> = {
|
|
17224
|
+
equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
17225
|
+
path?: string[]
|
|
17226
|
+
mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel>
|
|
17227
|
+
string_contains?: string | StringFieldRefInput<$PrismaModel>
|
|
17228
|
+
string_starts_with?: string | StringFieldRefInput<$PrismaModel>
|
|
17229
|
+
string_ends_with?: string | StringFieldRefInput<$PrismaModel>
|
|
17230
|
+
array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
17231
|
+
array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
17232
|
+
array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
17233
|
+
lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
17234
|
+
lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
17235
|
+
gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
17236
|
+
gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
17237
|
+
not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
17238
|
+
}
|
|
17143
17239
|
|
|
17144
17240
|
export type TripMemberCreateWithoutTripInput = {
|
|
17145
17241
|
id?: string
|
|
@@ -17206,7 +17302,7 @@ export namespace Prisma {
|
|
|
17206
17302
|
created_at?: Date | string
|
|
17207
17303
|
status?: $Enums.ActivitySuggestionStatus
|
|
17208
17304
|
votes?: VoteCreateNestedManyWithoutActivitySuggestionInput
|
|
17209
|
-
|
|
17305
|
+
comments?: CommentCreateNestedManyWithoutActivitySuggestionInput
|
|
17210
17306
|
}
|
|
17211
17307
|
|
|
17212
17308
|
export type ActivitySuggestionUncheckedCreateWithoutTripInput = {
|
|
@@ -17216,7 +17312,7 @@ export namespace Prisma {
|
|
|
17216
17312
|
created_at?: Date | string
|
|
17217
17313
|
status?: $Enums.ActivitySuggestionStatus
|
|
17218
17314
|
votes?: VoteUncheckedCreateNestedManyWithoutActivitySuggestionInput
|
|
17219
|
-
|
|
17315
|
+
comments?: CommentUncheckedCreateNestedManyWithoutActivitySuggestionInput
|
|
17220
17316
|
}
|
|
17221
17317
|
|
|
17222
17318
|
export type ActivitySuggestionCreateOrConnectWithoutTripInput = {
|
|
@@ -17269,7 +17365,7 @@ export namespace Prisma {
|
|
|
17269
17365
|
id?: string
|
|
17270
17366
|
user_id: string
|
|
17271
17367
|
type: $Enums.NotificationType
|
|
17272
|
-
payload:
|
|
17368
|
+
payload: JsonNullValueInput | InputJsonValue
|
|
17273
17369
|
is_read?: boolean
|
|
17274
17370
|
created_at?: Date | string
|
|
17275
17371
|
}
|
|
@@ -17278,7 +17374,7 @@ export namespace Prisma {
|
|
|
17278
17374
|
id?: string
|
|
17279
17375
|
user_id: string
|
|
17280
17376
|
type: $Enums.NotificationType
|
|
17281
|
-
payload:
|
|
17377
|
+
payload: JsonNullValueInput | InputJsonValue
|
|
17282
17378
|
is_read?: boolean
|
|
17283
17379
|
created_at?: Date | string
|
|
17284
17380
|
}
|
|
@@ -17435,7 +17531,7 @@ export namespace Prisma {
|
|
|
17435
17531
|
user_id?: StringFilter<"Notification"> | string
|
|
17436
17532
|
trip_id?: StringFilter<"Notification"> | string
|
|
17437
17533
|
type?: EnumNotificationTypeFilter<"Notification"> | $Enums.NotificationType
|
|
17438
|
-
payload?:
|
|
17534
|
+
payload?: JsonFilter<"Notification">
|
|
17439
17535
|
is_read?: BoolFilter<"Notification"> | boolean
|
|
17440
17536
|
created_at?: DateTimeFilter<"Notification"> | Date | string
|
|
17441
17537
|
}
|
|
@@ -17578,7 +17674,7 @@ export namespace Prisma {
|
|
|
17578
17674
|
created_at?: Date | string
|
|
17579
17675
|
updated_at?: Date | string
|
|
17580
17676
|
documents?: DocumentCreateNestedManyWithoutActivityInput
|
|
17581
|
-
comments?:
|
|
17677
|
+
comments?: CommentCreateNestedManyWithoutActivityInput
|
|
17582
17678
|
}
|
|
17583
17679
|
|
|
17584
17680
|
export type ActivityUncheckedCreateWithoutDayInput = {
|
|
@@ -17596,7 +17692,7 @@ export namespace Prisma {
|
|
|
17596
17692
|
created_at?: Date | string
|
|
17597
17693
|
updated_at?: Date | string
|
|
17598
17694
|
documents?: DocumentUncheckedCreateNestedManyWithoutActivityInput
|
|
17599
|
-
comments?:
|
|
17695
|
+
comments?: CommentUncheckedCreateNestedManyWithoutActivityInput
|
|
17600
17696
|
}
|
|
17601
17697
|
|
|
17602
17698
|
export type ActivityCreateOrConnectWithoutDayInput = {
|
|
@@ -17805,16 +17901,16 @@ export namespace Prisma {
|
|
|
17805
17901
|
skipDuplicates?: boolean
|
|
17806
17902
|
}
|
|
17807
17903
|
|
|
17808
|
-
export type
|
|
17904
|
+
export type CommentCreateWithoutActivityInput = {
|
|
17809
17905
|
id?: string
|
|
17810
17906
|
entity_type: $Enums.EntityType
|
|
17811
17907
|
user_id: string
|
|
17812
17908
|
content: string
|
|
17813
17909
|
created_at?: Date | string
|
|
17814
|
-
activitySuggestion?:
|
|
17910
|
+
activitySuggestion?: ActivitySuggestionCreateNestedOneWithoutCommentsInput
|
|
17815
17911
|
}
|
|
17816
17912
|
|
|
17817
|
-
export type
|
|
17913
|
+
export type CommentUncheckedCreateWithoutActivityInput = {
|
|
17818
17914
|
id?: string
|
|
17819
17915
|
entity_type: $Enums.EntityType
|
|
17820
17916
|
user_id: string
|
|
@@ -17823,13 +17919,13 @@ export namespace Prisma {
|
|
|
17823
17919
|
activitySuggestionId?: string | null
|
|
17824
17920
|
}
|
|
17825
17921
|
|
|
17826
|
-
export type
|
|
17827
|
-
where:
|
|
17828
|
-
create: XOR<
|
|
17922
|
+
export type CommentCreateOrConnectWithoutActivityInput = {
|
|
17923
|
+
where: CommentWhereUniqueInput
|
|
17924
|
+
create: XOR<CommentCreateWithoutActivityInput, CommentUncheckedCreateWithoutActivityInput>
|
|
17829
17925
|
}
|
|
17830
17926
|
|
|
17831
|
-
export type
|
|
17832
|
-
data:
|
|
17927
|
+
export type CommentCreateManyActivityInputEnvelope = {
|
|
17928
|
+
data: CommentCreateManyActivityInput | CommentCreateManyActivityInput[]
|
|
17833
17929
|
skipDuplicates?: boolean
|
|
17834
17930
|
}
|
|
17835
17931
|
|
|
@@ -17882,33 +17978,33 @@ export namespace Prisma {
|
|
|
17882
17978
|
data: XOR<DocumentUpdateManyMutationInput, DocumentUncheckedUpdateManyWithoutActivityInput>
|
|
17883
17979
|
}
|
|
17884
17980
|
|
|
17885
|
-
export type
|
|
17886
|
-
where:
|
|
17887
|
-
update: XOR<
|
|
17888
|
-
create: XOR<
|
|
17981
|
+
export type CommentUpsertWithWhereUniqueWithoutActivityInput = {
|
|
17982
|
+
where: CommentWhereUniqueInput
|
|
17983
|
+
update: XOR<CommentUpdateWithoutActivityInput, CommentUncheckedUpdateWithoutActivityInput>
|
|
17984
|
+
create: XOR<CommentCreateWithoutActivityInput, CommentUncheckedCreateWithoutActivityInput>
|
|
17889
17985
|
}
|
|
17890
17986
|
|
|
17891
|
-
export type
|
|
17892
|
-
where:
|
|
17893
|
-
data: XOR<
|
|
17987
|
+
export type CommentUpdateWithWhereUniqueWithoutActivityInput = {
|
|
17988
|
+
where: CommentWhereUniqueInput
|
|
17989
|
+
data: XOR<CommentUpdateWithoutActivityInput, CommentUncheckedUpdateWithoutActivityInput>
|
|
17894
17990
|
}
|
|
17895
17991
|
|
|
17896
|
-
export type
|
|
17897
|
-
where:
|
|
17898
|
-
data: XOR<
|
|
17992
|
+
export type CommentUpdateManyWithWhereWithoutActivityInput = {
|
|
17993
|
+
where: CommentScalarWhereInput
|
|
17994
|
+
data: XOR<CommentUpdateManyMutationInput, CommentUncheckedUpdateManyWithoutActivityInput>
|
|
17899
17995
|
}
|
|
17900
17996
|
|
|
17901
|
-
export type
|
|
17902
|
-
AND?:
|
|
17903
|
-
OR?:
|
|
17904
|
-
NOT?:
|
|
17905
|
-
id?: StringFilter<"
|
|
17906
|
-
entity_type?: EnumEntityTypeFilter<"
|
|
17907
|
-
user_id?: StringFilter<"
|
|
17908
|
-
content?: StringFilter<"
|
|
17909
|
-
created_at?: DateTimeFilter<"
|
|
17910
|
-
activityId?: StringNullableFilter<"
|
|
17911
|
-
activitySuggestionId?: StringNullableFilter<"
|
|
17997
|
+
export type CommentScalarWhereInput = {
|
|
17998
|
+
AND?: CommentScalarWhereInput | CommentScalarWhereInput[]
|
|
17999
|
+
OR?: CommentScalarWhereInput[]
|
|
18000
|
+
NOT?: CommentScalarWhereInput | CommentScalarWhereInput[]
|
|
18001
|
+
id?: StringFilter<"Comment"> | string
|
|
18002
|
+
entity_type?: EnumEntityTypeFilter<"Comment"> | $Enums.EntityType
|
|
18003
|
+
user_id?: StringFilter<"Comment"> | string
|
|
18004
|
+
content?: StringFilter<"Comment"> | string
|
|
18005
|
+
created_at?: DateTimeFilter<"Comment"> | Date | string
|
|
18006
|
+
activityId?: StringNullableFilter<"Comment"> | string | null
|
|
18007
|
+
activitySuggestionId?: StringNullableFilter<"Comment"> | string | null
|
|
17912
18008
|
}
|
|
17913
18009
|
|
|
17914
18010
|
export type TripCreateWithoutActivitySuggestionsInput = {
|
|
@@ -17974,7 +18070,7 @@ export namespace Prisma {
|
|
|
17974
18070
|
skipDuplicates?: boolean
|
|
17975
18071
|
}
|
|
17976
18072
|
|
|
17977
|
-
export type
|
|
18073
|
+
export type CommentCreateWithoutActivitySuggestionInput = {
|
|
17978
18074
|
id?: string
|
|
17979
18075
|
entity_type: $Enums.EntityType
|
|
17980
18076
|
user_id: string
|
|
@@ -17983,7 +18079,7 @@ export namespace Prisma {
|
|
|
17983
18079
|
activity?: ActivityCreateNestedOneWithoutCommentsInput
|
|
17984
18080
|
}
|
|
17985
18081
|
|
|
17986
|
-
export type
|
|
18082
|
+
export type CommentUncheckedCreateWithoutActivitySuggestionInput = {
|
|
17987
18083
|
id?: string
|
|
17988
18084
|
entity_type: $Enums.EntityType
|
|
17989
18085
|
user_id: string
|
|
@@ -17992,13 +18088,13 @@ export namespace Prisma {
|
|
|
17992
18088
|
activityId?: string | null
|
|
17993
18089
|
}
|
|
17994
18090
|
|
|
17995
|
-
export type
|
|
17996
|
-
where:
|
|
17997
|
-
create: XOR<
|
|
18091
|
+
export type CommentCreateOrConnectWithoutActivitySuggestionInput = {
|
|
18092
|
+
where: CommentWhereUniqueInput
|
|
18093
|
+
create: XOR<CommentCreateWithoutActivitySuggestionInput, CommentUncheckedCreateWithoutActivitySuggestionInput>
|
|
17998
18094
|
}
|
|
17999
18095
|
|
|
18000
|
-
export type
|
|
18001
|
-
data:
|
|
18096
|
+
export type CommentCreateManyActivitySuggestionInputEnvelope = {
|
|
18097
|
+
data: CommentCreateManyActivitySuggestionInput | CommentCreateManyActivitySuggestionInput[]
|
|
18002
18098
|
skipDuplicates?: boolean
|
|
18003
18099
|
}
|
|
18004
18100
|
|
|
@@ -18074,20 +18170,20 @@ export namespace Prisma {
|
|
|
18074
18170
|
voted_at?: DateTimeFilter<"Vote"> | Date | string
|
|
18075
18171
|
}
|
|
18076
18172
|
|
|
18077
|
-
export type
|
|
18078
|
-
where:
|
|
18079
|
-
update: XOR<
|
|
18080
|
-
create: XOR<
|
|
18173
|
+
export type CommentUpsertWithWhereUniqueWithoutActivitySuggestionInput = {
|
|
18174
|
+
where: CommentWhereUniqueInput
|
|
18175
|
+
update: XOR<CommentUpdateWithoutActivitySuggestionInput, CommentUncheckedUpdateWithoutActivitySuggestionInput>
|
|
18176
|
+
create: XOR<CommentCreateWithoutActivitySuggestionInput, CommentUncheckedCreateWithoutActivitySuggestionInput>
|
|
18081
18177
|
}
|
|
18082
18178
|
|
|
18083
|
-
export type
|
|
18084
|
-
where:
|
|
18085
|
-
data: XOR<
|
|
18179
|
+
export type CommentUpdateWithWhereUniqueWithoutActivitySuggestionInput = {
|
|
18180
|
+
where: CommentWhereUniqueInput
|
|
18181
|
+
data: XOR<CommentUpdateWithoutActivitySuggestionInput, CommentUncheckedUpdateWithoutActivitySuggestionInput>
|
|
18086
18182
|
}
|
|
18087
18183
|
|
|
18088
|
-
export type
|
|
18089
|
-
where:
|
|
18090
|
-
data: XOR<
|
|
18184
|
+
export type CommentUpdateManyWithWhereWithoutActivitySuggestionInput = {
|
|
18185
|
+
where: CommentScalarWhereInput
|
|
18186
|
+
data: XOR<CommentUpdateManyMutationInput, CommentUncheckedUpdateManyWithoutActivitySuggestionInput>
|
|
18091
18187
|
}
|
|
18092
18188
|
|
|
18093
18189
|
export type ActivitySuggestionCreateWithoutVotesInput = {
|
|
@@ -18097,7 +18193,7 @@ export namespace Prisma {
|
|
|
18097
18193
|
created_at?: Date | string
|
|
18098
18194
|
status?: $Enums.ActivitySuggestionStatus
|
|
18099
18195
|
trip: TripCreateNestedOneWithoutActivitySuggestionsInput
|
|
18100
|
-
|
|
18196
|
+
comments?: CommentCreateNestedManyWithoutActivitySuggestionInput
|
|
18101
18197
|
}
|
|
18102
18198
|
|
|
18103
18199
|
export type ActivitySuggestionUncheckedCreateWithoutVotesInput = {
|
|
@@ -18107,7 +18203,7 @@ export namespace Prisma {
|
|
|
18107
18203
|
suggested_by: string
|
|
18108
18204
|
created_at?: Date | string
|
|
18109
18205
|
status?: $Enums.ActivitySuggestionStatus
|
|
18110
|
-
|
|
18206
|
+
comments?: CommentUncheckedCreateNestedManyWithoutActivitySuggestionInput
|
|
18111
18207
|
}
|
|
18112
18208
|
|
|
18113
18209
|
export type ActivitySuggestionCreateOrConnectWithoutVotesInput = {
|
|
@@ -18133,7 +18229,7 @@ export namespace Prisma {
|
|
|
18133
18229
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
18134
18230
|
status?: EnumActivitySuggestionStatusFieldUpdateOperationsInput | $Enums.ActivitySuggestionStatus
|
|
18135
18231
|
trip?: TripUpdateOneRequiredWithoutActivitySuggestionsNestedInput
|
|
18136
|
-
|
|
18232
|
+
comments?: CommentUpdateManyWithoutActivitySuggestionNestedInput
|
|
18137
18233
|
}
|
|
18138
18234
|
|
|
18139
18235
|
export type ActivitySuggestionUncheckedUpdateWithoutVotesInput = {
|
|
@@ -18143,7 +18239,7 @@ export namespace Prisma {
|
|
|
18143
18239
|
suggested_by?: StringFieldUpdateOperationsInput | string
|
|
18144
18240
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
18145
18241
|
status?: EnumActivitySuggestionStatusFieldUpdateOperationsInput | $Enums.ActivitySuggestionStatus
|
|
18146
|
-
|
|
18242
|
+
comments?: CommentUncheckedUpdateManyWithoutActivitySuggestionNestedInput
|
|
18147
18243
|
}
|
|
18148
18244
|
|
|
18149
18245
|
export type ActivityCreateWithoutCommentsInput = {
|
|
@@ -18187,7 +18283,7 @@ export namespace Prisma {
|
|
|
18187
18283
|
create: XOR<ActivityCreateWithoutCommentsInput, ActivityUncheckedCreateWithoutCommentsInput>
|
|
18188
18284
|
}
|
|
18189
18285
|
|
|
18190
|
-
export type
|
|
18286
|
+
export type ActivitySuggestionCreateWithoutCommentsInput = {
|
|
18191
18287
|
id?: string
|
|
18192
18288
|
activity_draft: string
|
|
18193
18289
|
suggested_by: string
|
|
@@ -18197,7 +18293,7 @@ export namespace Prisma {
|
|
|
18197
18293
|
votes?: VoteCreateNestedManyWithoutActivitySuggestionInput
|
|
18198
18294
|
}
|
|
18199
18295
|
|
|
18200
|
-
export type
|
|
18296
|
+
export type ActivitySuggestionUncheckedCreateWithoutCommentsInput = {
|
|
18201
18297
|
id?: string
|
|
18202
18298
|
trip_id: string
|
|
18203
18299
|
activity_draft: string
|
|
@@ -18207,9 +18303,9 @@ export namespace Prisma {
|
|
|
18207
18303
|
votes?: VoteUncheckedCreateNestedManyWithoutActivitySuggestionInput
|
|
18208
18304
|
}
|
|
18209
18305
|
|
|
18210
|
-
export type
|
|
18306
|
+
export type ActivitySuggestionCreateOrConnectWithoutCommentsInput = {
|
|
18211
18307
|
where: ActivitySuggestionWhereUniqueInput
|
|
18212
|
-
create: XOR<
|
|
18308
|
+
create: XOR<ActivitySuggestionCreateWithoutCommentsInput, ActivitySuggestionUncheckedCreateWithoutCommentsInput>
|
|
18213
18309
|
}
|
|
18214
18310
|
|
|
18215
18311
|
export type ActivityUpsertWithoutCommentsInput = {
|
|
@@ -18259,18 +18355,18 @@ export namespace Prisma {
|
|
|
18259
18355
|
documents?: DocumentUncheckedUpdateManyWithoutActivityNestedInput
|
|
18260
18356
|
}
|
|
18261
18357
|
|
|
18262
|
-
export type
|
|
18263
|
-
update: XOR<
|
|
18264
|
-
create: XOR<
|
|
18358
|
+
export type ActivitySuggestionUpsertWithoutCommentsInput = {
|
|
18359
|
+
update: XOR<ActivitySuggestionUpdateWithoutCommentsInput, ActivitySuggestionUncheckedUpdateWithoutCommentsInput>
|
|
18360
|
+
create: XOR<ActivitySuggestionCreateWithoutCommentsInput, ActivitySuggestionUncheckedCreateWithoutCommentsInput>
|
|
18265
18361
|
where?: ActivitySuggestionWhereInput
|
|
18266
18362
|
}
|
|
18267
18363
|
|
|
18268
|
-
export type
|
|
18364
|
+
export type ActivitySuggestionUpdateToOneWithWhereWithoutCommentsInput = {
|
|
18269
18365
|
where?: ActivitySuggestionWhereInput
|
|
18270
|
-
data: XOR<
|
|
18366
|
+
data: XOR<ActivitySuggestionUpdateWithoutCommentsInput, ActivitySuggestionUncheckedUpdateWithoutCommentsInput>
|
|
18271
18367
|
}
|
|
18272
18368
|
|
|
18273
|
-
export type
|
|
18369
|
+
export type ActivitySuggestionUpdateWithoutCommentsInput = {
|
|
18274
18370
|
id?: StringFieldUpdateOperationsInput | string
|
|
18275
18371
|
activity_draft?: StringFieldUpdateOperationsInput | string
|
|
18276
18372
|
suggested_by?: StringFieldUpdateOperationsInput | string
|
|
@@ -18280,7 +18376,7 @@ export namespace Prisma {
|
|
|
18280
18376
|
votes?: VoteUpdateManyWithoutActivitySuggestionNestedInput
|
|
18281
18377
|
}
|
|
18282
18378
|
|
|
18283
|
-
export type
|
|
18379
|
+
export type ActivitySuggestionUncheckedUpdateWithoutCommentsInput = {
|
|
18284
18380
|
id?: StringFieldUpdateOperationsInput | string
|
|
18285
18381
|
trip_id?: StringFieldUpdateOperationsInput | string
|
|
18286
18382
|
activity_draft?: StringFieldUpdateOperationsInput | string
|
|
@@ -18371,7 +18467,7 @@ export namespace Prisma {
|
|
|
18371
18467
|
created_at?: Date | string
|
|
18372
18468
|
updated_at?: Date | string
|
|
18373
18469
|
day: DayCreateNestedOneWithoutActivitiesInput
|
|
18374
|
-
comments?:
|
|
18470
|
+
comments?: CommentCreateNestedManyWithoutActivityInput
|
|
18375
18471
|
}
|
|
18376
18472
|
|
|
18377
18473
|
export type ActivityUncheckedCreateWithoutDocumentsInput = {
|
|
@@ -18389,7 +18485,7 @@ export namespace Prisma {
|
|
|
18389
18485
|
status?: $Enums.ActivityStatus
|
|
18390
18486
|
created_at?: Date | string
|
|
18391
18487
|
updated_at?: Date | string
|
|
18392
|
-
comments?:
|
|
18488
|
+
comments?: CommentUncheckedCreateNestedManyWithoutActivityInput
|
|
18393
18489
|
}
|
|
18394
18490
|
|
|
18395
18491
|
export type ActivityCreateOrConnectWithoutDocumentsInput = {
|
|
@@ -18501,7 +18597,7 @@ export namespace Prisma {
|
|
|
18501
18597
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
18502
18598
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
18503
18599
|
day?: DayUpdateOneRequiredWithoutActivitiesNestedInput
|
|
18504
|
-
comments?:
|
|
18600
|
+
comments?: CommentUpdateManyWithoutActivityNestedInput
|
|
18505
18601
|
}
|
|
18506
18602
|
|
|
18507
18603
|
export type ActivityUncheckedUpdateWithoutDocumentsInput = {
|
|
@@ -18519,7 +18615,7 @@ export namespace Prisma {
|
|
|
18519
18615
|
status?: EnumActivityStatusFieldUpdateOperationsInput | $Enums.ActivityStatus
|
|
18520
18616
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
18521
18617
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
18522
|
-
comments?:
|
|
18618
|
+
comments?: CommentUncheckedUpdateManyWithoutActivityNestedInput
|
|
18523
18619
|
}
|
|
18524
18620
|
|
|
18525
18621
|
export type TripCreateWithoutNotificationsInput = {
|
|
@@ -18648,7 +18744,7 @@ export namespace Prisma {
|
|
|
18648
18744
|
id?: string
|
|
18649
18745
|
user_id: string
|
|
18650
18746
|
type: $Enums.NotificationType
|
|
18651
|
-
payload:
|
|
18747
|
+
payload: JsonNullValueInput | InputJsonValue
|
|
18652
18748
|
is_read?: boolean
|
|
18653
18749
|
created_at?: Date | string
|
|
18654
18750
|
}
|
|
@@ -18715,7 +18811,7 @@ export namespace Prisma {
|
|
|
18715
18811
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
18716
18812
|
status?: EnumActivitySuggestionStatusFieldUpdateOperationsInput | $Enums.ActivitySuggestionStatus
|
|
18717
18813
|
votes?: VoteUpdateManyWithoutActivitySuggestionNestedInput
|
|
18718
|
-
|
|
18814
|
+
comments?: CommentUpdateManyWithoutActivitySuggestionNestedInput
|
|
18719
18815
|
}
|
|
18720
18816
|
|
|
18721
18817
|
export type ActivitySuggestionUncheckedUpdateWithoutTripInput = {
|
|
@@ -18725,7 +18821,7 @@ export namespace Prisma {
|
|
|
18725
18821
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
18726
18822
|
status?: EnumActivitySuggestionStatusFieldUpdateOperationsInput | $Enums.ActivitySuggestionStatus
|
|
18727
18823
|
votes?: VoteUncheckedUpdateManyWithoutActivitySuggestionNestedInput
|
|
18728
|
-
|
|
18824
|
+
comments?: CommentUncheckedUpdateManyWithoutActivitySuggestionNestedInput
|
|
18729
18825
|
}
|
|
18730
18826
|
|
|
18731
18827
|
export type ActivitySuggestionUncheckedUpdateManyWithoutTripInput = {
|
|
@@ -18779,7 +18875,7 @@ export namespace Prisma {
|
|
|
18779
18875
|
id?: StringFieldUpdateOperationsInput | string
|
|
18780
18876
|
user_id?: StringFieldUpdateOperationsInput | string
|
|
18781
18877
|
type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
|
|
18782
|
-
payload?:
|
|
18878
|
+
payload?: JsonNullValueInput | InputJsonValue
|
|
18783
18879
|
is_read?: BoolFieldUpdateOperationsInput | boolean
|
|
18784
18880
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
18785
18881
|
}
|
|
@@ -18788,7 +18884,7 @@ export namespace Prisma {
|
|
|
18788
18884
|
id?: StringFieldUpdateOperationsInput | string
|
|
18789
18885
|
user_id?: StringFieldUpdateOperationsInput | string
|
|
18790
18886
|
type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
|
|
18791
|
-
payload?:
|
|
18887
|
+
payload?: JsonNullValueInput | InputJsonValue
|
|
18792
18888
|
is_read?: BoolFieldUpdateOperationsInput | boolean
|
|
18793
18889
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
18794
18890
|
}
|
|
@@ -18797,7 +18893,7 @@ export namespace Prisma {
|
|
|
18797
18893
|
id?: StringFieldUpdateOperationsInput | string
|
|
18798
18894
|
user_id?: StringFieldUpdateOperationsInput | string
|
|
18799
18895
|
type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
|
|
18800
|
-
payload?:
|
|
18896
|
+
payload?: JsonNullValueInput | InputJsonValue
|
|
18801
18897
|
is_read?: BoolFieldUpdateOperationsInput | boolean
|
|
18802
18898
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
18803
18899
|
}
|
|
@@ -18846,7 +18942,7 @@ export namespace Prisma {
|
|
|
18846
18942
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
18847
18943
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
18848
18944
|
documents?: DocumentUpdateManyWithoutActivityNestedInput
|
|
18849
|
-
comments?:
|
|
18945
|
+
comments?: CommentUpdateManyWithoutActivityNestedInput
|
|
18850
18946
|
}
|
|
18851
18947
|
|
|
18852
18948
|
export type ActivityUncheckedUpdateWithoutDayInput = {
|
|
@@ -18864,7 +18960,7 @@ export namespace Prisma {
|
|
|
18864
18960
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
18865
18961
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
18866
18962
|
documents?: DocumentUncheckedUpdateManyWithoutActivityNestedInput
|
|
18867
|
-
comments?:
|
|
18963
|
+
comments?: CommentUncheckedUpdateManyWithoutActivityNestedInput
|
|
18868
18964
|
}
|
|
18869
18965
|
|
|
18870
18966
|
export type ActivityUncheckedUpdateManyWithoutDayInput = {
|
|
@@ -18935,7 +19031,7 @@ export namespace Prisma {
|
|
|
18935
19031
|
dayId?: string | null
|
|
18936
19032
|
}
|
|
18937
19033
|
|
|
18938
|
-
export type
|
|
19034
|
+
export type CommentCreateManyActivityInput = {
|
|
18939
19035
|
id?: string
|
|
18940
19036
|
entity_type: $Enums.EntityType
|
|
18941
19037
|
user_id: string
|
|
@@ -18983,16 +19079,16 @@ export namespace Prisma {
|
|
|
18983
19079
|
dayId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
18984
19080
|
}
|
|
18985
19081
|
|
|
18986
|
-
export type
|
|
19082
|
+
export type CommentUpdateWithoutActivityInput = {
|
|
18987
19083
|
id?: StringFieldUpdateOperationsInput | string
|
|
18988
19084
|
entity_type?: EnumEntityTypeFieldUpdateOperationsInput | $Enums.EntityType
|
|
18989
19085
|
user_id?: StringFieldUpdateOperationsInput | string
|
|
18990
19086
|
content?: StringFieldUpdateOperationsInput | string
|
|
18991
19087
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
18992
|
-
activitySuggestion?:
|
|
19088
|
+
activitySuggestion?: ActivitySuggestionUpdateOneWithoutCommentsNestedInput
|
|
18993
19089
|
}
|
|
18994
19090
|
|
|
18995
|
-
export type
|
|
19091
|
+
export type CommentUncheckedUpdateWithoutActivityInput = {
|
|
18996
19092
|
id?: StringFieldUpdateOperationsInput | string
|
|
18997
19093
|
entity_type?: EnumEntityTypeFieldUpdateOperationsInput | $Enums.EntityType
|
|
18998
19094
|
user_id?: StringFieldUpdateOperationsInput | string
|
|
@@ -19001,7 +19097,7 @@ export namespace Prisma {
|
|
|
19001
19097
|
activitySuggestionId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
19002
19098
|
}
|
|
19003
19099
|
|
|
19004
|
-
export type
|
|
19100
|
+
export type CommentUncheckedUpdateManyWithoutActivityInput = {
|
|
19005
19101
|
id?: StringFieldUpdateOperationsInput | string
|
|
19006
19102
|
entity_type?: EnumEntityTypeFieldUpdateOperationsInput | $Enums.EntityType
|
|
19007
19103
|
user_id?: StringFieldUpdateOperationsInput | string
|
|
@@ -19017,7 +19113,7 @@ export namespace Prisma {
|
|
|
19017
19113
|
voted_at?: Date | string
|
|
19018
19114
|
}
|
|
19019
19115
|
|
|
19020
|
-
export type
|
|
19116
|
+
export type CommentCreateManyActivitySuggestionInput = {
|
|
19021
19117
|
id?: string
|
|
19022
19118
|
entity_type: $Enums.EntityType
|
|
19023
19119
|
user_id: string
|
|
@@ -19047,7 +19143,7 @@ export namespace Prisma {
|
|
|
19047
19143
|
voted_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
19048
19144
|
}
|
|
19049
19145
|
|
|
19050
|
-
export type
|
|
19146
|
+
export type CommentUpdateWithoutActivitySuggestionInput = {
|
|
19051
19147
|
id?: StringFieldUpdateOperationsInput | string
|
|
19052
19148
|
entity_type?: EnumEntityTypeFieldUpdateOperationsInput | $Enums.EntityType
|
|
19053
19149
|
user_id?: StringFieldUpdateOperationsInput | string
|
|
@@ -19056,7 +19152,7 @@ export namespace Prisma {
|
|
|
19056
19152
|
activity?: ActivityUpdateOneWithoutCommentsNestedInput
|
|
19057
19153
|
}
|
|
19058
19154
|
|
|
19059
|
-
export type
|
|
19155
|
+
export type CommentUncheckedUpdateWithoutActivitySuggestionInput = {
|
|
19060
19156
|
id?: StringFieldUpdateOperationsInput | string
|
|
19061
19157
|
entity_type?: EnumEntityTypeFieldUpdateOperationsInput | $Enums.EntityType
|
|
19062
19158
|
user_id?: StringFieldUpdateOperationsInput | string
|
|
@@ -19065,7 +19161,7 @@ export namespace Prisma {
|
|
|
19065
19161
|
activityId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
19066
19162
|
}
|
|
19067
19163
|
|
|
19068
|
-
export type
|
|
19164
|
+
export type CommentUncheckedUpdateManyWithoutActivitySuggestionInput = {
|
|
19069
19165
|
id?: StringFieldUpdateOperationsInput | string
|
|
19070
19166
|
entity_type?: EnumEntityTypeFieldUpdateOperationsInput | $Enums.EntityType
|
|
19071
19167
|
user_id?: StringFieldUpdateOperationsInput | string
|