@optimatech88/titomeet-shared-lib 1.0.56 → 1.1.1
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/.env +2 -0
- package/dist/auth/admin.middleware.d.ts +1 -1
- package/dist/auth/admin.middleware.d.ts.map +1 -1
- package/dist/auth/admin.middleware.js +7 -11
- package/dist/auth/admin.middleware.js.map +1 -1
- package/dist/auth/auth.guard.d.ts.map +1 -1
- package/dist/auth/auth.guard.js +46 -41
- package/dist/auth/auth.guard.js.map +1 -1
- package/dist/auth/auth.module.d.ts +1 -1
- package/dist/auth/auth.module.d.ts.map +1 -1
- package/dist/auth/auth.module.js +8 -11
- package/dist/auth/auth.module.js.map +1 -1
- package/dist/cache/cache.module.js +12 -18
- package/dist/cache/cache.module.js.map +1 -1
- package/dist/cache/cache.service.js +8 -10
- package/dist/cache/cache.service.js.map +1 -1
- package/dist/generated/prisma/client.d.ts +33 -0
- package/dist/generated/prisma/client.d.ts.map +1 -0
- package/dist/generated/prisma/client.js +10 -0
- package/dist/generated/prisma/client.js.map +1 -0
- package/dist/generated/prisma/commonInputTypes.d.ts +966 -0
- package/dist/generated/prisma/commonInputTypes.d.ts.map +1 -0
- package/dist/generated/prisma/commonInputTypes.js +2 -0
- package/dist/generated/prisma/commonInputTypes.js.map +1 -0
- package/dist/generated/prisma/enums.d.ts +111 -0
- package/dist/generated/prisma/enums.d.ts.map +1 -0
- package/dist/generated/prisma/enums.js +93 -0
- package/dist/generated/prisma/enums.js.map +1 -0
- package/dist/generated/prisma/internal/class.d.ts +105 -0
- package/dist/generated/prisma/internal/class.d.ts.map +1 -0
- package/dist/generated/prisma/internal/class.js +39 -0
- package/dist/generated/prisma/internal/class.js.map +1 -0
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +2426 -0
- package/dist/generated/prisma/internal/prismaNamespace.d.ts.map +1 -0
- package/dist/generated/prisma/internal/prismaNamespace.js +338 -0
- package/dist/generated/prisma/internal/prismaNamespace.js.map +1 -0
- package/dist/generated/prisma/models/Account.d.ts +582 -0
- package/dist/generated/prisma/models/Account.d.ts.map +1 -0
- package/dist/generated/prisma/models/Account.js +2 -0
- package/dist/generated/prisma/models/Account.js.map +1 -0
- package/dist/generated/prisma/models/Address.d.ts +930 -0
- package/dist/generated/prisma/models/Address.d.ts.map +1 -0
- package/dist/generated/prisma/models/Address.js +2 -0
- package/dist/generated/prisma/models/Address.js.map +1 -0
- package/dist/generated/prisma/models/Chat.d.ts +788 -0
- package/dist/generated/prisma/models/Chat.d.ts.map +1 -0
- package/dist/generated/prisma/models/Chat.js +2 -0
- package/dist/generated/prisma/models/Chat.js.map +1 -0
- package/dist/generated/prisma/models/ChatUser.d.ts +648 -0
- package/dist/generated/prisma/models/ChatUser.d.ts.map +1 -0
- package/dist/generated/prisma/models/ChatUser.js +2 -0
- package/dist/generated/prisma/models/ChatUser.js.map +1 -0
- package/dist/generated/prisma/models/Country.d.ts +543 -0
- package/dist/generated/prisma/models/Country.d.ts.map +1 -0
- package/dist/generated/prisma/models/Country.js +2 -0
- package/dist/generated/prisma/models/Country.js.map +1 -0
- package/dist/generated/prisma/models/Event.d.ts +3206 -0
- package/dist/generated/prisma/models/Event.d.ts.map +1 -0
- package/dist/generated/prisma/models/Event.js +2 -0
- package/dist/generated/prisma/models/Event.js.map +1 -0
- package/dist/generated/prisma/models/EventCategory.d.ts +1004 -0
- package/dist/generated/prisma/models/EventCategory.d.ts.map +1 -0
- package/dist/generated/prisma/models/EventCategory.js +2 -0
- package/dist/generated/prisma/models/EventCategory.js.map +1 -0
- package/dist/generated/prisma/models/EventPrice.d.ts +798 -0
- package/dist/generated/prisma/models/EventPrice.d.ts.map +1 -0
- package/dist/generated/prisma/models/EventPrice.js +2 -0
- package/dist/generated/prisma/models/EventPrice.js.map +1 -0
- package/dist/generated/prisma/models/Favorite.d.ts +648 -0
- package/dist/generated/prisma/models/Favorite.d.ts.map +1 -0
- package/dist/generated/prisma/models/Favorite.js +2 -0
- package/dist/generated/prisma/models/Favorite.js.map +1 -0
- package/dist/generated/prisma/models/Feedback.d.ts +682 -0
- package/dist/generated/prisma/models/Feedback.d.ts.map +1 -0
- package/dist/generated/prisma/models/Feedback.js +2 -0
- package/dist/generated/prisma/models/Feedback.js.map +1 -0
- package/dist/generated/prisma/models/Message.d.ts +724 -0
- package/dist/generated/prisma/models/Message.d.ts.map +1 -0
- package/dist/generated/prisma/models/Message.js +2 -0
- package/dist/generated/prisma/models/Message.js.map +1 -0
- package/dist/generated/prisma/models/Newsletter.d.ts +404 -0
- package/dist/generated/prisma/models/Newsletter.d.ts.map +1 -0
- package/dist/generated/prisma/models/Newsletter.js +2 -0
- package/dist/generated/prisma/models/Newsletter.js.map +1 -0
- package/dist/generated/prisma/models/Notification.d.ts +775 -0
- package/dist/generated/prisma/models/Notification.d.ts.map +1 -0
- package/dist/generated/prisma/models/Notification.js +2 -0
- package/dist/generated/prisma/models/Notification.js.map +1 -0
- package/dist/generated/prisma/models/Order.d.ts +1009 -0
- package/dist/generated/prisma/models/Order.d.ts.map +1 -0
- package/dist/generated/prisma/models/Order.js +2 -0
- package/dist/generated/prisma/models/Order.js.map +1 -0
- package/dist/generated/prisma/models/OrderItem.d.ts +806 -0
- package/dist/generated/prisma/models/OrderItem.d.ts.map +1 -0
- package/dist/generated/prisma/models/OrderItem.js +2 -0
- package/dist/generated/prisma/models/OrderItem.js.map +1 -0
- package/dist/generated/prisma/models/Pricing.d.ts +739 -0
- package/dist/generated/prisma/models/Pricing.d.ts.map +1 -0
- package/dist/generated/prisma/models/Pricing.js +2 -0
- package/dist/generated/prisma/models/Pricing.js.map +1 -0
- package/dist/generated/prisma/models/Provider.d.ts +1650 -0
- package/dist/generated/prisma/models/Provider.d.ts.map +1 -0
- package/dist/generated/prisma/models/Provider.js +2 -0
- package/dist/generated/prisma/models/Provider.js.map +1 -0
- package/dist/generated/prisma/models/ProviderCategory.d.ts +830 -0
- package/dist/generated/prisma/models/ProviderCategory.d.ts.map +1 -0
- package/dist/generated/prisma/models/ProviderCategory.js +2 -0
- package/dist/generated/prisma/models/ProviderCategory.js.map +1 -0
- package/dist/generated/prisma/models/ProviderOnEvent.d.ts +693 -0
- package/dist/generated/prisma/models/ProviderOnEvent.d.ts.map +1 -0
- package/dist/generated/prisma/models/ProviderOnEvent.js +2 -0
- package/dist/generated/prisma/models/ProviderOnEvent.js.map +1 -0
- package/dist/generated/prisma/models/Report.d.ts +689 -0
- package/dist/generated/prisma/models/Report.d.ts.map +1 -0
- package/dist/generated/prisma/models/Report.js +2 -0
- package/dist/generated/prisma/models/Report.js.map +1 -0
- package/dist/generated/prisma/models/Review.d.ts +758 -0
- package/dist/generated/prisma/models/Review.d.ts.map +1 -0
- package/dist/generated/prisma/models/Review.js +2 -0
- package/dist/generated/prisma/models/Review.js.map +1 -0
- package/dist/generated/prisma/models/Transaction.d.ts +894 -0
- package/dist/generated/prisma/models/Transaction.d.ts.map +1 -0
- package/dist/generated/prisma/models/Transaction.js +2 -0
- package/dist/generated/prisma/models/Transaction.js.map +1 -0
- package/dist/generated/prisma/models/User.d.ts +2966 -0
- package/dist/generated/prisma/models/User.d.ts.map +1 -0
- package/dist/generated/prisma/models/User.js +2 -0
- package/dist/generated/prisma/models/User.js.map +1 -0
- package/dist/generated/prisma/models/UserInterests.d.ts +605 -0
- package/dist/generated/prisma/models/UserInterests.d.ts.map +1 -0
- package/dist/generated/prisma/models/UserInterests.js +2 -0
- package/dist/generated/prisma/models/UserInterests.js.map +1 -0
- package/dist/generated/prisma/models.d.ts +26 -0
- package/dist/generated/prisma/models.d.ts.map +1 -0
- package/dist/generated/prisma/models.js +2 -0
- package/dist/generated/prisma/models.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -51
- package/dist/index.js.map +1 -1
- package/dist/prisma/prisma.module.js +8 -11
- package/dist/prisma/prisma.module.js.map +1 -1
- package/dist/prisma/prisma.service.d.ts +2 -1
- package/dist/prisma/prisma.service.d.ts.map +1 -1
- package/dist/prisma/prisma.service.js +17 -9
- package/dist/prisma/prisma.service.js.map +1 -1
- package/dist/prisma/seed.js +6 -4
- package/dist/prisma/seed.js.map +1 -1
- package/dist/src/auth/admin.middleware.d.ts +11 -0
- package/dist/src/auth/admin.middleware.d.ts.map +1 -0
- package/dist/src/auth/admin.middleware.js +22 -0
- package/dist/src/auth/admin.middleware.js.map +1 -0
- package/dist/src/auth/auth.guard.d.ts +25 -0
- package/dist/src/auth/auth.guard.d.ts.map +1 -0
- package/dist/src/auth/auth.guard.js +137 -0
- package/dist/src/auth/auth.guard.js.map +1 -0
- package/dist/src/auth/auth.module.d.ts +9 -0
- package/dist/src/auth/auth.module.d.ts.map +1 -0
- package/dist/src/auth/auth.module.js +30 -0
- package/dist/src/auth/auth.module.js.map +1 -0
- package/dist/src/cache/cache.module.d.ts +5 -0
- package/dist/src/cache/cache.module.d.ts.map +1 -0
- package/dist/src/cache/cache.module.js +35 -0
- package/dist/src/cache/cache.module.js.map +1 -0
- package/dist/src/cache/cache.service.d.ts +9 -0
- package/dist/src/cache/cache.service.d.ts.map +1 -0
- package/dist/src/cache/cache.service.js +36 -0
- package/dist/src/cache/cache.service.js.map +1 -0
- package/dist/src/index.d.ts +16 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +16 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/prisma/prisma.module.d.ts +3 -0
- package/dist/src/prisma/prisma.module.d.ts.map +1 -0
- package/dist/src/prisma/prisma.module.js +19 -0
- package/dist/src/prisma/prisma.module.js.map +1 -0
- package/dist/src/prisma/prisma.service.d.ts +8 -0
- package/dist/src/prisma/prisma.service.d.ts.map +1 -0
- package/dist/src/prisma/prisma.service.js +32 -0
- package/dist/src/prisma/prisma.service.js.map +1 -0
- package/dist/src/prisma/seed.d.ts +2 -0
- package/dist/src/prisma/seed.d.ts.map +1 -0
- package/dist/src/prisma/seed.js +75 -0
- package/dist/src/prisma/seed.js.map +1 -0
- package/dist/src/types/index.d.ts +12 -0
- package/dist/src/types/index.d.ts.map +1 -0
- package/dist/src/types/index.js +2 -0
- package/dist/src/types/index.js.map +1 -0
- package/dist/src/utils/api/endpoints.d.ts +7 -0
- package/dist/src/utils/api/endpoints.d.ts.map +1 -0
- package/dist/src/utils/api/endpoints.js +7 -0
- package/dist/src/utils/api/endpoints.js.map +1 -0
- package/dist/src/utils/constants.d.ts +3 -0
- package/dist/src/utils/constants.d.ts.map +1 -0
- package/dist/src/utils/constants.js +12 -0
- package/dist/src/utils/constants.js.map +1 -0
- package/dist/src/utils/events.d.ts +7 -0
- package/dist/src/utils/events.d.ts.map +1 -0
- package/dist/src/utils/events.js +7 -0
- package/dist/src/utils/events.js.map +1 -0
- package/dist/src/utils/index.d.ts +8 -0
- package/dist/src/utils/index.d.ts.map +1 -0
- package/dist/src/utils/index.js +9 -0
- package/dist/src/utils/index.js.map +1 -0
- package/dist/types/index.js +1 -2
- package/dist/utils/api/endpoints.js +3 -6
- package/dist/utils/api/endpoints.js.map +1 -1
- package/dist/utils/constants.js +2 -5
- package/dist/utils/constants.js.map +1 -1
- package/dist/utils/events.js +1 -4
- package/dist/utils/events.js.map +1 -1
- package/dist/utils/index.js +2 -7
- package/dist/utils/index.js.map +1 -1
- package/package.json +25 -20
- package/prisma/schema.prisma +3 -2
- package/prisma.config.ts +13 -0
- package/src/auth/admin.middleware.ts +2 -1
- package/src/auth/auth.guard.ts +11 -4
- package/src/auth/auth.module.ts +1 -1
- package/src/generated/prisma/browser.ts +139 -0
- package/src/generated/prisma/client.ts +163 -0
- package/src/generated/prisma/commonInputTypes.ts +1102 -0
- package/src/generated/prisma/enums.ts +173 -0
- package/src/generated/prisma/internal/class.ts +434 -0
- package/src/generated/prisma/internal/prismaNamespace.ts +3141 -0
- package/src/generated/prisma/internal/prismaNamespaceBrowser.ts +489 -0
- package/src/generated/prisma/models/Account.ts +1384 -0
- package/src/generated/prisma/models/Address.ts +1791 -0
- package/src/generated/prisma/models/Chat.ts +1676 -0
- package/src/generated/prisma/models/ChatUser.ts +1465 -0
- package/src/generated/prisma/models/Country.ts +1361 -0
- package/src/generated/prisma/models/Event.ts +4258 -0
- package/src/generated/prisma/models/EventCategory.ts +1919 -0
- package/src/generated/prisma/models/EventPrice.ts +1657 -0
- package/src/generated/prisma/models/Favorite.ts +1465 -0
- package/src/generated/prisma/models/Feedback.ts +1513 -0
- package/src/generated/prisma/models/Message.ts +1541 -0
- package/src/generated/prisma/models/Newsletter.ts +1153 -0
- package/src/generated/prisma/models/Notification.ts +1605 -0
- package/src/generated/prisma/models/Order.ts +1883 -0
- package/src/generated/prisma/models/OrderItem.ts +1641 -0
- package/src/generated/prisma/models/Pricing.ts +1576 -0
- package/src/generated/prisma/models/Provider.ts +2577 -0
- package/src/generated/prisma/models/ProviderCategory.ts +1712 -0
- package/src/generated/prisma/models/ProviderOnEvent.ts +1510 -0
- package/src/generated/prisma/models/Report.ts +1506 -0
- package/src/generated/prisma/models/Review.ts +1591 -0
- package/src/generated/prisma/models/Transaction.ts +1741 -0
- package/src/generated/prisma/models/User.ts +4124 -0
- package/src/generated/prisma/models/UserInterests.ts +1447 -0
- package/src/generated/prisma/models.ts +35 -0
- package/src/index.ts +1 -1
- package/src/prisma/prisma.service.ts +10 -1
- package/src/prisma/seed.ts +8 -3
- package/tsconfig.json +13 -7
|
@@ -0,0 +1,1919 @@
|
|
|
1
|
+
|
|
2
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// biome-ignore-all lint: generated file
|
|
5
|
+
// @ts-nocheck
|
|
6
|
+
/*
|
|
7
|
+
* This file exports the `EventCategory` model and its related types.
|
|
8
|
+
*
|
|
9
|
+
* 🟢 You can import this file directly.
|
|
10
|
+
*/
|
|
11
|
+
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
+
import type * as $Enums from "../enums"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace"
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Model EventCategory
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type EventCategoryModel = runtime.Types.Result.DefaultSelection<Prisma.$EventCategoryPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateEventCategory = {
|
|
22
|
+
_count: EventCategoryCountAggregateOutputType | null
|
|
23
|
+
_min: EventCategoryMinAggregateOutputType | null
|
|
24
|
+
_max: EventCategoryMaxAggregateOutputType | null
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type EventCategoryMinAggregateOutputType = {
|
|
28
|
+
id: string | null
|
|
29
|
+
name: string | null
|
|
30
|
+
description: string | null
|
|
31
|
+
createdAt: Date | null
|
|
32
|
+
updatedAt: Date | null
|
|
33
|
+
active: boolean | null
|
|
34
|
+
parentId: string | null
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type EventCategoryMaxAggregateOutputType = {
|
|
38
|
+
id: string | null
|
|
39
|
+
name: string | null
|
|
40
|
+
description: string | null
|
|
41
|
+
createdAt: Date | null
|
|
42
|
+
updatedAt: Date | null
|
|
43
|
+
active: boolean | null
|
|
44
|
+
parentId: string | null
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export type EventCategoryCountAggregateOutputType = {
|
|
48
|
+
id: number
|
|
49
|
+
name: number
|
|
50
|
+
description: number
|
|
51
|
+
createdAt: number
|
|
52
|
+
updatedAt: number
|
|
53
|
+
active: number
|
|
54
|
+
parentId: number
|
|
55
|
+
_all: number
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
export type EventCategoryMinAggregateInputType = {
|
|
60
|
+
id?: true
|
|
61
|
+
name?: true
|
|
62
|
+
description?: true
|
|
63
|
+
createdAt?: true
|
|
64
|
+
updatedAt?: true
|
|
65
|
+
active?: true
|
|
66
|
+
parentId?: true
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export type EventCategoryMaxAggregateInputType = {
|
|
70
|
+
id?: true
|
|
71
|
+
name?: true
|
|
72
|
+
description?: true
|
|
73
|
+
createdAt?: true
|
|
74
|
+
updatedAt?: true
|
|
75
|
+
active?: true
|
|
76
|
+
parentId?: true
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export type EventCategoryCountAggregateInputType = {
|
|
80
|
+
id?: true
|
|
81
|
+
name?: true
|
|
82
|
+
description?: true
|
|
83
|
+
createdAt?: true
|
|
84
|
+
updatedAt?: true
|
|
85
|
+
active?: true
|
|
86
|
+
parentId?: true
|
|
87
|
+
_all?: true
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export type EventCategoryAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
91
|
+
/**
|
|
92
|
+
* Filter which EventCategory to aggregate.
|
|
93
|
+
*/
|
|
94
|
+
where?: Prisma.EventCategoryWhereInput
|
|
95
|
+
/**
|
|
96
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
97
|
+
*
|
|
98
|
+
* Determine the order of EventCategories to fetch.
|
|
99
|
+
*/
|
|
100
|
+
orderBy?: Prisma.EventCategoryOrderByWithRelationInput | Prisma.EventCategoryOrderByWithRelationInput[]
|
|
101
|
+
/**
|
|
102
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
103
|
+
*
|
|
104
|
+
* Sets the start position
|
|
105
|
+
*/
|
|
106
|
+
cursor?: Prisma.EventCategoryWhereUniqueInput
|
|
107
|
+
/**
|
|
108
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
109
|
+
*
|
|
110
|
+
* Take `±n` EventCategories from the position of the cursor.
|
|
111
|
+
*/
|
|
112
|
+
take?: number
|
|
113
|
+
/**
|
|
114
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
115
|
+
*
|
|
116
|
+
* Skip the first `n` EventCategories.
|
|
117
|
+
*/
|
|
118
|
+
skip?: number
|
|
119
|
+
/**
|
|
120
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
121
|
+
*
|
|
122
|
+
* Count returned EventCategories
|
|
123
|
+
**/
|
|
124
|
+
_count?: true | EventCategoryCountAggregateInputType
|
|
125
|
+
/**
|
|
126
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
127
|
+
*
|
|
128
|
+
* Select which fields to find the minimum value
|
|
129
|
+
**/
|
|
130
|
+
_min?: EventCategoryMinAggregateInputType
|
|
131
|
+
/**
|
|
132
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
133
|
+
*
|
|
134
|
+
* Select which fields to find the maximum value
|
|
135
|
+
**/
|
|
136
|
+
_max?: EventCategoryMaxAggregateInputType
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export type GetEventCategoryAggregateType<T extends EventCategoryAggregateArgs> = {
|
|
140
|
+
[P in keyof T & keyof AggregateEventCategory]: P extends '_count' | 'count'
|
|
141
|
+
? T[P] extends true
|
|
142
|
+
? number
|
|
143
|
+
: Prisma.GetScalarType<T[P], AggregateEventCategory[P]>
|
|
144
|
+
: Prisma.GetScalarType<T[P], AggregateEventCategory[P]>
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
export type EventCategoryGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
151
|
+
where?: Prisma.EventCategoryWhereInput
|
|
152
|
+
orderBy?: Prisma.EventCategoryOrderByWithAggregationInput | Prisma.EventCategoryOrderByWithAggregationInput[]
|
|
153
|
+
by: Prisma.EventCategoryScalarFieldEnum[] | Prisma.EventCategoryScalarFieldEnum
|
|
154
|
+
having?: Prisma.EventCategoryScalarWhereWithAggregatesInput
|
|
155
|
+
take?: number
|
|
156
|
+
skip?: number
|
|
157
|
+
_count?: EventCategoryCountAggregateInputType | true
|
|
158
|
+
_min?: EventCategoryMinAggregateInputType
|
|
159
|
+
_max?: EventCategoryMaxAggregateInputType
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
export type EventCategoryGroupByOutputType = {
|
|
163
|
+
id: string
|
|
164
|
+
name: string
|
|
165
|
+
description: string | null
|
|
166
|
+
createdAt: Date
|
|
167
|
+
updatedAt: Date
|
|
168
|
+
active: boolean
|
|
169
|
+
parentId: string | null
|
|
170
|
+
_count: EventCategoryCountAggregateOutputType | null
|
|
171
|
+
_min: EventCategoryMinAggregateOutputType | null
|
|
172
|
+
_max: EventCategoryMaxAggregateOutputType | null
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export type GetEventCategoryGroupByPayload<T extends EventCategoryGroupByArgs> = Prisma.PrismaPromise<
|
|
176
|
+
Array<
|
|
177
|
+
Prisma.PickEnumerable<EventCategoryGroupByOutputType, T['by']> &
|
|
178
|
+
{
|
|
179
|
+
[P in ((keyof T) & (keyof EventCategoryGroupByOutputType))]: P extends '_count'
|
|
180
|
+
? T[P] extends boolean
|
|
181
|
+
? number
|
|
182
|
+
: Prisma.GetScalarType<T[P], EventCategoryGroupByOutputType[P]>
|
|
183
|
+
: Prisma.GetScalarType<T[P], EventCategoryGroupByOutputType[P]>
|
|
184
|
+
}
|
|
185
|
+
>
|
|
186
|
+
>
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
export type EventCategoryWhereInput = {
|
|
191
|
+
AND?: Prisma.EventCategoryWhereInput | Prisma.EventCategoryWhereInput[]
|
|
192
|
+
OR?: Prisma.EventCategoryWhereInput[]
|
|
193
|
+
NOT?: Prisma.EventCategoryWhereInput | Prisma.EventCategoryWhereInput[]
|
|
194
|
+
id?: Prisma.StringFilter<"EventCategory"> | string
|
|
195
|
+
name?: Prisma.StringFilter<"EventCategory"> | string
|
|
196
|
+
description?: Prisma.StringNullableFilter<"EventCategory"> | string | null
|
|
197
|
+
createdAt?: Prisma.DateTimeFilter<"EventCategory"> | Date | string
|
|
198
|
+
updatedAt?: Prisma.DateTimeFilter<"EventCategory"> | Date | string
|
|
199
|
+
active?: Prisma.BoolFilter<"EventCategory"> | boolean
|
|
200
|
+
parentId?: Prisma.StringNullableFilter<"EventCategory"> | string | null
|
|
201
|
+
events?: Prisma.EventListRelationFilter
|
|
202
|
+
userInterests?: Prisma.UserInterestsListRelationFilter
|
|
203
|
+
parent?: Prisma.XOR<Prisma.EventCategoryNullableScalarRelationFilter, Prisma.EventCategoryWhereInput> | null
|
|
204
|
+
children?: Prisma.EventCategoryListRelationFilter
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
export type EventCategoryOrderByWithRelationInput = {
|
|
208
|
+
id?: Prisma.SortOrder
|
|
209
|
+
name?: Prisma.SortOrder
|
|
210
|
+
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
211
|
+
createdAt?: Prisma.SortOrder
|
|
212
|
+
updatedAt?: Prisma.SortOrder
|
|
213
|
+
active?: Prisma.SortOrder
|
|
214
|
+
parentId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
215
|
+
events?: Prisma.EventOrderByRelationAggregateInput
|
|
216
|
+
userInterests?: Prisma.UserInterestsOrderByRelationAggregateInput
|
|
217
|
+
parent?: Prisma.EventCategoryOrderByWithRelationInput
|
|
218
|
+
children?: Prisma.EventCategoryOrderByRelationAggregateInput
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
export type EventCategoryWhereUniqueInput = Prisma.AtLeast<{
|
|
222
|
+
id?: string
|
|
223
|
+
name?: string
|
|
224
|
+
AND?: Prisma.EventCategoryWhereInput | Prisma.EventCategoryWhereInput[]
|
|
225
|
+
OR?: Prisma.EventCategoryWhereInput[]
|
|
226
|
+
NOT?: Prisma.EventCategoryWhereInput | Prisma.EventCategoryWhereInput[]
|
|
227
|
+
description?: Prisma.StringNullableFilter<"EventCategory"> | string | null
|
|
228
|
+
createdAt?: Prisma.DateTimeFilter<"EventCategory"> | Date | string
|
|
229
|
+
updatedAt?: Prisma.DateTimeFilter<"EventCategory"> | Date | string
|
|
230
|
+
active?: Prisma.BoolFilter<"EventCategory"> | boolean
|
|
231
|
+
parentId?: Prisma.StringNullableFilter<"EventCategory"> | string | null
|
|
232
|
+
events?: Prisma.EventListRelationFilter
|
|
233
|
+
userInterests?: Prisma.UserInterestsListRelationFilter
|
|
234
|
+
parent?: Prisma.XOR<Prisma.EventCategoryNullableScalarRelationFilter, Prisma.EventCategoryWhereInput> | null
|
|
235
|
+
children?: Prisma.EventCategoryListRelationFilter
|
|
236
|
+
}, "id" | "name">
|
|
237
|
+
|
|
238
|
+
export type EventCategoryOrderByWithAggregationInput = {
|
|
239
|
+
id?: Prisma.SortOrder
|
|
240
|
+
name?: Prisma.SortOrder
|
|
241
|
+
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
242
|
+
createdAt?: Prisma.SortOrder
|
|
243
|
+
updatedAt?: Prisma.SortOrder
|
|
244
|
+
active?: Prisma.SortOrder
|
|
245
|
+
parentId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
246
|
+
_count?: Prisma.EventCategoryCountOrderByAggregateInput
|
|
247
|
+
_max?: Prisma.EventCategoryMaxOrderByAggregateInput
|
|
248
|
+
_min?: Prisma.EventCategoryMinOrderByAggregateInput
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
export type EventCategoryScalarWhereWithAggregatesInput = {
|
|
252
|
+
AND?: Prisma.EventCategoryScalarWhereWithAggregatesInput | Prisma.EventCategoryScalarWhereWithAggregatesInput[]
|
|
253
|
+
OR?: Prisma.EventCategoryScalarWhereWithAggregatesInput[]
|
|
254
|
+
NOT?: Prisma.EventCategoryScalarWhereWithAggregatesInput | Prisma.EventCategoryScalarWhereWithAggregatesInput[]
|
|
255
|
+
id?: Prisma.StringWithAggregatesFilter<"EventCategory"> | string
|
|
256
|
+
name?: Prisma.StringWithAggregatesFilter<"EventCategory"> | string
|
|
257
|
+
description?: Prisma.StringNullableWithAggregatesFilter<"EventCategory"> | string | null
|
|
258
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"EventCategory"> | Date | string
|
|
259
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"EventCategory"> | Date | string
|
|
260
|
+
active?: Prisma.BoolWithAggregatesFilter<"EventCategory"> | boolean
|
|
261
|
+
parentId?: Prisma.StringNullableWithAggregatesFilter<"EventCategory"> | string | null
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
export type EventCategoryCreateInput = {
|
|
265
|
+
id?: string
|
|
266
|
+
name: string
|
|
267
|
+
description?: string | null
|
|
268
|
+
createdAt?: Date | string
|
|
269
|
+
updatedAt?: Date | string
|
|
270
|
+
active?: boolean
|
|
271
|
+
events?: Prisma.EventCreateNestedManyWithoutCategoriesInput
|
|
272
|
+
userInterests?: Prisma.UserInterestsCreateNestedManyWithoutInterestsInput
|
|
273
|
+
parent?: Prisma.EventCategoryCreateNestedOneWithoutChildrenInput
|
|
274
|
+
children?: Prisma.EventCategoryCreateNestedManyWithoutParentInput
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
export type EventCategoryUncheckedCreateInput = {
|
|
278
|
+
id?: string
|
|
279
|
+
name: string
|
|
280
|
+
description?: string | null
|
|
281
|
+
createdAt?: Date | string
|
|
282
|
+
updatedAt?: Date | string
|
|
283
|
+
active?: boolean
|
|
284
|
+
parentId?: string | null
|
|
285
|
+
events?: Prisma.EventUncheckedCreateNestedManyWithoutCategoriesInput
|
|
286
|
+
userInterests?: Prisma.UserInterestsUncheckedCreateNestedManyWithoutInterestsInput
|
|
287
|
+
children?: Prisma.EventCategoryUncheckedCreateNestedManyWithoutParentInput
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
export type EventCategoryUpdateInput = {
|
|
291
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
292
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
293
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
294
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
295
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
296
|
+
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
297
|
+
events?: Prisma.EventUpdateManyWithoutCategoriesNestedInput
|
|
298
|
+
userInterests?: Prisma.UserInterestsUpdateManyWithoutInterestsNestedInput
|
|
299
|
+
parent?: Prisma.EventCategoryUpdateOneWithoutChildrenNestedInput
|
|
300
|
+
children?: Prisma.EventCategoryUpdateManyWithoutParentNestedInput
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
export type EventCategoryUncheckedUpdateInput = {
|
|
304
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
305
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
306
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
307
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
308
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
309
|
+
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
310
|
+
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
311
|
+
events?: Prisma.EventUncheckedUpdateManyWithoutCategoriesNestedInput
|
|
312
|
+
userInterests?: Prisma.UserInterestsUncheckedUpdateManyWithoutInterestsNestedInput
|
|
313
|
+
children?: Prisma.EventCategoryUncheckedUpdateManyWithoutParentNestedInput
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
export type EventCategoryCreateManyInput = {
|
|
317
|
+
id?: string
|
|
318
|
+
name: string
|
|
319
|
+
description?: string | null
|
|
320
|
+
createdAt?: Date | string
|
|
321
|
+
updatedAt?: Date | string
|
|
322
|
+
active?: boolean
|
|
323
|
+
parentId?: string | null
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
export type EventCategoryUpdateManyMutationInput = {
|
|
327
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
328
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
329
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
330
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
331
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
332
|
+
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
export type EventCategoryUncheckedUpdateManyInput = {
|
|
336
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
337
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
338
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
339
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
340
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
341
|
+
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
342
|
+
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
export type EventCategoryNullableScalarRelationFilter = {
|
|
346
|
+
is?: Prisma.EventCategoryWhereInput | null
|
|
347
|
+
isNot?: Prisma.EventCategoryWhereInput | null
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
export type EventCategoryListRelationFilter = {
|
|
351
|
+
every?: Prisma.EventCategoryWhereInput
|
|
352
|
+
some?: Prisma.EventCategoryWhereInput
|
|
353
|
+
none?: Prisma.EventCategoryWhereInput
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
export type EventCategoryOrderByRelationAggregateInput = {
|
|
357
|
+
_count?: Prisma.SortOrder
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
export type EventCategoryCountOrderByAggregateInput = {
|
|
361
|
+
id?: Prisma.SortOrder
|
|
362
|
+
name?: Prisma.SortOrder
|
|
363
|
+
description?: Prisma.SortOrder
|
|
364
|
+
createdAt?: Prisma.SortOrder
|
|
365
|
+
updatedAt?: Prisma.SortOrder
|
|
366
|
+
active?: Prisma.SortOrder
|
|
367
|
+
parentId?: Prisma.SortOrder
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
export type EventCategoryMaxOrderByAggregateInput = {
|
|
371
|
+
id?: Prisma.SortOrder
|
|
372
|
+
name?: Prisma.SortOrder
|
|
373
|
+
description?: Prisma.SortOrder
|
|
374
|
+
createdAt?: Prisma.SortOrder
|
|
375
|
+
updatedAt?: Prisma.SortOrder
|
|
376
|
+
active?: Prisma.SortOrder
|
|
377
|
+
parentId?: Prisma.SortOrder
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
export type EventCategoryMinOrderByAggregateInput = {
|
|
381
|
+
id?: Prisma.SortOrder
|
|
382
|
+
name?: Prisma.SortOrder
|
|
383
|
+
description?: Prisma.SortOrder
|
|
384
|
+
createdAt?: Prisma.SortOrder
|
|
385
|
+
updatedAt?: Prisma.SortOrder
|
|
386
|
+
active?: Prisma.SortOrder
|
|
387
|
+
parentId?: Prisma.SortOrder
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
export type EventCategoryCreateNestedOneWithoutChildrenInput = {
|
|
391
|
+
create?: Prisma.XOR<Prisma.EventCategoryCreateWithoutChildrenInput, Prisma.EventCategoryUncheckedCreateWithoutChildrenInput>
|
|
392
|
+
connectOrCreate?: Prisma.EventCategoryCreateOrConnectWithoutChildrenInput
|
|
393
|
+
connect?: Prisma.EventCategoryWhereUniqueInput
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
export type EventCategoryCreateNestedManyWithoutParentInput = {
|
|
397
|
+
create?: Prisma.XOR<Prisma.EventCategoryCreateWithoutParentInput, Prisma.EventCategoryUncheckedCreateWithoutParentInput> | Prisma.EventCategoryCreateWithoutParentInput[] | Prisma.EventCategoryUncheckedCreateWithoutParentInput[]
|
|
398
|
+
connectOrCreate?: Prisma.EventCategoryCreateOrConnectWithoutParentInput | Prisma.EventCategoryCreateOrConnectWithoutParentInput[]
|
|
399
|
+
createMany?: Prisma.EventCategoryCreateManyParentInputEnvelope
|
|
400
|
+
connect?: Prisma.EventCategoryWhereUniqueInput | Prisma.EventCategoryWhereUniqueInput[]
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
export type EventCategoryUncheckedCreateNestedManyWithoutParentInput = {
|
|
404
|
+
create?: Prisma.XOR<Prisma.EventCategoryCreateWithoutParentInput, Prisma.EventCategoryUncheckedCreateWithoutParentInput> | Prisma.EventCategoryCreateWithoutParentInput[] | Prisma.EventCategoryUncheckedCreateWithoutParentInput[]
|
|
405
|
+
connectOrCreate?: Prisma.EventCategoryCreateOrConnectWithoutParentInput | Prisma.EventCategoryCreateOrConnectWithoutParentInput[]
|
|
406
|
+
createMany?: Prisma.EventCategoryCreateManyParentInputEnvelope
|
|
407
|
+
connect?: Prisma.EventCategoryWhereUniqueInput | Prisma.EventCategoryWhereUniqueInput[]
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
export type EventCategoryUpdateOneWithoutChildrenNestedInput = {
|
|
411
|
+
create?: Prisma.XOR<Prisma.EventCategoryCreateWithoutChildrenInput, Prisma.EventCategoryUncheckedCreateWithoutChildrenInput>
|
|
412
|
+
connectOrCreate?: Prisma.EventCategoryCreateOrConnectWithoutChildrenInput
|
|
413
|
+
upsert?: Prisma.EventCategoryUpsertWithoutChildrenInput
|
|
414
|
+
disconnect?: Prisma.EventCategoryWhereInput | boolean
|
|
415
|
+
delete?: Prisma.EventCategoryWhereInput | boolean
|
|
416
|
+
connect?: Prisma.EventCategoryWhereUniqueInput
|
|
417
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.EventCategoryUpdateToOneWithWhereWithoutChildrenInput, Prisma.EventCategoryUpdateWithoutChildrenInput>, Prisma.EventCategoryUncheckedUpdateWithoutChildrenInput>
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
export type EventCategoryUpdateManyWithoutParentNestedInput = {
|
|
421
|
+
create?: Prisma.XOR<Prisma.EventCategoryCreateWithoutParentInput, Prisma.EventCategoryUncheckedCreateWithoutParentInput> | Prisma.EventCategoryCreateWithoutParentInput[] | Prisma.EventCategoryUncheckedCreateWithoutParentInput[]
|
|
422
|
+
connectOrCreate?: Prisma.EventCategoryCreateOrConnectWithoutParentInput | Prisma.EventCategoryCreateOrConnectWithoutParentInput[]
|
|
423
|
+
upsert?: Prisma.EventCategoryUpsertWithWhereUniqueWithoutParentInput | Prisma.EventCategoryUpsertWithWhereUniqueWithoutParentInput[]
|
|
424
|
+
createMany?: Prisma.EventCategoryCreateManyParentInputEnvelope
|
|
425
|
+
set?: Prisma.EventCategoryWhereUniqueInput | Prisma.EventCategoryWhereUniqueInput[]
|
|
426
|
+
disconnect?: Prisma.EventCategoryWhereUniqueInput | Prisma.EventCategoryWhereUniqueInput[]
|
|
427
|
+
delete?: Prisma.EventCategoryWhereUniqueInput | Prisma.EventCategoryWhereUniqueInput[]
|
|
428
|
+
connect?: Prisma.EventCategoryWhereUniqueInput | Prisma.EventCategoryWhereUniqueInput[]
|
|
429
|
+
update?: Prisma.EventCategoryUpdateWithWhereUniqueWithoutParentInput | Prisma.EventCategoryUpdateWithWhereUniqueWithoutParentInput[]
|
|
430
|
+
updateMany?: Prisma.EventCategoryUpdateManyWithWhereWithoutParentInput | Prisma.EventCategoryUpdateManyWithWhereWithoutParentInput[]
|
|
431
|
+
deleteMany?: Prisma.EventCategoryScalarWhereInput | Prisma.EventCategoryScalarWhereInput[]
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
export type EventCategoryUncheckedUpdateManyWithoutParentNestedInput = {
|
|
435
|
+
create?: Prisma.XOR<Prisma.EventCategoryCreateWithoutParentInput, Prisma.EventCategoryUncheckedCreateWithoutParentInput> | Prisma.EventCategoryCreateWithoutParentInput[] | Prisma.EventCategoryUncheckedCreateWithoutParentInput[]
|
|
436
|
+
connectOrCreate?: Prisma.EventCategoryCreateOrConnectWithoutParentInput | Prisma.EventCategoryCreateOrConnectWithoutParentInput[]
|
|
437
|
+
upsert?: Prisma.EventCategoryUpsertWithWhereUniqueWithoutParentInput | Prisma.EventCategoryUpsertWithWhereUniqueWithoutParentInput[]
|
|
438
|
+
createMany?: Prisma.EventCategoryCreateManyParentInputEnvelope
|
|
439
|
+
set?: Prisma.EventCategoryWhereUniqueInput | Prisma.EventCategoryWhereUniqueInput[]
|
|
440
|
+
disconnect?: Prisma.EventCategoryWhereUniqueInput | Prisma.EventCategoryWhereUniqueInput[]
|
|
441
|
+
delete?: Prisma.EventCategoryWhereUniqueInput | Prisma.EventCategoryWhereUniqueInput[]
|
|
442
|
+
connect?: Prisma.EventCategoryWhereUniqueInput | Prisma.EventCategoryWhereUniqueInput[]
|
|
443
|
+
update?: Prisma.EventCategoryUpdateWithWhereUniqueWithoutParentInput | Prisma.EventCategoryUpdateWithWhereUniqueWithoutParentInput[]
|
|
444
|
+
updateMany?: Prisma.EventCategoryUpdateManyWithWhereWithoutParentInput | Prisma.EventCategoryUpdateManyWithWhereWithoutParentInput[]
|
|
445
|
+
deleteMany?: Prisma.EventCategoryScalarWhereInput | Prisma.EventCategoryScalarWhereInput[]
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
export type EventCategoryCreateNestedManyWithoutEventsInput = {
|
|
449
|
+
create?: Prisma.XOR<Prisma.EventCategoryCreateWithoutEventsInput, Prisma.EventCategoryUncheckedCreateWithoutEventsInput> | Prisma.EventCategoryCreateWithoutEventsInput[] | Prisma.EventCategoryUncheckedCreateWithoutEventsInput[]
|
|
450
|
+
connectOrCreate?: Prisma.EventCategoryCreateOrConnectWithoutEventsInput | Prisma.EventCategoryCreateOrConnectWithoutEventsInput[]
|
|
451
|
+
connect?: Prisma.EventCategoryWhereUniqueInput | Prisma.EventCategoryWhereUniqueInput[]
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
export type EventCategoryUncheckedCreateNestedManyWithoutEventsInput = {
|
|
455
|
+
create?: Prisma.XOR<Prisma.EventCategoryCreateWithoutEventsInput, Prisma.EventCategoryUncheckedCreateWithoutEventsInput> | Prisma.EventCategoryCreateWithoutEventsInput[] | Prisma.EventCategoryUncheckedCreateWithoutEventsInput[]
|
|
456
|
+
connectOrCreate?: Prisma.EventCategoryCreateOrConnectWithoutEventsInput | Prisma.EventCategoryCreateOrConnectWithoutEventsInput[]
|
|
457
|
+
connect?: Prisma.EventCategoryWhereUniqueInput | Prisma.EventCategoryWhereUniqueInput[]
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
export type EventCategoryUpdateManyWithoutEventsNestedInput = {
|
|
461
|
+
create?: Prisma.XOR<Prisma.EventCategoryCreateWithoutEventsInput, Prisma.EventCategoryUncheckedCreateWithoutEventsInput> | Prisma.EventCategoryCreateWithoutEventsInput[] | Prisma.EventCategoryUncheckedCreateWithoutEventsInput[]
|
|
462
|
+
connectOrCreate?: Prisma.EventCategoryCreateOrConnectWithoutEventsInput | Prisma.EventCategoryCreateOrConnectWithoutEventsInput[]
|
|
463
|
+
upsert?: Prisma.EventCategoryUpsertWithWhereUniqueWithoutEventsInput | Prisma.EventCategoryUpsertWithWhereUniqueWithoutEventsInput[]
|
|
464
|
+
set?: Prisma.EventCategoryWhereUniqueInput | Prisma.EventCategoryWhereUniqueInput[]
|
|
465
|
+
disconnect?: Prisma.EventCategoryWhereUniqueInput | Prisma.EventCategoryWhereUniqueInput[]
|
|
466
|
+
delete?: Prisma.EventCategoryWhereUniqueInput | Prisma.EventCategoryWhereUniqueInput[]
|
|
467
|
+
connect?: Prisma.EventCategoryWhereUniqueInput | Prisma.EventCategoryWhereUniqueInput[]
|
|
468
|
+
update?: Prisma.EventCategoryUpdateWithWhereUniqueWithoutEventsInput | Prisma.EventCategoryUpdateWithWhereUniqueWithoutEventsInput[]
|
|
469
|
+
updateMany?: Prisma.EventCategoryUpdateManyWithWhereWithoutEventsInput | Prisma.EventCategoryUpdateManyWithWhereWithoutEventsInput[]
|
|
470
|
+
deleteMany?: Prisma.EventCategoryScalarWhereInput | Prisma.EventCategoryScalarWhereInput[]
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
export type EventCategoryUncheckedUpdateManyWithoutEventsNestedInput = {
|
|
474
|
+
create?: Prisma.XOR<Prisma.EventCategoryCreateWithoutEventsInput, Prisma.EventCategoryUncheckedCreateWithoutEventsInput> | Prisma.EventCategoryCreateWithoutEventsInput[] | Prisma.EventCategoryUncheckedCreateWithoutEventsInput[]
|
|
475
|
+
connectOrCreate?: Prisma.EventCategoryCreateOrConnectWithoutEventsInput | Prisma.EventCategoryCreateOrConnectWithoutEventsInput[]
|
|
476
|
+
upsert?: Prisma.EventCategoryUpsertWithWhereUniqueWithoutEventsInput | Prisma.EventCategoryUpsertWithWhereUniqueWithoutEventsInput[]
|
|
477
|
+
set?: Prisma.EventCategoryWhereUniqueInput | Prisma.EventCategoryWhereUniqueInput[]
|
|
478
|
+
disconnect?: Prisma.EventCategoryWhereUniqueInput | Prisma.EventCategoryWhereUniqueInput[]
|
|
479
|
+
delete?: Prisma.EventCategoryWhereUniqueInput | Prisma.EventCategoryWhereUniqueInput[]
|
|
480
|
+
connect?: Prisma.EventCategoryWhereUniqueInput | Prisma.EventCategoryWhereUniqueInput[]
|
|
481
|
+
update?: Prisma.EventCategoryUpdateWithWhereUniqueWithoutEventsInput | Prisma.EventCategoryUpdateWithWhereUniqueWithoutEventsInput[]
|
|
482
|
+
updateMany?: Prisma.EventCategoryUpdateManyWithWhereWithoutEventsInput | Prisma.EventCategoryUpdateManyWithWhereWithoutEventsInput[]
|
|
483
|
+
deleteMany?: Prisma.EventCategoryScalarWhereInput | Prisma.EventCategoryScalarWhereInput[]
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
export type EventCategoryCreateNestedManyWithoutUserInterestsInput = {
|
|
487
|
+
create?: Prisma.XOR<Prisma.EventCategoryCreateWithoutUserInterestsInput, Prisma.EventCategoryUncheckedCreateWithoutUserInterestsInput> | Prisma.EventCategoryCreateWithoutUserInterestsInput[] | Prisma.EventCategoryUncheckedCreateWithoutUserInterestsInput[]
|
|
488
|
+
connectOrCreate?: Prisma.EventCategoryCreateOrConnectWithoutUserInterestsInput | Prisma.EventCategoryCreateOrConnectWithoutUserInterestsInput[]
|
|
489
|
+
connect?: Prisma.EventCategoryWhereUniqueInput | Prisma.EventCategoryWhereUniqueInput[]
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
export type EventCategoryUncheckedCreateNestedManyWithoutUserInterestsInput = {
|
|
493
|
+
create?: Prisma.XOR<Prisma.EventCategoryCreateWithoutUserInterestsInput, Prisma.EventCategoryUncheckedCreateWithoutUserInterestsInput> | Prisma.EventCategoryCreateWithoutUserInterestsInput[] | Prisma.EventCategoryUncheckedCreateWithoutUserInterestsInput[]
|
|
494
|
+
connectOrCreate?: Prisma.EventCategoryCreateOrConnectWithoutUserInterestsInput | Prisma.EventCategoryCreateOrConnectWithoutUserInterestsInput[]
|
|
495
|
+
connect?: Prisma.EventCategoryWhereUniqueInput | Prisma.EventCategoryWhereUniqueInput[]
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
export type EventCategoryUpdateManyWithoutUserInterestsNestedInput = {
|
|
499
|
+
create?: Prisma.XOR<Prisma.EventCategoryCreateWithoutUserInterestsInput, Prisma.EventCategoryUncheckedCreateWithoutUserInterestsInput> | Prisma.EventCategoryCreateWithoutUserInterestsInput[] | Prisma.EventCategoryUncheckedCreateWithoutUserInterestsInput[]
|
|
500
|
+
connectOrCreate?: Prisma.EventCategoryCreateOrConnectWithoutUserInterestsInput | Prisma.EventCategoryCreateOrConnectWithoutUserInterestsInput[]
|
|
501
|
+
upsert?: Prisma.EventCategoryUpsertWithWhereUniqueWithoutUserInterestsInput | Prisma.EventCategoryUpsertWithWhereUniqueWithoutUserInterestsInput[]
|
|
502
|
+
set?: Prisma.EventCategoryWhereUniqueInput | Prisma.EventCategoryWhereUniqueInput[]
|
|
503
|
+
disconnect?: Prisma.EventCategoryWhereUniqueInput | Prisma.EventCategoryWhereUniqueInput[]
|
|
504
|
+
delete?: Prisma.EventCategoryWhereUniqueInput | Prisma.EventCategoryWhereUniqueInput[]
|
|
505
|
+
connect?: Prisma.EventCategoryWhereUniqueInput | Prisma.EventCategoryWhereUniqueInput[]
|
|
506
|
+
update?: Prisma.EventCategoryUpdateWithWhereUniqueWithoutUserInterestsInput | Prisma.EventCategoryUpdateWithWhereUniqueWithoutUserInterestsInput[]
|
|
507
|
+
updateMany?: Prisma.EventCategoryUpdateManyWithWhereWithoutUserInterestsInput | Prisma.EventCategoryUpdateManyWithWhereWithoutUserInterestsInput[]
|
|
508
|
+
deleteMany?: Prisma.EventCategoryScalarWhereInput | Prisma.EventCategoryScalarWhereInput[]
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
export type EventCategoryUncheckedUpdateManyWithoutUserInterestsNestedInput = {
|
|
512
|
+
create?: Prisma.XOR<Prisma.EventCategoryCreateWithoutUserInterestsInput, Prisma.EventCategoryUncheckedCreateWithoutUserInterestsInput> | Prisma.EventCategoryCreateWithoutUserInterestsInput[] | Prisma.EventCategoryUncheckedCreateWithoutUserInterestsInput[]
|
|
513
|
+
connectOrCreate?: Prisma.EventCategoryCreateOrConnectWithoutUserInterestsInput | Prisma.EventCategoryCreateOrConnectWithoutUserInterestsInput[]
|
|
514
|
+
upsert?: Prisma.EventCategoryUpsertWithWhereUniqueWithoutUserInterestsInput | Prisma.EventCategoryUpsertWithWhereUniqueWithoutUserInterestsInput[]
|
|
515
|
+
set?: Prisma.EventCategoryWhereUniqueInput | Prisma.EventCategoryWhereUniqueInput[]
|
|
516
|
+
disconnect?: Prisma.EventCategoryWhereUniqueInput | Prisma.EventCategoryWhereUniqueInput[]
|
|
517
|
+
delete?: Prisma.EventCategoryWhereUniqueInput | Prisma.EventCategoryWhereUniqueInput[]
|
|
518
|
+
connect?: Prisma.EventCategoryWhereUniqueInput | Prisma.EventCategoryWhereUniqueInput[]
|
|
519
|
+
update?: Prisma.EventCategoryUpdateWithWhereUniqueWithoutUserInterestsInput | Prisma.EventCategoryUpdateWithWhereUniqueWithoutUserInterestsInput[]
|
|
520
|
+
updateMany?: Prisma.EventCategoryUpdateManyWithWhereWithoutUserInterestsInput | Prisma.EventCategoryUpdateManyWithWhereWithoutUserInterestsInput[]
|
|
521
|
+
deleteMany?: Prisma.EventCategoryScalarWhereInput | Prisma.EventCategoryScalarWhereInput[]
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
export type EventCategoryCreateWithoutChildrenInput = {
|
|
525
|
+
id?: string
|
|
526
|
+
name: string
|
|
527
|
+
description?: string | null
|
|
528
|
+
createdAt?: Date | string
|
|
529
|
+
updatedAt?: Date | string
|
|
530
|
+
active?: boolean
|
|
531
|
+
events?: Prisma.EventCreateNestedManyWithoutCategoriesInput
|
|
532
|
+
userInterests?: Prisma.UserInterestsCreateNestedManyWithoutInterestsInput
|
|
533
|
+
parent?: Prisma.EventCategoryCreateNestedOneWithoutChildrenInput
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
export type EventCategoryUncheckedCreateWithoutChildrenInput = {
|
|
537
|
+
id?: string
|
|
538
|
+
name: string
|
|
539
|
+
description?: string | null
|
|
540
|
+
createdAt?: Date | string
|
|
541
|
+
updatedAt?: Date | string
|
|
542
|
+
active?: boolean
|
|
543
|
+
parentId?: string | null
|
|
544
|
+
events?: Prisma.EventUncheckedCreateNestedManyWithoutCategoriesInput
|
|
545
|
+
userInterests?: Prisma.UserInterestsUncheckedCreateNestedManyWithoutInterestsInput
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
export type EventCategoryCreateOrConnectWithoutChildrenInput = {
|
|
549
|
+
where: Prisma.EventCategoryWhereUniqueInput
|
|
550
|
+
create: Prisma.XOR<Prisma.EventCategoryCreateWithoutChildrenInput, Prisma.EventCategoryUncheckedCreateWithoutChildrenInput>
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
export type EventCategoryCreateWithoutParentInput = {
|
|
554
|
+
id?: string
|
|
555
|
+
name: string
|
|
556
|
+
description?: string | null
|
|
557
|
+
createdAt?: Date | string
|
|
558
|
+
updatedAt?: Date | string
|
|
559
|
+
active?: boolean
|
|
560
|
+
events?: Prisma.EventCreateNestedManyWithoutCategoriesInput
|
|
561
|
+
userInterests?: Prisma.UserInterestsCreateNestedManyWithoutInterestsInput
|
|
562
|
+
children?: Prisma.EventCategoryCreateNestedManyWithoutParentInput
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
export type EventCategoryUncheckedCreateWithoutParentInput = {
|
|
566
|
+
id?: string
|
|
567
|
+
name: string
|
|
568
|
+
description?: string | null
|
|
569
|
+
createdAt?: Date | string
|
|
570
|
+
updatedAt?: Date | string
|
|
571
|
+
active?: boolean
|
|
572
|
+
events?: Prisma.EventUncheckedCreateNestedManyWithoutCategoriesInput
|
|
573
|
+
userInterests?: Prisma.UserInterestsUncheckedCreateNestedManyWithoutInterestsInput
|
|
574
|
+
children?: Prisma.EventCategoryUncheckedCreateNestedManyWithoutParentInput
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
export type EventCategoryCreateOrConnectWithoutParentInput = {
|
|
578
|
+
where: Prisma.EventCategoryWhereUniqueInput
|
|
579
|
+
create: Prisma.XOR<Prisma.EventCategoryCreateWithoutParentInput, Prisma.EventCategoryUncheckedCreateWithoutParentInput>
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
export type EventCategoryCreateManyParentInputEnvelope = {
|
|
583
|
+
data: Prisma.EventCategoryCreateManyParentInput | Prisma.EventCategoryCreateManyParentInput[]
|
|
584
|
+
skipDuplicates?: boolean
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
export type EventCategoryUpsertWithoutChildrenInput = {
|
|
588
|
+
update: Prisma.XOR<Prisma.EventCategoryUpdateWithoutChildrenInput, Prisma.EventCategoryUncheckedUpdateWithoutChildrenInput>
|
|
589
|
+
create: Prisma.XOR<Prisma.EventCategoryCreateWithoutChildrenInput, Prisma.EventCategoryUncheckedCreateWithoutChildrenInput>
|
|
590
|
+
where?: Prisma.EventCategoryWhereInput
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
export type EventCategoryUpdateToOneWithWhereWithoutChildrenInput = {
|
|
594
|
+
where?: Prisma.EventCategoryWhereInput
|
|
595
|
+
data: Prisma.XOR<Prisma.EventCategoryUpdateWithoutChildrenInput, Prisma.EventCategoryUncheckedUpdateWithoutChildrenInput>
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
export type EventCategoryUpdateWithoutChildrenInput = {
|
|
599
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
600
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
601
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
602
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
603
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
604
|
+
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
605
|
+
events?: Prisma.EventUpdateManyWithoutCategoriesNestedInput
|
|
606
|
+
userInterests?: Prisma.UserInterestsUpdateManyWithoutInterestsNestedInput
|
|
607
|
+
parent?: Prisma.EventCategoryUpdateOneWithoutChildrenNestedInput
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
export type EventCategoryUncheckedUpdateWithoutChildrenInput = {
|
|
611
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
612
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
613
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
614
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
615
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
616
|
+
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
617
|
+
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
618
|
+
events?: Prisma.EventUncheckedUpdateManyWithoutCategoriesNestedInput
|
|
619
|
+
userInterests?: Prisma.UserInterestsUncheckedUpdateManyWithoutInterestsNestedInput
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
export type EventCategoryUpsertWithWhereUniqueWithoutParentInput = {
|
|
623
|
+
where: Prisma.EventCategoryWhereUniqueInput
|
|
624
|
+
update: Prisma.XOR<Prisma.EventCategoryUpdateWithoutParentInput, Prisma.EventCategoryUncheckedUpdateWithoutParentInput>
|
|
625
|
+
create: Prisma.XOR<Prisma.EventCategoryCreateWithoutParentInput, Prisma.EventCategoryUncheckedCreateWithoutParentInput>
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
export type EventCategoryUpdateWithWhereUniqueWithoutParentInput = {
|
|
629
|
+
where: Prisma.EventCategoryWhereUniqueInput
|
|
630
|
+
data: Prisma.XOR<Prisma.EventCategoryUpdateWithoutParentInput, Prisma.EventCategoryUncheckedUpdateWithoutParentInput>
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
export type EventCategoryUpdateManyWithWhereWithoutParentInput = {
|
|
634
|
+
where: Prisma.EventCategoryScalarWhereInput
|
|
635
|
+
data: Prisma.XOR<Prisma.EventCategoryUpdateManyMutationInput, Prisma.EventCategoryUncheckedUpdateManyWithoutParentInput>
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
export type EventCategoryScalarWhereInput = {
|
|
639
|
+
AND?: Prisma.EventCategoryScalarWhereInput | Prisma.EventCategoryScalarWhereInput[]
|
|
640
|
+
OR?: Prisma.EventCategoryScalarWhereInput[]
|
|
641
|
+
NOT?: Prisma.EventCategoryScalarWhereInput | Prisma.EventCategoryScalarWhereInput[]
|
|
642
|
+
id?: Prisma.StringFilter<"EventCategory"> | string
|
|
643
|
+
name?: Prisma.StringFilter<"EventCategory"> | string
|
|
644
|
+
description?: Prisma.StringNullableFilter<"EventCategory"> | string | null
|
|
645
|
+
createdAt?: Prisma.DateTimeFilter<"EventCategory"> | Date | string
|
|
646
|
+
updatedAt?: Prisma.DateTimeFilter<"EventCategory"> | Date | string
|
|
647
|
+
active?: Prisma.BoolFilter<"EventCategory"> | boolean
|
|
648
|
+
parentId?: Prisma.StringNullableFilter<"EventCategory"> | string | null
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
export type EventCategoryCreateWithoutEventsInput = {
|
|
652
|
+
id?: string
|
|
653
|
+
name: string
|
|
654
|
+
description?: string | null
|
|
655
|
+
createdAt?: Date | string
|
|
656
|
+
updatedAt?: Date | string
|
|
657
|
+
active?: boolean
|
|
658
|
+
userInterests?: Prisma.UserInterestsCreateNestedManyWithoutInterestsInput
|
|
659
|
+
parent?: Prisma.EventCategoryCreateNestedOneWithoutChildrenInput
|
|
660
|
+
children?: Prisma.EventCategoryCreateNestedManyWithoutParentInput
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
export type EventCategoryUncheckedCreateWithoutEventsInput = {
|
|
664
|
+
id?: string
|
|
665
|
+
name: string
|
|
666
|
+
description?: string | null
|
|
667
|
+
createdAt?: Date | string
|
|
668
|
+
updatedAt?: Date | string
|
|
669
|
+
active?: boolean
|
|
670
|
+
parentId?: string | null
|
|
671
|
+
userInterests?: Prisma.UserInterestsUncheckedCreateNestedManyWithoutInterestsInput
|
|
672
|
+
children?: Prisma.EventCategoryUncheckedCreateNestedManyWithoutParentInput
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
export type EventCategoryCreateOrConnectWithoutEventsInput = {
|
|
676
|
+
where: Prisma.EventCategoryWhereUniqueInput
|
|
677
|
+
create: Prisma.XOR<Prisma.EventCategoryCreateWithoutEventsInput, Prisma.EventCategoryUncheckedCreateWithoutEventsInput>
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
export type EventCategoryUpsertWithWhereUniqueWithoutEventsInput = {
|
|
681
|
+
where: Prisma.EventCategoryWhereUniqueInput
|
|
682
|
+
update: Prisma.XOR<Prisma.EventCategoryUpdateWithoutEventsInput, Prisma.EventCategoryUncheckedUpdateWithoutEventsInput>
|
|
683
|
+
create: Prisma.XOR<Prisma.EventCategoryCreateWithoutEventsInput, Prisma.EventCategoryUncheckedCreateWithoutEventsInput>
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
export type EventCategoryUpdateWithWhereUniqueWithoutEventsInput = {
|
|
687
|
+
where: Prisma.EventCategoryWhereUniqueInput
|
|
688
|
+
data: Prisma.XOR<Prisma.EventCategoryUpdateWithoutEventsInput, Prisma.EventCategoryUncheckedUpdateWithoutEventsInput>
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
export type EventCategoryUpdateManyWithWhereWithoutEventsInput = {
|
|
692
|
+
where: Prisma.EventCategoryScalarWhereInput
|
|
693
|
+
data: Prisma.XOR<Prisma.EventCategoryUpdateManyMutationInput, Prisma.EventCategoryUncheckedUpdateManyWithoutEventsInput>
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
export type EventCategoryCreateWithoutUserInterestsInput = {
|
|
697
|
+
id?: string
|
|
698
|
+
name: string
|
|
699
|
+
description?: string | null
|
|
700
|
+
createdAt?: Date | string
|
|
701
|
+
updatedAt?: Date | string
|
|
702
|
+
active?: boolean
|
|
703
|
+
events?: Prisma.EventCreateNestedManyWithoutCategoriesInput
|
|
704
|
+
parent?: Prisma.EventCategoryCreateNestedOneWithoutChildrenInput
|
|
705
|
+
children?: Prisma.EventCategoryCreateNestedManyWithoutParentInput
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
export type EventCategoryUncheckedCreateWithoutUserInterestsInput = {
|
|
709
|
+
id?: string
|
|
710
|
+
name: string
|
|
711
|
+
description?: string | null
|
|
712
|
+
createdAt?: Date | string
|
|
713
|
+
updatedAt?: Date | string
|
|
714
|
+
active?: boolean
|
|
715
|
+
parentId?: string | null
|
|
716
|
+
events?: Prisma.EventUncheckedCreateNestedManyWithoutCategoriesInput
|
|
717
|
+
children?: Prisma.EventCategoryUncheckedCreateNestedManyWithoutParentInput
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
export type EventCategoryCreateOrConnectWithoutUserInterestsInput = {
|
|
721
|
+
where: Prisma.EventCategoryWhereUniqueInput
|
|
722
|
+
create: Prisma.XOR<Prisma.EventCategoryCreateWithoutUserInterestsInput, Prisma.EventCategoryUncheckedCreateWithoutUserInterestsInput>
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
export type EventCategoryUpsertWithWhereUniqueWithoutUserInterestsInput = {
|
|
726
|
+
where: Prisma.EventCategoryWhereUniqueInput
|
|
727
|
+
update: Prisma.XOR<Prisma.EventCategoryUpdateWithoutUserInterestsInput, Prisma.EventCategoryUncheckedUpdateWithoutUserInterestsInput>
|
|
728
|
+
create: Prisma.XOR<Prisma.EventCategoryCreateWithoutUserInterestsInput, Prisma.EventCategoryUncheckedCreateWithoutUserInterestsInput>
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
export type EventCategoryUpdateWithWhereUniqueWithoutUserInterestsInput = {
|
|
732
|
+
where: Prisma.EventCategoryWhereUniqueInput
|
|
733
|
+
data: Prisma.XOR<Prisma.EventCategoryUpdateWithoutUserInterestsInput, Prisma.EventCategoryUncheckedUpdateWithoutUserInterestsInput>
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
export type EventCategoryUpdateManyWithWhereWithoutUserInterestsInput = {
|
|
737
|
+
where: Prisma.EventCategoryScalarWhereInput
|
|
738
|
+
data: Prisma.XOR<Prisma.EventCategoryUpdateManyMutationInput, Prisma.EventCategoryUncheckedUpdateManyWithoutUserInterestsInput>
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
export type EventCategoryCreateManyParentInput = {
|
|
742
|
+
id?: string
|
|
743
|
+
name: string
|
|
744
|
+
description?: string | null
|
|
745
|
+
createdAt?: Date | string
|
|
746
|
+
updatedAt?: Date | string
|
|
747
|
+
active?: boolean
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
export type EventCategoryUpdateWithoutParentInput = {
|
|
751
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
752
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
753
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
754
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
755
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
756
|
+
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
757
|
+
events?: Prisma.EventUpdateManyWithoutCategoriesNestedInput
|
|
758
|
+
userInterests?: Prisma.UserInterestsUpdateManyWithoutInterestsNestedInput
|
|
759
|
+
children?: Prisma.EventCategoryUpdateManyWithoutParentNestedInput
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
export type EventCategoryUncheckedUpdateWithoutParentInput = {
|
|
763
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
764
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
765
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
766
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
767
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
768
|
+
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
769
|
+
events?: Prisma.EventUncheckedUpdateManyWithoutCategoriesNestedInput
|
|
770
|
+
userInterests?: Prisma.UserInterestsUncheckedUpdateManyWithoutInterestsNestedInput
|
|
771
|
+
children?: Prisma.EventCategoryUncheckedUpdateManyWithoutParentNestedInput
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
export type EventCategoryUncheckedUpdateManyWithoutParentInput = {
|
|
775
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
776
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
777
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
778
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
779
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
780
|
+
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
export type EventCategoryUpdateWithoutEventsInput = {
|
|
784
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
785
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
786
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
787
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
788
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
789
|
+
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
790
|
+
userInterests?: Prisma.UserInterestsUpdateManyWithoutInterestsNestedInput
|
|
791
|
+
parent?: Prisma.EventCategoryUpdateOneWithoutChildrenNestedInput
|
|
792
|
+
children?: Prisma.EventCategoryUpdateManyWithoutParentNestedInput
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
export type EventCategoryUncheckedUpdateWithoutEventsInput = {
|
|
796
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
797
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
798
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
799
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
800
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
801
|
+
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
802
|
+
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
803
|
+
userInterests?: Prisma.UserInterestsUncheckedUpdateManyWithoutInterestsNestedInput
|
|
804
|
+
children?: Prisma.EventCategoryUncheckedUpdateManyWithoutParentNestedInput
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
export type EventCategoryUncheckedUpdateManyWithoutEventsInput = {
|
|
808
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
809
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
810
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
811
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
812
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
813
|
+
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
814
|
+
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
export type EventCategoryUpdateWithoutUserInterestsInput = {
|
|
818
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
819
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
820
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
821
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
822
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
823
|
+
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
824
|
+
events?: Prisma.EventUpdateManyWithoutCategoriesNestedInput
|
|
825
|
+
parent?: Prisma.EventCategoryUpdateOneWithoutChildrenNestedInput
|
|
826
|
+
children?: Prisma.EventCategoryUpdateManyWithoutParentNestedInput
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
export type EventCategoryUncheckedUpdateWithoutUserInterestsInput = {
|
|
830
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
831
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
832
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
833
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
834
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
835
|
+
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
836
|
+
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
837
|
+
events?: Prisma.EventUncheckedUpdateManyWithoutCategoriesNestedInput
|
|
838
|
+
children?: Prisma.EventCategoryUncheckedUpdateManyWithoutParentNestedInput
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
export type EventCategoryUncheckedUpdateManyWithoutUserInterestsInput = {
|
|
842
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
843
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
844
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
845
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
846
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
847
|
+
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
848
|
+
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
|
|
852
|
+
/**
|
|
853
|
+
* Count Type EventCategoryCountOutputType
|
|
854
|
+
*/
|
|
855
|
+
|
|
856
|
+
export type EventCategoryCountOutputType = {
|
|
857
|
+
events: number
|
|
858
|
+
userInterests: number
|
|
859
|
+
children: number
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
export type EventCategoryCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
863
|
+
events?: boolean | EventCategoryCountOutputTypeCountEventsArgs
|
|
864
|
+
userInterests?: boolean | EventCategoryCountOutputTypeCountUserInterestsArgs
|
|
865
|
+
children?: boolean | EventCategoryCountOutputTypeCountChildrenArgs
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
/**
|
|
869
|
+
* EventCategoryCountOutputType without action
|
|
870
|
+
*/
|
|
871
|
+
export type EventCategoryCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
872
|
+
/**
|
|
873
|
+
* Select specific fields to fetch from the EventCategoryCountOutputType
|
|
874
|
+
*/
|
|
875
|
+
select?: Prisma.EventCategoryCountOutputTypeSelect<ExtArgs> | null
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
/**
|
|
879
|
+
* EventCategoryCountOutputType without action
|
|
880
|
+
*/
|
|
881
|
+
export type EventCategoryCountOutputTypeCountEventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
882
|
+
where?: Prisma.EventWhereInput
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
/**
|
|
886
|
+
* EventCategoryCountOutputType without action
|
|
887
|
+
*/
|
|
888
|
+
export type EventCategoryCountOutputTypeCountUserInterestsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
889
|
+
where?: Prisma.UserInterestsWhereInput
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
/**
|
|
893
|
+
* EventCategoryCountOutputType without action
|
|
894
|
+
*/
|
|
895
|
+
export type EventCategoryCountOutputTypeCountChildrenArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
896
|
+
where?: Prisma.EventCategoryWhereInput
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
|
|
900
|
+
export type EventCategorySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
901
|
+
id?: boolean
|
|
902
|
+
name?: boolean
|
|
903
|
+
description?: boolean
|
|
904
|
+
createdAt?: boolean
|
|
905
|
+
updatedAt?: boolean
|
|
906
|
+
active?: boolean
|
|
907
|
+
parentId?: boolean
|
|
908
|
+
events?: boolean | Prisma.EventCategory$eventsArgs<ExtArgs>
|
|
909
|
+
userInterests?: boolean | Prisma.EventCategory$userInterestsArgs<ExtArgs>
|
|
910
|
+
parent?: boolean | Prisma.EventCategory$parentArgs<ExtArgs>
|
|
911
|
+
children?: boolean | Prisma.EventCategory$childrenArgs<ExtArgs>
|
|
912
|
+
_count?: boolean | Prisma.EventCategoryCountOutputTypeDefaultArgs<ExtArgs>
|
|
913
|
+
}, ExtArgs["result"]["eventCategory"]>
|
|
914
|
+
|
|
915
|
+
export type EventCategorySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
916
|
+
id?: boolean
|
|
917
|
+
name?: boolean
|
|
918
|
+
description?: boolean
|
|
919
|
+
createdAt?: boolean
|
|
920
|
+
updatedAt?: boolean
|
|
921
|
+
active?: boolean
|
|
922
|
+
parentId?: boolean
|
|
923
|
+
parent?: boolean | Prisma.EventCategory$parentArgs<ExtArgs>
|
|
924
|
+
}, ExtArgs["result"]["eventCategory"]>
|
|
925
|
+
|
|
926
|
+
export type EventCategorySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
927
|
+
id?: boolean
|
|
928
|
+
name?: boolean
|
|
929
|
+
description?: boolean
|
|
930
|
+
createdAt?: boolean
|
|
931
|
+
updatedAt?: boolean
|
|
932
|
+
active?: boolean
|
|
933
|
+
parentId?: boolean
|
|
934
|
+
parent?: boolean | Prisma.EventCategory$parentArgs<ExtArgs>
|
|
935
|
+
}, ExtArgs["result"]["eventCategory"]>
|
|
936
|
+
|
|
937
|
+
export type EventCategorySelectScalar = {
|
|
938
|
+
id?: boolean
|
|
939
|
+
name?: boolean
|
|
940
|
+
description?: boolean
|
|
941
|
+
createdAt?: boolean
|
|
942
|
+
updatedAt?: boolean
|
|
943
|
+
active?: boolean
|
|
944
|
+
parentId?: boolean
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
export type EventCategoryOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "description" | "createdAt" | "updatedAt" | "active" | "parentId", ExtArgs["result"]["eventCategory"]>
|
|
948
|
+
export type EventCategoryInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
949
|
+
events?: boolean | Prisma.EventCategory$eventsArgs<ExtArgs>
|
|
950
|
+
userInterests?: boolean | Prisma.EventCategory$userInterestsArgs<ExtArgs>
|
|
951
|
+
parent?: boolean | Prisma.EventCategory$parentArgs<ExtArgs>
|
|
952
|
+
children?: boolean | Prisma.EventCategory$childrenArgs<ExtArgs>
|
|
953
|
+
_count?: boolean | Prisma.EventCategoryCountOutputTypeDefaultArgs<ExtArgs>
|
|
954
|
+
}
|
|
955
|
+
export type EventCategoryIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
956
|
+
parent?: boolean | Prisma.EventCategory$parentArgs<ExtArgs>
|
|
957
|
+
}
|
|
958
|
+
export type EventCategoryIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
959
|
+
parent?: boolean | Prisma.EventCategory$parentArgs<ExtArgs>
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
export type $EventCategoryPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
963
|
+
name: "EventCategory"
|
|
964
|
+
objects: {
|
|
965
|
+
events: Prisma.$EventPayload<ExtArgs>[]
|
|
966
|
+
userInterests: Prisma.$UserInterestsPayload<ExtArgs>[]
|
|
967
|
+
parent: Prisma.$EventCategoryPayload<ExtArgs> | null
|
|
968
|
+
children: Prisma.$EventCategoryPayload<ExtArgs>[]
|
|
969
|
+
}
|
|
970
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
971
|
+
id: string
|
|
972
|
+
name: string
|
|
973
|
+
description: string | null
|
|
974
|
+
createdAt: Date
|
|
975
|
+
updatedAt: Date
|
|
976
|
+
active: boolean
|
|
977
|
+
parentId: string | null
|
|
978
|
+
}, ExtArgs["result"]["eventCategory"]>
|
|
979
|
+
composites: {}
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
export type EventCategoryGetPayload<S extends boolean | null | undefined | EventCategoryDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$EventCategoryPayload, S>
|
|
983
|
+
|
|
984
|
+
export type EventCategoryCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
985
|
+
Omit<EventCategoryFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
986
|
+
select?: EventCategoryCountAggregateInputType | true
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
export interface EventCategoryDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
990
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['EventCategory'], meta: { name: 'EventCategory' } }
|
|
991
|
+
/**
|
|
992
|
+
* Find zero or one EventCategory that matches the filter.
|
|
993
|
+
* @param {EventCategoryFindUniqueArgs} args - Arguments to find a EventCategory
|
|
994
|
+
* @example
|
|
995
|
+
* // Get one EventCategory
|
|
996
|
+
* const eventCategory = await prisma.eventCategory.findUnique({
|
|
997
|
+
* where: {
|
|
998
|
+
* // ... provide filter here
|
|
999
|
+
* }
|
|
1000
|
+
* })
|
|
1001
|
+
*/
|
|
1002
|
+
findUnique<T extends EventCategoryFindUniqueArgs>(args: Prisma.SelectSubset<T, EventCategoryFindUniqueArgs<ExtArgs>>): Prisma.Prisma__EventCategoryClient<runtime.Types.Result.GetResult<Prisma.$EventCategoryPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1003
|
+
|
|
1004
|
+
/**
|
|
1005
|
+
* Find one EventCategory that matches the filter or throw an error with `error.code='P2025'`
|
|
1006
|
+
* if no matches were found.
|
|
1007
|
+
* @param {EventCategoryFindUniqueOrThrowArgs} args - Arguments to find a EventCategory
|
|
1008
|
+
* @example
|
|
1009
|
+
* // Get one EventCategory
|
|
1010
|
+
* const eventCategory = await prisma.eventCategory.findUniqueOrThrow({
|
|
1011
|
+
* where: {
|
|
1012
|
+
* // ... provide filter here
|
|
1013
|
+
* }
|
|
1014
|
+
* })
|
|
1015
|
+
*/
|
|
1016
|
+
findUniqueOrThrow<T extends EventCategoryFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, EventCategoryFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__EventCategoryClient<runtime.Types.Result.GetResult<Prisma.$EventCategoryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1017
|
+
|
|
1018
|
+
/**
|
|
1019
|
+
* Find the first EventCategory that matches the filter.
|
|
1020
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1021
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1022
|
+
* @param {EventCategoryFindFirstArgs} args - Arguments to find a EventCategory
|
|
1023
|
+
* @example
|
|
1024
|
+
* // Get one EventCategory
|
|
1025
|
+
* const eventCategory = await prisma.eventCategory.findFirst({
|
|
1026
|
+
* where: {
|
|
1027
|
+
* // ... provide filter here
|
|
1028
|
+
* }
|
|
1029
|
+
* })
|
|
1030
|
+
*/
|
|
1031
|
+
findFirst<T extends EventCategoryFindFirstArgs>(args?: Prisma.SelectSubset<T, EventCategoryFindFirstArgs<ExtArgs>>): Prisma.Prisma__EventCategoryClient<runtime.Types.Result.GetResult<Prisma.$EventCategoryPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1032
|
+
|
|
1033
|
+
/**
|
|
1034
|
+
* Find the first EventCategory that matches the filter or
|
|
1035
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1036
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1037
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1038
|
+
* @param {EventCategoryFindFirstOrThrowArgs} args - Arguments to find a EventCategory
|
|
1039
|
+
* @example
|
|
1040
|
+
* // Get one EventCategory
|
|
1041
|
+
* const eventCategory = await prisma.eventCategory.findFirstOrThrow({
|
|
1042
|
+
* where: {
|
|
1043
|
+
* // ... provide filter here
|
|
1044
|
+
* }
|
|
1045
|
+
* })
|
|
1046
|
+
*/
|
|
1047
|
+
findFirstOrThrow<T extends EventCategoryFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, EventCategoryFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__EventCategoryClient<runtime.Types.Result.GetResult<Prisma.$EventCategoryPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1048
|
+
|
|
1049
|
+
/**
|
|
1050
|
+
* Find zero or more EventCategories that matches the filter.
|
|
1051
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1052
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1053
|
+
* @param {EventCategoryFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1054
|
+
* @example
|
|
1055
|
+
* // Get all EventCategories
|
|
1056
|
+
* const eventCategories = await prisma.eventCategory.findMany()
|
|
1057
|
+
*
|
|
1058
|
+
* // Get first 10 EventCategories
|
|
1059
|
+
* const eventCategories = await prisma.eventCategory.findMany({ take: 10 })
|
|
1060
|
+
*
|
|
1061
|
+
* // Only select the `id`
|
|
1062
|
+
* const eventCategoryWithIdOnly = await prisma.eventCategory.findMany({ select: { id: true } })
|
|
1063
|
+
*
|
|
1064
|
+
*/
|
|
1065
|
+
findMany<T extends EventCategoryFindManyArgs>(args?: Prisma.SelectSubset<T, EventCategoryFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EventCategoryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
1066
|
+
|
|
1067
|
+
/**
|
|
1068
|
+
* Create a EventCategory.
|
|
1069
|
+
* @param {EventCategoryCreateArgs} args - Arguments to create a EventCategory.
|
|
1070
|
+
* @example
|
|
1071
|
+
* // Create one EventCategory
|
|
1072
|
+
* const EventCategory = await prisma.eventCategory.create({
|
|
1073
|
+
* data: {
|
|
1074
|
+
* // ... data to create a EventCategory
|
|
1075
|
+
* }
|
|
1076
|
+
* })
|
|
1077
|
+
*
|
|
1078
|
+
*/
|
|
1079
|
+
create<T extends EventCategoryCreateArgs>(args: Prisma.SelectSubset<T, EventCategoryCreateArgs<ExtArgs>>): Prisma.Prisma__EventCategoryClient<runtime.Types.Result.GetResult<Prisma.$EventCategoryPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1080
|
+
|
|
1081
|
+
/**
|
|
1082
|
+
* Create many EventCategories.
|
|
1083
|
+
* @param {EventCategoryCreateManyArgs} args - Arguments to create many EventCategories.
|
|
1084
|
+
* @example
|
|
1085
|
+
* // Create many EventCategories
|
|
1086
|
+
* const eventCategory = await prisma.eventCategory.createMany({
|
|
1087
|
+
* data: [
|
|
1088
|
+
* // ... provide data here
|
|
1089
|
+
* ]
|
|
1090
|
+
* })
|
|
1091
|
+
*
|
|
1092
|
+
*/
|
|
1093
|
+
createMany<T extends EventCategoryCreateManyArgs>(args?: Prisma.SelectSubset<T, EventCategoryCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1094
|
+
|
|
1095
|
+
/**
|
|
1096
|
+
* Create many EventCategories and returns the data saved in the database.
|
|
1097
|
+
* @param {EventCategoryCreateManyAndReturnArgs} args - Arguments to create many EventCategories.
|
|
1098
|
+
* @example
|
|
1099
|
+
* // Create many EventCategories
|
|
1100
|
+
* const eventCategory = await prisma.eventCategory.createManyAndReturn({
|
|
1101
|
+
* data: [
|
|
1102
|
+
* // ... provide data here
|
|
1103
|
+
* ]
|
|
1104
|
+
* })
|
|
1105
|
+
*
|
|
1106
|
+
* // Create many EventCategories and only return the `id`
|
|
1107
|
+
* const eventCategoryWithIdOnly = await prisma.eventCategory.createManyAndReturn({
|
|
1108
|
+
* select: { id: true },
|
|
1109
|
+
* data: [
|
|
1110
|
+
* // ... provide data here
|
|
1111
|
+
* ]
|
|
1112
|
+
* })
|
|
1113
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1114
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1115
|
+
*
|
|
1116
|
+
*/
|
|
1117
|
+
createManyAndReturn<T extends EventCategoryCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, EventCategoryCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EventCategoryPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
1118
|
+
|
|
1119
|
+
/**
|
|
1120
|
+
* Delete a EventCategory.
|
|
1121
|
+
* @param {EventCategoryDeleteArgs} args - Arguments to delete one EventCategory.
|
|
1122
|
+
* @example
|
|
1123
|
+
* // Delete one EventCategory
|
|
1124
|
+
* const EventCategory = await prisma.eventCategory.delete({
|
|
1125
|
+
* where: {
|
|
1126
|
+
* // ... filter to delete one EventCategory
|
|
1127
|
+
* }
|
|
1128
|
+
* })
|
|
1129
|
+
*
|
|
1130
|
+
*/
|
|
1131
|
+
delete<T extends EventCategoryDeleteArgs>(args: Prisma.SelectSubset<T, EventCategoryDeleteArgs<ExtArgs>>): Prisma.Prisma__EventCategoryClient<runtime.Types.Result.GetResult<Prisma.$EventCategoryPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1132
|
+
|
|
1133
|
+
/**
|
|
1134
|
+
* Update one EventCategory.
|
|
1135
|
+
* @param {EventCategoryUpdateArgs} args - Arguments to update one EventCategory.
|
|
1136
|
+
* @example
|
|
1137
|
+
* // Update one EventCategory
|
|
1138
|
+
* const eventCategory = await prisma.eventCategory.update({
|
|
1139
|
+
* where: {
|
|
1140
|
+
* // ... provide filter here
|
|
1141
|
+
* },
|
|
1142
|
+
* data: {
|
|
1143
|
+
* // ... provide data here
|
|
1144
|
+
* }
|
|
1145
|
+
* })
|
|
1146
|
+
*
|
|
1147
|
+
*/
|
|
1148
|
+
update<T extends EventCategoryUpdateArgs>(args: Prisma.SelectSubset<T, EventCategoryUpdateArgs<ExtArgs>>): Prisma.Prisma__EventCategoryClient<runtime.Types.Result.GetResult<Prisma.$EventCategoryPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1149
|
+
|
|
1150
|
+
/**
|
|
1151
|
+
* Delete zero or more EventCategories.
|
|
1152
|
+
* @param {EventCategoryDeleteManyArgs} args - Arguments to filter EventCategories to delete.
|
|
1153
|
+
* @example
|
|
1154
|
+
* // Delete a few EventCategories
|
|
1155
|
+
* const { count } = await prisma.eventCategory.deleteMany({
|
|
1156
|
+
* where: {
|
|
1157
|
+
* // ... provide filter here
|
|
1158
|
+
* }
|
|
1159
|
+
* })
|
|
1160
|
+
*
|
|
1161
|
+
*/
|
|
1162
|
+
deleteMany<T extends EventCategoryDeleteManyArgs>(args?: Prisma.SelectSubset<T, EventCategoryDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1163
|
+
|
|
1164
|
+
/**
|
|
1165
|
+
* Update zero or more EventCategories.
|
|
1166
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1167
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1168
|
+
* @param {EventCategoryUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1169
|
+
* @example
|
|
1170
|
+
* // Update many EventCategories
|
|
1171
|
+
* const eventCategory = await prisma.eventCategory.updateMany({
|
|
1172
|
+
* where: {
|
|
1173
|
+
* // ... provide filter here
|
|
1174
|
+
* },
|
|
1175
|
+
* data: {
|
|
1176
|
+
* // ... provide data here
|
|
1177
|
+
* }
|
|
1178
|
+
* })
|
|
1179
|
+
*
|
|
1180
|
+
*/
|
|
1181
|
+
updateMany<T extends EventCategoryUpdateManyArgs>(args: Prisma.SelectSubset<T, EventCategoryUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1182
|
+
|
|
1183
|
+
/**
|
|
1184
|
+
* Update zero or more EventCategories and returns the data updated in the database.
|
|
1185
|
+
* @param {EventCategoryUpdateManyAndReturnArgs} args - Arguments to update many EventCategories.
|
|
1186
|
+
* @example
|
|
1187
|
+
* // Update many EventCategories
|
|
1188
|
+
* const eventCategory = await prisma.eventCategory.updateManyAndReturn({
|
|
1189
|
+
* where: {
|
|
1190
|
+
* // ... provide filter here
|
|
1191
|
+
* },
|
|
1192
|
+
* data: [
|
|
1193
|
+
* // ... provide data here
|
|
1194
|
+
* ]
|
|
1195
|
+
* })
|
|
1196
|
+
*
|
|
1197
|
+
* // Update zero or more EventCategories and only return the `id`
|
|
1198
|
+
* const eventCategoryWithIdOnly = await prisma.eventCategory.updateManyAndReturn({
|
|
1199
|
+
* select: { id: true },
|
|
1200
|
+
* where: {
|
|
1201
|
+
* // ... provide filter here
|
|
1202
|
+
* },
|
|
1203
|
+
* data: [
|
|
1204
|
+
* // ... provide data here
|
|
1205
|
+
* ]
|
|
1206
|
+
* })
|
|
1207
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1208
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1209
|
+
*
|
|
1210
|
+
*/
|
|
1211
|
+
updateManyAndReturn<T extends EventCategoryUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, EventCategoryUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EventCategoryPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1212
|
+
|
|
1213
|
+
/**
|
|
1214
|
+
* Create or update one EventCategory.
|
|
1215
|
+
* @param {EventCategoryUpsertArgs} args - Arguments to update or create a EventCategory.
|
|
1216
|
+
* @example
|
|
1217
|
+
* // Update or create a EventCategory
|
|
1218
|
+
* const eventCategory = await prisma.eventCategory.upsert({
|
|
1219
|
+
* create: {
|
|
1220
|
+
* // ... data to create a EventCategory
|
|
1221
|
+
* },
|
|
1222
|
+
* update: {
|
|
1223
|
+
* // ... in case it already exists, update
|
|
1224
|
+
* },
|
|
1225
|
+
* where: {
|
|
1226
|
+
* // ... the filter for the EventCategory we want to update
|
|
1227
|
+
* }
|
|
1228
|
+
* })
|
|
1229
|
+
*/
|
|
1230
|
+
upsert<T extends EventCategoryUpsertArgs>(args: Prisma.SelectSubset<T, EventCategoryUpsertArgs<ExtArgs>>): Prisma.Prisma__EventCategoryClient<runtime.Types.Result.GetResult<Prisma.$EventCategoryPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1231
|
+
|
|
1232
|
+
|
|
1233
|
+
/**
|
|
1234
|
+
* Count the number of EventCategories.
|
|
1235
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1236
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1237
|
+
* @param {EventCategoryCountArgs} args - Arguments to filter EventCategories to count.
|
|
1238
|
+
* @example
|
|
1239
|
+
* // Count the number of EventCategories
|
|
1240
|
+
* const count = await prisma.eventCategory.count({
|
|
1241
|
+
* where: {
|
|
1242
|
+
* // ... the filter for the EventCategories we want to count
|
|
1243
|
+
* }
|
|
1244
|
+
* })
|
|
1245
|
+
**/
|
|
1246
|
+
count<T extends EventCategoryCountArgs>(
|
|
1247
|
+
args?: Prisma.Subset<T, EventCategoryCountArgs>,
|
|
1248
|
+
): Prisma.PrismaPromise<
|
|
1249
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
1250
|
+
? T['select'] extends true
|
|
1251
|
+
? number
|
|
1252
|
+
: Prisma.GetScalarType<T['select'], EventCategoryCountAggregateOutputType>
|
|
1253
|
+
: number
|
|
1254
|
+
>
|
|
1255
|
+
|
|
1256
|
+
/**
|
|
1257
|
+
* Allows you to perform aggregations operations on a EventCategory.
|
|
1258
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1259
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1260
|
+
* @param {EventCategoryAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1261
|
+
* @example
|
|
1262
|
+
* // Ordered by age ascending
|
|
1263
|
+
* // Where email contains prisma.io
|
|
1264
|
+
* // Limited to the 10 users
|
|
1265
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1266
|
+
* _avg: {
|
|
1267
|
+
* age: true,
|
|
1268
|
+
* },
|
|
1269
|
+
* where: {
|
|
1270
|
+
* email: {
|
|
1271
|
+
* contains: "prisma.io",
|
|
1272
|
+
* },
|
|
1273
|
+
* },
|
|
1274
|
+
* orderBy: {
|
|
1275
|
+
* age: "asc",
|
|
1276
|
+
* },
|
|
1277
|
+
* take: 10,
|
|
1278
|
+
* })
|
|
1279
|
+
**/
|
|
1280
|
+
aggregate<T extends EventCategoryAggregateArgs>(args: Prisma.Subset<T, EventCategoryAggregateArgs>): Prisma.PrismaPromise<GetEventCategoryAggregateType<T>>
|
|
1281
|
+
|
|
1282
|
+
/**
|
|
1283
|
+
* Group by EventCategory.
|
|
1284
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1285
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1286
|
+
* @param {EventCategoryGroupByArgs} args - Group by arguments.
|
|
1287
|
+
* @example
|
|
1288
|
+
* // Group by city, order by createdAt, get count
|
|
1289
|
+
* const result = await prisma.user.groupBy({
|
|
1290
|
+
* by: ['city', 'createdAt'],
|
|
1291
|
+
* orderBy: {
|
|
1292
|
+
* createdAt: true
|
|
1293
|
+
* },
|
|
1294
|
+
* _count: {
|
|
1295
|
+
* _all: true
|
|
1296
|
+
* },
|
|
1297
|
+
* })
|
|
1298
|
+
*
|
|
1299
|
+
**/
|
|
1300
|
+
groupBy<
|
|
1301
|
+
T extends EventCategoryGroupByArgs,
|
|
1302
|
+
HasSelectOrTake extends Prisma.Or<
|
|
1303
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1304
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1305
|
+
>,
|
|
1306
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1307
|
+
? { orderBy: EventCategoryGroupByArgs['orderBy'] }
|
|
1308
|
+
: { orderBy?: EventCategoryGroupByArgs['orderBy'] },
|
|
1309
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1310
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1311
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1312
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1313
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1314
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1315
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
1316
|
+
? `Error: "by" must not be empty.`
|
|
1317
|
+
: HavingValid extends Prisma.False
|
|
1318
|
+
? {
|
|
1319
|
+
[P in HavingFields]: P extends ByFields
|
|
1320
|
+
? never
|
|
1321
|
+
: P extends string
|
|
1322
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1323
|
+
: [
|
|
1324
|
+
Error,
|
|
1325
|
+
'Field ',
|
|
1326
|
+
P,
|
|
1327
|
+
` in "having" needs to be provided in "by"`,
|
|
1328
|
+
]
|
|
1329
|
+
}[HavingFields]
|
|
1330
|
+
: 'take' extends Prisma.Keys<T>
|
|
1331
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1332
|
+
? ByValid extends Prisma.True
|
|
1333
|
+
? {}
|
|
1334
|
+
: {
|
|
1335
|
+
[P in OrderFields]: P extends ByFields
|
|
1336
|
+
? never
|
|
1337
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1338
|
+
}[OrderFields]
|
|
1339
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1340
|
+
: 'skip' extends Prisma.Keys<T>
|
|
1341
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1342
|
+
? ByValid extends Prisma.True
|
|
1343
|
+
? {}
|
|
1344
|
+
: {
|
|
1345
|
+
[P in OrderFields]: P extends ByFields
|
|
1346
|
+
? never
|
|
1347
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1348
|
+
}[OrderFields]
|
|
1349
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1350
|
+
: ByValid extends Prisma.True
|
|
1351
|
+
? {}
|
|
1352
|
+
: {
|
|
1353
|
+
[P in OrderFields]: P extends ByFields
|
|
1354
|
+
? never
|
|
1355
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1356
|
+
}[OrderFields]
|
|
1357
|
+
>(args: Prisma.SubsetIntersection<T, EventCategoryGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetEventCategoryGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1358
|
+
/**
|
|
1359
|
+
* Fields of the EventCategory model
|
|
1360
|
+
*/
|
|
1361
|
+
readonly fields: EventCategoryFieldRefs;
|
|
1362
|
+
}
|
|
1363
|
+
|
|
1364
|
+
/**
|
|
1365
|
+
* The delegate class that acts as a "Promise-like" for EventCategory.
|
|
1366
|
+
* Why is this prefixed with `Prisma__`?
|
|
1367
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1368
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1369
|
+
*/
|
|
1370
|
+
export interface Prisma__EventCategoryClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1371
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1372
|
+
events<T extends Prisma.EventCategory$eventsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EventCategory$eventsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EventPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1373
|
+
userInterests<T extends Prisma.EventCategory$userInterestsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EventCategory$userInterestsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserInterestsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1374
|
+
parent<T extends Prisma.EventCategory$parentArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EventCategory$parentArgs<ExtArgs>>): Prisma.Prisma__EventCategoryClient<runtime.Types.Result.GetResult<Prisma.$EventCategoryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1375
|
+
children<T extends Prisma.EventCategory$childrenArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EventCategory$childrenArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EventCategoryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1376
|
+
/**
|
|
1377
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1378
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1379
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1380
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1381
|
+
*/
|
|
1382
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
1383
|
+
/**
|
|
1384
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1385
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1386
|
+
* @returns A Promise for the completion of the callback.
|
|
1387
|
+
*/
|
|
1388
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1389
|
+
/**
|
|
1390
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1391
|
+
* resolved value cannot be modified from the callback.
|
|
1392
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1393
|
+
* @returns A Promise for the completion of the callback.
|
|
1394
|
+
*/
|
|
1395
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1398
|
+
|
|
1399
|
+
|
|
1400
|
+
|
|
1401
|
+
/**
|
|
1402
|
+
* Fields of the EventCategory model
|
|
1403
|
+
*/
|
|
1404
|
+
export interface EventCategoryFieldRefs {
|
|
1405
|
+
readonly id: Prisma.FieldRef<"EventCategory", 'String'>
|
|
1406
|
+
readonly name: Prisma.FieldRef<"EventCategory", 'String'>
|
|
1407
|
+
readonly description: Prisma.FieldRef<"EventCategory", 'String'>
|
|
1408
|
+
readonly createdAt: Prisma.FieldRef<"EventCategory", 'DateTime'>
|
|
1409
|
+
readonly updatedAt: Prisma.FieldRef<"EventCategory", 'DateTime'>
|
|
1410
|
+
readonly active: Prisma.FieldRef<"EventCategory", 'Boolean'>
|
|
1411
|
+
readonly parentId: Prisma.FieldRef<"EventCategory", 'String'>
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1414
|
+
|
|
1415
|
+
// Custom InputTypes
|
|
1416
|
+
/**
|
|
1417
|
+
* EventCategory findUnique
|
|
1418
|
+
*/
|
|
1419
|
+
export type EventCategoryFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1420
|
+
/**
|
|
1421
|
+
* Select specific fields to fetch from the EventCategory
|
|
1422
|
+
*/
|
|
1423
|
+
select?: Prisma.EventCategorySelect<ExtArgs> | null
|
|
1424
|
+
/**
|
|
1425
|
+
* Omit specific fields from the EventCategory
|
|
1426
|
+
*/
|
|
1427
|
+
omit?: Prisma.EventCategoryOmit<ExtArgs> | null
|
|
1428
|
+
/**
|
|
1429
|
+
* Choose, which related nodes to fetch as well
|
|
1430
|
+
*/
|
|
1431
|
+
include?: Prisma.EventCategoryInclude<ExtArgs> | null
|
|
1432
|
+
/**
|
|
1433
|
+
* Filter, which EventCategory to fetch.
|
|
1434
|
+
*/
|
|
1435
|
+
where: Prisma.EventCategoryWhereUniqueInput
|
|
1436
|
+
}
|
|
1437
|
+
|
|
1438
|
+
/**
|
|
1439
|
+
* EventCategory findUniqueOrThrow
|
|
1440
|
+
*/
|
|
1441
|
+
export type EventCategoryFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1442
|
+
/**
|
|
1443
|
+
* Select specific fields to fetch from the EventCategory
|
|
1444
|
+
*/
|
|
1445
|
+
select?: Prisma.EventCategorySelect<ExtArgs> | null
|
|
1446
|
+
/**
|
|
1447
|
+
* Omit specific fields from the EventCategory
|
|
1448
|
+
*/
|
|
1449
|
+
omit?: Prisma.EventCategoryOmit<ExtArgs> | null
|
|
1450
|
+
/**
|
|
1451
|
+
* Choose, which related nodes to fetch as well
|
|
1452
|
+
*/
|
|
1453
|
+
include?: Prisma.EventCategoryInclude<ExtArgs> | null
|
|
1454
|
+
/**
|
|
1455
|
+
* Filter, which EventCategory to fetch.
|
|
1456
|
+
*/
|
|
1457
|
+
where: Prisma.EventCategoryWhereUniqueInput
|
|
1458
|
+
}
|
|
1459
|
+
|
|
1460
|
+
/**
|
|
1461
|
+
* EventCategory findFirst
|
|
1462
|
+
*/
|
|
1463
|
+
export type EventCategoryFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1464
|
+
/**
|
|
1465
|
+
* Select specific fields to fetch from the EventCategory
|
|
1466
|
+
*/
|
|
1467
|
+
select?: Prisma.EventCategorySelect<ExtArgs> | null
|
|
1468
|
+
/**
|
|
1469
|
+
* Omit specific fields from the EventCategory
|
|
1470
|
+
*/
|
|
1471
|
+
omit?: Prisma.EventCategoryOmit<ExtArgs> | null
|
|
1472
|
+
/**
|
|
1473
|
+
* Choose, which related nodes to fetch as well
|
|
1474
|
+
*/
|
|
1475
|
+
include?: Prisma.EventCategoryInclude<ExtArgs> | null
|
|
1476
|
+
/**
|
|
1477
|
+
* Filter, which EventCategory to fetch.
|
|
1478
|
+
*/
|
|
1479
|
+
where?: Prisma.EventCategoryWhereInput
|
|
1480
|
+
/**
|
|
1481
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1482
|
+
*
|
|
1483
|
+
* Determine the order of EventCategories to fetch.
|
|
1484
|
+
*/
|
|
1485
|
+
orderBy?: Prisma.EventCategoryOrderByWithRelationInput | Prisma.EventCategoryOrderByWithRelationInput[]
|
|
1486
|
+
/**
|
|
1487
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1488
|
+
*
|
|
1489
|
+
* Sets the position for searching for EventCategories.
|
|
1490
|
+
*/
|
|
1491
|
+
cursor?: Prisma.EventCategoryWhereUniqueInput
|
|
1492
|
+
/**
|
|
1493
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1494
|
+
*
|
|
1495
|
+
* Take `±n` EventCategories from the position of the cursor.
|
|
1496
|
+
*/
|
|
1497
|
+
take?: number
|
|
1498
|
+
/**
|
|
1499
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1500
|
+
*
|
|
1501
|
+
* Skip the first `n` EventCategories.
|
|
1502
|
+
*/
|
|
1503
|
+
skip?: number
|
|
1504
|
+
/**
|
|
1505
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1506
|
+
*
|
|
1507
|
+
* Filter by unique combinations of EventCategories.
|
|
1508
|
+
*/
|
|
1509
|
+
distinct?: Prisma.EventCategoryScalarFieldEnum | Prisma.EventCategoryScalarFieldEnum[]
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1512
|
+
/**
|
|
1513
|
+
* EventCategory findFirstOrThrow
|
|
1514
|
+
*/
|
|
1515
|
+
export type EventCategoryFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1516
|
+
/**
|
|
1517
|
+
* Select specific fields to fetch from the EventCategory
|
|
1518
|
+
*/
|
|
1519
|
+
select?: Prisma.EventCategorySelect<ExtArgs> | null
|
|
1520
|
+
/**
|
|
1521
|
+
* Omit specific fields from the EventCategory
|
|
1522
|
+
*/
|
|
1523
|
+
omit?: Prisma.EventCategoryOmit<ExtArgs> | null
|
|
1524
|
+
/**
|
|
1525
|
+
* Choose, which related nodes to fetch as well
|
|
1526
|
+
*/
|
|
1527
|
+
include?: Prisma.EventCategoryInclude<ExtArgs> | null
|
|
1528
|
+
/**
|
|
1529
|
+
* Filter, which EventCategory to fetch.
|
|
1530
|
+
*/
|
|
1531
|
+
where?: Prisma.EventCategoryWhereInput
|
|
1532
|
+
/**
|
|
1533
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1534
|
+
*
|
|
1535
|
+
* Determine the order of EventCategories to fetch.
|
|
1536
|
+
*/
|
|
1537
|
+
orderBy?: Prisma.EventCategoryOrderByWithRelationInput | Prisma.EventCategoryOrderByWithRelationInput[]
|
|
1538
|
+
/**
|
|
1539
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1540
|
+
*
|
|
1541
|
+
* Sets the position for searching for EventCategories.
|
|
1542
|
+
*/
|
|
1543
|
+
cursor?: Prisma.EventCategoryWhereUniqueInput
|
|
1544
|
+
/**
|
|
1545
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1546
|
+
*
|
|
1547
|
+
* Take `±n` EventCategories from the position of the cursor.
|
|
1548
|
+
*/
|
|
1549
|
+
take?: number
|
|
1550
|
+
/**
|
|
1551
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1552
|
+
*
|
|
1553
|
+
* Skip the first `n` EventCategories.
|
|
1554
|
+
*/
|
|
1555
|
+
skip?: number
|
|
1556
|
+
/**
|
|
1557
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1558
|
+
*
|
|
1559
|
+
* Filter by unique combinations of EventCategories.
|
|
1560
|
+
*/
|
|
1561
|
+
distinct?: Prisma.EventCategoryScalarFieldEnum | Prisma.EventCategoryScalarFieldEnum[]
|
|
1562
|
+
}
|
|
1563
|
+
|
|
1564
|
+
/**
|
|
1565
|
+
* EventCategory findMany
|
|
1566
|
+
*/
|
|
1567
|
+
export type EventCategoryFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1568
|
+
/**
|
|
1569
|
+
* Select specific fields to fetch from the EventCategory
|
|
1570
|
+
*/
|
|
1571
|
+
select?: Prisma.EventCategorySelect<ExtArgs> | null
|
|
1572
|
+
/**
|
|
1573
|
+
* Omit specific fields from the EventCategory
|
|
1574
|
+
*/
|
|
1575
|
+
omit?: Prisma.EventCategoryOmit<ExtArgs> | null
|
|
1576
|
+
/**
|
|
1577
|
+
* Choose, which related nodes to fetch as well
|
|
1578
|
+
*/
|
|
1579
|
+
include?: Prisma.EventCategoryInclude<ExtArgs> | null
|
|
1580
|
+
/**
|
|
1581
|
+
* Filter, which EventCategories to fetch.
|
|
1582
|
+
*/
|
|
1583
|
+
where?: Prisma.EventCategoryWhereInput
|
|
1584
|
+
/**
|
|
1585
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1586
|
+
*
|
|
1587
|
+
* Determine the order of EventCategories to fetch.
|
|
1588
|
+
*/
|
|
1589
|
+
orderBy?: Prisma.EventCategoryOrderByWithRelationInput | Prisma.EventCategoryOrderByWithRelationInput[]
|
|
1590
|
+
/**
|
|
1591
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1592
|
+
*
|
|
1593
|
+
* Sets the position for listing EventCategories.
|
|
1594
|
+
*/
|
|
1595
|
+
cursor?: Prisma.EventCategoryWhereUniqueInput
|
|
1596
|
+
/**
|
|
1597
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1598
|
+
*
|
|
1599
|
+
* Take `±n` EventCategories from the position of the cursor.
|
|
1600
|
+
*/
|
|
1601
|
+
take?: number
|
|
1602
|
+
/**
|
|
1603
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1604
|
+
*
|
|
1605
|
+
* Skip the first `n` EventCategories.
|
|
1606
|
+
*/
|
|
1607
|
+
skip?: number
|
|
1608
|
+
/**
|
|
1609
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1610
|
+
*
|
|
1611
|
+
* Filter by unique combinations of EventCategories.
|
|
1612
|
+
*/
|
|
1613
|
+
distinct?: Prisma.EventCategoryScalarFieldEnum | Prisma.EventCategoryScalarFieldEnum[]
|
|
1614
|
+
}
|
|
1615
|
+
|
|
1616
|
+
/**
|
|
1617
|
+
* EventCategory create
|
|
1618
|
+
*/
|
|
1619
|
+
export type EventCategoryCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1620
|
+
/**
|
|
1621
|
+
* Select specific fields to fetch from the EventCategory
|
|
1622
|
+
*/
|
|
1623
|
+
select?: Prisma.EventCategorySelect<ExtArgs> | null
|
|
1624
|
+
/**
|
|
1625
|
+
* Omit specific fields from the EventCategory
|
|
1626
|
+
*/
|
|
1627
|
+
omit?: Prisma.EventCategoryOmit<ExtArgs> | null
|
|
1628
|
+
/**
|
|
1629
|
+
* Choose, which related nodes to fetch as well
|
|
1630
|
+
*/
|
|
1631
|
+
include?: Prisma.EventCategoryInclude<ExtArgs> | null
|
|
1632
|
+
/**
|
|
1633
|
+
* The data needed to create a EventCategory.
|
|
1634
|
+
*/
|
|
1635
|
+
data: Prisma.XOR<Prisma.EventCategoryCreateInput, Prisma.EventCategoryUncheckedCreateInput>
|
|
1636
|
+
}
|
|
1637
|
+
|
|
1638
|
+
/**
|
|
1639
|
+
* EventCategory createMany
|
|
1640
|
+
*/
|
|
1641
|
+
export type EventCategoryCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1642
|
+
/**
|
|
1643
|
+
* The data used to create many EventCategories.
|
|
1644
|
+
*/
|
|
1645
|
+
data: Prisma.EventCategoryCreateManyInput | Prisma.EventCategoryCreateManyInput[]
|
|
1646
|
+
skipDuplicates?: boolean
|
|
1647
|
+
}
|
|
1648
|
+
|
|
1649
|
+
/**
|
|
1650
|
+
* EventCategory createManyAndReturn
|
|
1651
|
+
*/
|
|
1652
|
+
export type EventCategoryCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1653
|
+
/**
|
|
1654
|
+
* Select specific fields to fetch from the EventCategory
|
|
1655
|
+
*/
|
|
1656
|
+
select?: Prisma.EventCategorySelectCreateManyAndReturn<ExtArgs> | null
|
|
1657
|
+
/**
|
|
1658
|
+
* Omit specific fields from the EventCategory
|
|
1659
|
+
*/
|
|
1660
|
+
omit?: Prisma.EventCategoryOmit<ExtArgs> | null
|
|
1661
|
+
/**
|
|
1662
|
+
* The data used to create many EventCategories.
|
|
1663
|
+
*/
|
|
1664
|
+
data: Prisma.EventCategoryCreateManyInput | Prisma.EventCategoryCreateManyInput[]
|
|
1665
|
+
skipDuplicates?: boolean
|
|
1666
|
+
/**
|
|
1667
|
+
* Choose, which related nodes to fetch as well
|
|
1668
|
+
*/
|
|
1669
|
+
include?: Prisma.EventCategoryIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1670
|
+
}
|
|
1671
|
+
|
|
1672
|
+
/**
|
|
1673
|
+
* EventCategory update
|
|
1674
|
+
*/
|
|
1675
|
+
export type EventCategoryUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1676
|
+
/**
|
|
1677
|
+
* Select specific fields to fetch from the EventCategory
|
|
1678
|
+
*/
|
|
1679
|
+
select?: Prisma.EventCategorySelect<ExtArgs> | null
|
|
1680
|
+
/**
|
|
1681
|
+
* Omit specific fields from the EventCategory
|
|
1682
|
+
*/
|
|
1683
|
+
omit?: Prisma.EventCategoryOmit<ExtArgs> | null
|
|
1684
|
+
/**
|
|
1685
|
+
* Choose, which related nodes to fetch as well
|
|
1686
|
+
*/
|
|
1687
|
+
include?: Prisma.EventCategoryInclude<ExtArgs> | null
|
|
1688
|
+
/**
|
|
1689
|
+
* The data needed to update a EventCategory.
|
|
1690
|
+
*/
|
|
1691
|
+
data: Prisma.XOR<Prisma.EventCategoryUpdateInput, Prisma.EventCategoryUncheckedUpdateInput>
|
|
1692
|
+
/**
|
|
1693
|
+
* Choose, which EventCategory to update.
|
|
1694
|
+
*/
|
|
1695
|
+
where: Prisma.EventCategoryWhereUniqueInput
|
|
1696
|
+
}
|
|
1697
|
+
|
|
1698
|
+
/**
|
|
1699
|
+
* EventCategory updateMany
|
|
1700
|
+
*/
|
|
1701
|
+
export type EventCategoryUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1702
|
+
/**
|
|
1703
|
+
* The data used to update EventCategories.
|
|
1704
|
+
*/
|
|
1705
|
+
data: Prisma.XOR<Prisma.EventCategoryUpdateManyMutationInput, Prisma.EventCategoryUncheckedUpdateManyInput>
|
|
1706
|
+
/**
|
|
1707
|
+
* Filter which EventCategories to update
|
|
1708
|
+
*/
|
|
1709
|
+
where?: Prisma.EventCategoryWhereInput
|
|
1710
|
+
/**
|
|
1711
|
+
* Limit how many EventCategories to update.
|
|
1712
|
+
*/
|
|
1713
|
+
limit?: number
|
|
1714
|
+
}
|
|
1715
|
+
|
|
1716
|
+
/**
|
|
1717
|
+
* EventCategory updateManyAndReturn
|
|
1718
|
+
*/
|
|
1719
|
+
export type EventCategoryUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1720
|
+
/**
|
|
1721
|
+
* Select specific fields to fetch from the EventCategory
|
|
1722
|
+
*/
|
|
1723
|
+
select?: Prisma.EventCategorySelectUpdateManyAndReturn<ExtArgs> | null
|
|
1724
|
+
/**
|
|
1725
|
+
* Omit specific fields from the EventCategory
|
|
1726
|
+
*/
|
|
1727
|
+
omit?: Prisma.EventCategoryOmit<ExtArgs> | null
|
|
1728
|
+
/**
|
|
1729
|
+
* The data used to update EventCategories.
|
|
1730
|
+
*/
|
|
1731
|
+
data: Prisma.XOR<Prisma.EventCategoryUpdateManyMutationInput, Prisma.EventCategoryUncheckedUpdateManyInput>
|
|
1732
|
+
/**
|
|
1733
|
+
* Filter which EventCategories to update
|
|
1734
|
+
*/
|
|
1735
|
+
where?: Prisma.EventCategoryWhereInput
|
|
1736
|
+
/**
|
|
1737
|
+
* Limit how many EventCategories to update.
|
|
1738
|
+
*/
|
|
1739
|
+
limit?: number
|
|
1740
|
+
/**
|
|
1741
|
+
* Choose, which related nodes to fetch as well
|
|
1742
|
+
*/
|
|
1743
|
+
include?: Prisma.EventCategoryIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1744
|
+
}
|
|
1745
|
+
|
|
1746
|
+
/**
|
|
1747
|
+
* EventCategory upsert
|
|
1748
|
+
*/
|
|
1749
|
+
export type EventCategoryUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1750
|
+
/**
|
|
1751
|
+
* Select specific fields to fetch from the EventCategory
|
|
1752
|
+
*/
|
|
1753
|
+
select?: Prisma.EventCategorySelect<ExtArgs> | null
|
|
1754
|
+
/**
|
|
1755
|
+
* Omit specific fields from the EventCategory
|
|
1756
|
+
*/
|
|
1757
|
+
omit?: Prisma.EventCategoryOmit<ExtArgs> | null
|
|
1758
|
+
/**
|
|
1759
|
+
* Choose, which related nodes to fetch as well
|
|
1760
|
+
*/
|
|
1761
|
+
include?: Prisma.EventCategoryInclude<ExtArgs> | null
|
|
1762
|
+
/**
|
|
1763
|
+
* The filter to search for the EventCategory to update in case it exists.
|
|
1764
|
+
*/
|
|
1765
|
+
where: Prisma.EventCategoryWhereUniqueInput
|
|
1766
|
+
/**
|
|
1767
|
+
* In case the EventCategory found by the `where` argument doesn't exist, create a new EventCategory with this data.
|
|
1768
|
+
*/
|
|
1769
|
+
create: Prisma.XOR<Prisma.EventCategoryCreateInput, Prisma.EventCategoryUncheckedCreateInput>
|
|
1770
|
+
/**
|
|
1771
|
+
* In case the EventCategory was found with the provided `where` argument, update it with this data.
|
|
1772
|
+
*/
|
|
1773
|
+
update: Prisma.XOR<Prisma.EventCategoryUpdateInput, Prisma.EventCategoryUncheckedUpdateInput>
|
|
1774
|
+
}
|
|
1775
|
+
|
|
1776
|
+
/**
|
|
1777
|
+
* EventCategory delete
|
|
1778
|
+
*/
|
|
1779
|
+
export type EventCategoryDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1780
|
+
/**
|
|
1781
|
+
* Select specific fields to fetch from the EventCategory
|
|
1782
|
+
*/
|
|
1783
|
+
select?: Prisma.EventCategorySelect<ExtArgs> | null
|
|
1784
|
+
/**
|
|
1785
|
+
* Omit specific fields from the EventCategory
|
|
1786
|
+
*/
|
|
1787
|
+
omit?: Prisma.EventCategoryOmit<ExtArgs> | null
|
|
1788
|
+
/**
|
|
1789
|
+
* Choose, which related nodes to fetch as well
|
|
1790
|
+
*/
|
|
1791
|
+
include?: Prisma.EventCategoryInclude<ExtArgs> | null
|
|
1792
|
+
/**
|
|
1793
|
+
* Filter which EventCategory to delete.
|
|
1794
|
+
*/
|
|
1795
|
+
where: Prisma.EventCategoryWhereUniqueInput
|
|
1796
|
+
}
|
|
1797
|
+
|
|
1798
|
+
/**
|
|
1799
|
+
* EventCategory deleteMany
|
|
1800
|
+
*/
|
|
1801
|
+
export type EventCategoryDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1802
|
+
/**
|
|
1803
|
+
* Filter which EventCategories to delete
|
|
1804
|
+
*/
|
|
1805
|
+
where?: Prisma.EventCategoryWhereInput
|
|
1806
|
+
/**
|
|
1807
|
+
* Limit how many EventCategories to delete.
|
|
1808
|
+
*/
|
|
1809
|
+
limit?: number
|
|
1810
|
+
}
|
|
1811
|
+
|
|
1812
|
+
/**
|
|
1813
|
+
* EventCategory.events
|
|
1814
|
+
*/
|
|
1815
|
+
export type EventCategory$eventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1816
|
+
/**
|
|
1817
|
+
* Select specific fields to fetch from the Event
|
|
1818
|
+
*/
|
|
1819
|
+
select?: Prisma.EventSelect<ExtArgs> | null
|
|
1820
|
+
/**
|
|
1821
|
+
* Omit specific fields from the Event
|
|
1822
|
+
*/
|
|
1823
|
+
omit?: Prisma.EventOmit<ExtArgs> | null
|
|
1824
|
+
/**
|
|
1825
|
+
* Choose, which related nodes to fetch as well
|
|
1826
|
+
*/
|
|
1827
|
+
include?: Prisma.EventInclude<ExtArgs> | null
|
|
1828
|
+
where?: Prisma.EventWhereInput
|
|
1829
|
+
orderBy?: Prisma.EventOrderByWithRelationInput | Prisma.EventOrderByWithRelationInput[]
|
|
1830
|
+
cursor?: Prisma.EventWhereUniqueInput
|
|
1831
|
+
take?: number
|
|
1832
|
+
skip?: number
|
|
1833
|
+
distinct?: Prisma.EventScalarFieldEnum | Prisma.EventScalarFieldEnum[]
|
|
1834
|
+
}
|
|
1835
|
+
|
|
1836
|
+
/**
|
|
1837
|
+
* EventCategory.userInterests
|
|
1838
|
+
*/
|
|
1839
|
+
export type EventCategory$userInterestsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1840
|
+
/**
|
|
1841
|
+
* Select specific fields to fetch from the UserInterests
|
|
1842
|
+
*/
|
|
1843
|
+
select?: Prisma.UserInterestsSelect<ExtArgs> | null
|
|
1844
|
+
/**
|
|
1845
|
+
* Omit specific fields from the UserInterests
|
|
1846
|
+
*/
|
|
1847
|
+
omit?: Prisma.UserInterestsOmit<ExtArgs> | null
|
|
1848
|
+
/**
|
|
1849
|
+
* Choose, which related nodes to fetch as well
|
|
1850
|
+
*/
|
|
1851
|
+
include?: Prisma.UserInterestsInclude<ExtArgs> | null
|
|
1852
|
+
where?: Prisma.UserInterestsWhereInput
|
|
1853
|
+
orderBy?: Prisma.UserInterestsOrderByWithRelationInput | Prisma.UserInterestsOrderByWithRelationInput[]
|
|
1854
|
+
cursor?: Prisma.UserInterestsWhereUniqueInput
|
|
1855
|
+
take?: number
|
|
1856
|
+
skip?: number
|
|
1857
|
+
distinct?: Prisma.UserInterestsScalarFieldEnum | Prisma.UserInterestsScalarFieldEnum[]
|
|
1858
|
+
}
|
|
1859
|
+
|
|
1860
|
+
/**
|
|
1861
|
+
* EventCategory.parent
|
|
1862
|
+
*/
|
|
1863
|
+
export type EventCategory$parentArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1864
|
+
/**
|
|
1865
|
+
* Select specific fields to fetch from the EventCategory
|
|
1866
|
+
*/
|
|
1867
|
+
select?: Prisma.EventCategorySelect<ExtArgs> | null
|
|
1868
|
+
/**
|
|
1869
|
+
* Omit specific fields from the EventCategory
|
|
1870
|
+
*/
|
|
1871
|
+
omit?: Prisma.EventCategoryOmit<ExtArgs> | null
|
|
1872
|
+
/**
|
|
1873
|
+
* Choose, which related nodes to fetch as well
|
|
1874
|
+
*/
|
|
1875
|
+
include?: Prisma.EventCategoryInclude<ExtArgs> | null
|
|
1876
|
+
where?: Prisma.EventCategoryWhereInput
|
|
1877
|
+
}
|
|
1878
|
+
|
|
1879
|
+
/**
|
|
1880
|
+
* EventCategory.children
|
|
1881
|
+
*/
|
|
1882
|
+
export type EventCategory$childrenArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1883
|
+
/**
|
|
1884
|
+
* Select specific fields to fetch from the EventCategory
|
|
1885
|
+
*/
|
|
1886
|
+
select?: Prisma.EventCategorySelect<ExtArgs> | null
|
|
1887
|
+
/**
|
|
1888
|
+
* Omit specific fields from the EventCategory
|
|
1889
|
+
*/
|
|
1890
|
+
omit?: Prisma.EventCategoryOmit<ExtArgs> | null
|
|
1891
|
+
/**
|
|
1892
|
+
* Choose, which related nodes to fetch as well
|
|
1893
|
+
*/
|
|
1894
|
+
include?: Prisma.EventCategoryInclude<ExtArgs> | null
|
|
1895
|
+
where?: Prisma.EventCategoryWhereInput
|
|
1896
|
+
orderBy?: Prisma.EventCategoryOrderByWithRelationInput | Prisma.EventCategoryOrderByWithRelationInput[]
|
|
1897
|
+
cursor?: Prisma.EventCategoryWhereUniqueInput
|
|
1898
|
+
take?: number
|
|
1899
|
+
skip?: number
|
|
1900
|
+
distinct?: Prisma.EventCategoryScalarFieldEnum | Prisma.EventCategoryScalarFieldEnum[]
|
|
1901
|
+
}
|
|
1902
|
+
|
|
1903
|
+
/**
|
|
1904
|
+
* EventCategory without action
|
|
1905
|
+
*/
|
|
1906
|
+
export type EventCategoryDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1907
|
+
/**
|
|
1908
|
+
* Select specific fields to fetch from the EventCategory
|
|
1909
|
+
*/
|
|
1910
|
+
select?: Prisma.EventCategorySelect<ExtArgs> | null
|
|
1911
|
+
/**
|
|
1912
|
+
* Omit specific fields from the EventCategory
|
|
1913
|
+
*/
|
|
1914
|
+
omit?: Prisma.EventCategoryOmit<ExtArgs> | null
|
|
1915
|
+
/**
|
|
1916
|
+
* Choose, which related nodes to fetch as well
|
|
1917
|
+
*/
|
|
1918
|
+
include?: Prisma.EventCategoryInclude<ExtArgs> | null
|
|
1919
|
+
}
|