procbay-schema 1.0.171 → 1.0.175
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/package.json +13 -22
- package/prisma/migrations/20260518124524_added_new_template_builder_changes/migration.sql +26 -0
- package/prisma/schema.prisma +17 -7
- package/scripts/sync-schemas.js +1 -5
- package/src/create-prisma-client.js +9 -49
- package/src/prisma/client.d.ts +1 -0
- package/src/prisma/client.js +4 -0
- package/src/prisma/default.d.ts +1 -0
- package/src/prisma/default.js +4 -0
- package/src/prisma/edge.d.ts +1 -0
- package/src/prisma/edge.js +2911 -0
- package/src/{generated/prisma/internal/prismaNamespaceBrowser.ts → prisma/index-browser.js} +991 -739
- package/src/prisma/index.d.ts +286785 -0
- package/src/prisma/index.js +2940 -2
- package/src/prisma/libquery_engine-darwin.dylib.node +0 -0
- package/src/prisma/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
- package/src/prisma/package.json +140 -0
- package/src/prisma/query_engine-windows.dll.node +0 -0
- package/src/prisma/runtime/edge-esm.js +34 -0
- package/src/prisma/runtime/edge.js +34 -0
- package/src/prisma/runtime/index-browser.d.ts +370 -0
- package/src/prisma/runtime/index-browser.js +16 -0
- package/src/prisma/runtime/library.d.ts +3647 -0
- package/src/prisma/runtime/library.js +146 -0
- package/src/prisma/runtime/react-native.js +83 -0
- package/src/prisma/runtime/wasm.js +35 -0
- package/src/prisma/schema.prisma +3831 -0
- package/src/prisma/wasm.d.ts +1 -0
- package/src/prisma/wasm.js +2873 -0
- package/prisma/migrations/20260515130204_updated_user_approval_management_schema/migration.sql +0 -55
- package/prisma.config.js +0 -19
- package/src/generated/prisma/browser.ts +0 -574
- package/src/generated/prisma/client.bundle.mjs +0 -6733
- package/src/generated/prisma/client.ts +0 -598
- package/src/generated/prisma/commonInputTypes.ts +0 -2911
- package/src/generated/prisma/enums.ts +0 -730
- package/src/generated/prisma/internal/class.ts +0 -1304
- package/src/generated/prisma/internal/prismaNamespace.ts +0 -12506
- package/src/generated/prisma/models/ActivityLog.ts +0 -1590
- package/src/generated/prisma/models/AdminAlert.ts +0 -1547
- package/src/generated/prisma/models/ApprovalCondition.ts +0 -2085
- package/src/generated/prisma/models/ApprovalDelegation.ts +0 -3057
- package/src/generated/prisma/models/ApprovalDelegationDelegate.ts +0 -1784
- package/src/generated/prisma/models/ApprovalHierarchy.ts +0 -3083
- package/src/generated/prisma/models/ApprovalJourney.ts +0 -2867
- package/src/generated/prisma/models/ApprovalLevel.ts +0 -2335
- package/src/generated/prisma/models/ApprovalLevelEscalation.ts +0 -2128
- package/src/generated/prisma/models/ApprovalLevelEscalationUser.ts +0 -1863
- package/src/generated/prisma/models/ApprovalLevelUser.ts +0 -1863
- package/src/generated/prisma/models/ApprovalManagement.ts +0 -1728
- package/src/generated/prisma/models/Attribute.ts +0 -2075
- package/src/generated/prisma/models/AttributeValue.ts +0 -1882
- package/src/generated/prisma/models/Bid.ts +0 -2719
- package/src/generated/prisma/models/BidLog.ts +0 -3560
- package/src/generated/prisma/models/BlanketPurchaseOrder.ts +0 -3527
- package/src/generated/prisma/models/BlanketPurchaseOrderItem.ts +0 -2532
- package/src/generated/prisma/models/BlanketPurchaseOrderRelease.ts +0 -2713
- package/src/generated/prisma/models/BoqEventItem.ts +0 -4056
- package/src/generated/prisma/models/Budget.ts +0 -1954
- package/src/generated/prisma/models/BudgetHold.ts +0 -1904
- package/src/generated/prisma/models/BusinessEntity.ts +0 -3901
- package/src/generated/prisma/models/BusinessEntityDepartment.ts +0 -2032
- package/src/generated/prisma/models/BusinessEntityLocation.ts +0 -1567
- package/src/generated/prisma/models/Catalogue.ts +0 -2081
- package/src/generated/prisma/models/CatalogueCart.ts +0 -2305
- package/src/generated/prisma/models/CatalogueVendor.ts +0 -2252
- package/src/generated/prisma/models/Category.ts +0 -3091
- package/src/generated/prisma/models/CategoryBudget.ts +0 -2690
- package/src/generated/prisma/models/City.ts +0 -2180
- package/src/generated/prisma/models/Cms.ts +0 -1492
- package/src/generated/prisma/models/ContactUs.ts +0 -1654
- package/src/generated/prisma/models/Conversation.ts +0 -2389
- package/src/generated/prisma/models/ConversationParticipant.ts +0 -1833
- package/src/generated/prisma/models/CounterOffer.ts +0 -2156
- package/src/generated/prisma/models/Country.ts +0 -3394
- package/src/generated/prisma/models/Currency.ts +0 -1642
- package/src/generated/prisma/models/CustomerNotification.ts +0 -1653
- package/src/generated/prisma/models/Department.ts +0 -2372
- package/src/generated/prisma/models/DepartmentBudget.ts +0 -2494
- package/src/generated/prisma/models/DynamicForm.ts +0 -2021
- package/src/generated/prisma/models/EmailTemplate.ts +0 -1516
- package/src/generated/prisma/models/Event.ts +0 -6819
- package/src/generated/prisma/models/EventConfigurations.ts +0 -1736
- package/src/generated/prisma/models/EventCriteria.ts +0 -2134
- package/src/generated/prisma/models/EventItems.ts +0 -2821
- package/src/generated/prisma/models/EventRfiForm.ts +0 -2020
- package/src/generated/prisma/models/EventRfiFormLog.ts +0 -2608
- package/src/generated/prisma/models/EventStrategies.ts +0 -1857
- package/src/generated/prisma/models/EventVendorCriteria.ts +0 -2186
- package/src/generated/prisma/models/EventVendors.ts +0 -3446
- package/src/generated/prisma/models/Expense.ts +0 -1625
- package/src/generated/prisma/models/ExportLog.ts +0 -1822
- package/src/generated/prisma/models/Faq.ts +0 -1753
- package/src/generated/prisma/models/FaqCategory.ts +0 -1610
- package/src/generated/prisma/models/FiscalYear.ts +0 -1460
- package/src/generated/prisma/models/FormMaster.ts +0 -1831
- package/src/generated/prisma/models/GRN.ts +0 -3354
- package/src/generated/prisma/models/GRNItem.ts +0 -2119
- package/src/generated/prisma/models/Industry.ts +0 -1642
- package/src/generated/prisma/models/Invoice.ts +0 -2949
- package/src/generated/prisma/models/InvoiceItem.ts +0 -2397
- package/src/generated/prisma/models/Item.ts +0 -10644
- package/src/generated/prisma/models/ItemAttribute.ts +0 -1750
- package/src/generated/prisma/models/ItemAttributeValue.ts +0 -1802
- package/src/generated/prisma/models/ItemDocument.ts +0 -1590
- package/src/generated/prisma/models/Location.ts +0 -2711
- package/src/generated/prisma/models/Message.ts +0 -2744
- package/src/generated/prisma/models/MessageRecipient.ts +0 -1759
- package/src/generated/prisma/models/Module.ts +0 -1630
- package/src/generated/prisma/models/Permission.ts +0 -1640
- package/src/generated/prisma/models/PurchaseIntake.ts +0 -4672
- package/src/generated/prisma/models/PurchaseIntakeItem.ts +0 -2366
- package/src/generated/prisma/models/PurchaseOrder.ts +0 -4012
- package/src/generated/prisma/models/PurchaseOrderActivityLog.ts +0 -1720
- package/src/generated/prisma/models/PurchaseOrderItem.ts +0 -2623
- package/src/generated/prisma/models/Quotation.ts +0 -3207
- package/src/generated/prisma/models/QuotationLog.ts +0 -3239
- package/src/generated/prisma/models/Region.ts +0 -1746
- package/src/generated/prisma/models/RequestedCatalogue.ts +0 -1618
- package/src/generated/prisma/models/RequestedCatalogueDetails.ts +0 -2252
- package/src/generated/prisma/models/Role.ts +0 -1907
- package/src/generated/prisma/models/RolePermission.ts +0 -1737
- package/src/generated/prisma/models/SendBack.ts +0 -1830
- package/src/generated/prisma/models/SerialNumberConfiguration.ts +0 -1254
- package/src/generated/prisma/models/SmtpConfig.ts +0 -1522
- package/src/generated/prisma/models/State.ts +0 -2174
- package/src/generated/prisma/models/Strategies.ts +0 -1791
- package/src/generated/prisma/models/SubModule.ts +0 -1450
- package/src/generated/prisma/models/Subregion.ts +0 -1870
- package/src/generated/prisma/models/SupportCategory.ts +0 -1712
- package/src/generated/prisma/models/SupportTicket.ts +0 -2478
- package/src/generated/prisma/models/SupportingDocument.ts +0 -2283
- package/src/generated/prisma/models/Template.ts +0 -2429
- package/src/generated/prisma/models/TemplateField.ts +0 -1916
- package/src/generated/prisma/models/TemplateStrategies.ts +0 -1614
- package/src/generated/prisma/models/TenantConfiguration.ts +0 -1694
- package/src/generated/prisma/models/TicketAssignment.ts +0 -1742
- package/src/generated/prisma/models/TicketHistory.ts +0 -1789
- package/src/generated/prisma/models/TicketReply.ts +0 -1640
- package/src/generated/prisma/models/Uom.ts +0 -1752
- package/src/generated/prisma/models/UomCategory.ts +0 -1558
- package/src/generated/prisma/models/UploadLog.ts +0 -1731
- package/src/generated/prisma/models/User.ts +0 -19397
- package/src/generated/prisma/models/UserDepartmentEntity.ts +0 -2099
- package/src/generated/prisma/models/UserEventConfiguration.ts +0 -1370
- package/src/generated/prisma/models/UserLoginActivity.ts +0 -1693
- package/src/generated/prisma/models/UserRole.ts +0 -1696
- package/src/generated/prisma/models/UserVendorSocketTokens.ts +0 -1450
- package/src/generated/prisma/models/VendorReference.ts +0 -1707
- package/src/generated/prisma/models.ts +0 -122
|
@@ -1,1450 +0,0 @@
|
|
|
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 `SubModule` 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.ts"
|
|
13
|
-
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Model SubModule
|
|
17
|
-
*
|
|
18
|
-
*/
|
|
19
|
-
export type SubModuleModel = runtime.Types.Result.DefaultSelection<Prisma.$SubModulePayload>
|
|
20
|
-
|
|
21
|
-
export type AggregateSubModule = {
|
|
22
|
-
_count: SubModuleCountAggregateOutputType | null
|
|
23
|
-
_avg: SubModuleAvgAggregateOutputType | null
|
|
24
|
-
_sum: SubModuleSumAggregateOutputType | null
|
|
25
|
-
_min: SubModuleMinAggregateOutputType | null
|
|
26
|
-
_max: SubModuleMaxAggregateOutputType | null
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export type SubModuleAvgAggregateOutputType = {
|
|
30
|
-
id: number | null
|
|
31
|
-
module_id: number | null
|
|
32
|
-
created_by: number | null
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export type SubModuleSumAggregateOutputType = {
|
|
36
|
-
id: number | null
|
|
37
|
-
module_id: number | null
|
|
38
|
-
created_by: number | null
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export type SubModuleMinAggregateOutputType = {
|
|
42
|
-
id: number | null
|
|
43
|
-
name: string | null
|
|
44
|
-
slug: string | null
|
|
45
|
-
module_id: number | null
|
|
46
|
-
created_by: number | null
|
|
47
|
-
created_at: Date | null
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export type SubModuleMaxAggregateOutputType = {
|
|
51
|
-
id: number | null
|
|
52
|
-
name: string | null
|
|
53
|
-
slug: string | null
|
|
54
|
-
module_id: number | null
|
|
55
|
-
created_by: number | null
|
|
56
|
-
created_at: Date | null
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export type SubModuleCountAggregateOutputType = {
|
|
60
|
-
id: number
|
|
61
|
-
name: number
|
|
62
|
-
slug: number
|
|
63
|
-
module_id: number
|
|
64
|
-
created_by: number
|
|
65
|
-
created_at: number
|
|
66
|
-
_all: number
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
export type SubModuleAvgAggregateInputType = {
|
|
71
|
-
id?: true
|
|
72
|
-
module_id?: true
|
|
73
|
-
created_by?: true
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
export type SubModuleSumAggregateInputType = {
|
|
77
|
-
id?: true
|
|
78
|
-
module_id?: true
|
|
79
|
-
created_by?: true
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
export type SubModuleMinAggregateInputType = {
|
|
83
|
-
id?: true
|
|
84
|
-
name?: true
|
|
85
|
-
slug?: true
|
|
86
|
-
module_id?: true
|
|
87
|
-
created_by?: true
|
|
88
|
-
created_at?: true
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
export type SubModuleMaxAggregateInputType = {
|
|
92
|
-
id?: true
|
|
93
|
-
name?: true
|
|
94
|
-
slug?: true
|
|
95
|
-
module_id?: true
|
|
96
|
-
created_by?: true
|
|
97
|
-
created_at?: true
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
export type SubModuleCountAggregateInputType = {
|
|
101
|
-
id?: true
|
|
102
|
-
name?: true
|
|
103
|
-
slug?: true
|
|
104
|
-
module_id?: true
|
|
105
|
-
created_by?: true
|
|
106
|
-
created_at?: true
|
|
107
|
-
_all?: true
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
export type SubModuleAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
111
|
-
/**
|
|
112
|
-
* Filter which SubModule to aggregate.
|
|
113
|
-
*/
|
|
114
|
-
where?: Prisma.SubModuleWhereInput
|
|
115
|
-
/**
|
|
116
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
117
|
-
*
|
|
118
|
-
* Determine the order of SubModules to fetch.
|
|
119
|
-
*/
|
|
120
|
-
orderBy?: Prisma.SubModuleOrderByWithRelationInput | Prisma.SubModuleOrderByWithRelationInput[]
|
|
121
|
-
/**
|
|
122
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
123
|
-
*
|
|
124
|
-
* Sets the start position
|
|
125
|
-
*/
|
|
126
|
-
cursor?: Prisma.SubModuleWhereUniqueInput
|
|
127
|
-
/**
|
|
128
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
129
|
-
*
|
|
130
|
-
* Take `±n` SubModules from the position of the cursor.
|
|
131
|
-
*/
|
|
132
|
-
take?: number
|
|
133
|
-
/**
|
|
134
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
135
|
-
*
|
|
136
|
-
* Skip the first `n` SubModules.
|
|
137
|
-
*/
|
|
138
|
-
skip?: number
|
|
139
|
-
/**
|
|
140
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
141
|
-
*
|
|
142
|
-
* Count returned SubModules
|
|
143
|
-
**/
|
|
144
|
-
_count?: true | SubModuleCountAggregateInputType
|
|
145
|
-
/**
|
|
146
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
147
|
-
*
|
|
148
|
-
* Select which fields to average
|
|
149
|
-
**/
|
|
150
|
-
_avg?: SubModuleAvgAggregateInputType
|
|
151
|
-
/**
|
|
152
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
153
|
-
*
|
|
154
|
-
* Select which fields to sum
|
|
155
|
-
**/
|
|
156
|
-
_sum?: SubModuleSumAggregateInputType
|
|
157
|
-
/**
|
|
158
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
159
|
-
*
|
|
160
|
-
* Select which fields to find the minimum value
|
|
161
|
-
**/
|
|
162
|
-
_min?: SubModuleMinAggregateInputType
|
|
163
|
-
/**
|
|
164
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
165
|
-
*
|
|
166
|
-
* Select which fields to find the maximum value
|
|
167
|
-
**/
|
|
168
|
-
_max?: SubModuleMaxAggregateInputType
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
export type GetSubModuleAggregateType<T extends SubModuleAggregateArgs> = {
|
|
172
|
-
[P in keyof T & keyof AggregateSubModule]: P extends '_count' | 'count'
|
|
173
|
-
? T[P] extends true
|
|
174
|
-
? number
|
|
175
|
-
: Prisma.GetScalarType<T[P], AggregateSubModule[P]>
|
|
176
|
-
: Prisma.GetScalarType<T[P], AggregateSubModule[P]>
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
export type SubModuleGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
183
|
-
where?: Prisma.SubModuleWhereInput
|
|
184
|
-
orderBy?: Prisma.SubModuleOrderByWithAggregationInput | Prisma.SubModuleOrderByWithAggregationInput[]
|
|
185
|
-
by: Prisma.SubModuleScalarFieldEnum[] | Prisma.SubModuleScalarFieldEnum
|
|
186
|
-
having?: Prisma.SubModuleScalarWhereWithAggregatesInput
|
|
187
|
-
take?: number
|
|
188
|
-
skip?: number
|
|
189
|
-
_count?: SubModuleCountAggregateInputType | true
|
|
190
|
-
_avg?: SubModuleAvgAggregateInputType
|
|
191
|
-
_sum?: SubModuleSumAggregateInputType
|
|
192
|
-
_min?: SubModuleMinAggregateInputType
|
|
193
|
-
_max?: SubModuleMaxAggregateInputType
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
export type SubModuleGroupByOutputType = {
|
|
197
|
-
id: number
|
|
198
|
-
name: string
|
|
199
|
-
slug: string
|
|
200
|
-
module_id: number | null
|
|
201
|
-
created_by: number | null
|
|
202
|
-
created_at: Date
|
|
203
|
-
_count: SubModuleCountAggregateOutputType | null
|
|
204
|
-
_avg: SubModuleAvgAggregateOutputType | null
|
|
205
|
-
_sum: SubModuleSumAggregateOutputType | null
|
|
206
|
-
_min: SubModuleMinAggregateOutputType | null
|
|
207
|
-
_max: SubModuleMaxAggregateOutputType | null
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
export type GetSubModuleGroupByPayload<T extends SubModuleGroupByArgs> = Prisma.PrismaPromise<
|
|
211
|
-
Array<
|
|
212
|
-
Prisma.PickEnumerable<SubModuleGroupByOutputType, T['by']> &
|
|
213
|
-
{
|
|
214
|
-
[P in ((keyof T) & (keyof SubModuleGroupByOutputType))]: P extends '_count'
|
|
215
|
-
? T[P] extends boolean
|
|
216
|
-
? number
|
|
217
|
-
: Prisma.GetScalarType<T[P], SubModuleGroupByOutputType[P]>
|
|
218
|
-
: Prisma.GetScalarType<T[P], SubModuleGroupByOutputType[P]>
|
|
219
|
-
}
|
|
220
|
-
>
|
|
221
|
-
>
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
export type SubModuleWhereInput = {
|
|
226
|
-
AND?: Prisma.SubModuleWhereInput | Prisma.SubModuleWhereInput[]
|
|
227
|
-
OR?: Prisma.SubModuleWhereInput[]
|
|
228
|
-
NOT?: Prisma.SubModuleWhereInput | Prisma.SubModuleWhereInput[]
|
|
229
|
-
id?: Prisma.IntFilter<"SubModule"> | number
|
|
230
|
-
name?: Prisma.StringFilter<"SubModule"> | string
|
|
231
|
-
slug?: Prisma.StringFilter<"SubModule"> | string
|
|
232
|
-
module_id?: Prisma.IntNullableFilter<"SubModule"> | number | null
|
|
233
|
-
created_by?: Prisma.IntNullableFilter<"SubModule"> | number | null
|
|
234
|
-
created_at?: Prisma.DateTimeFilter<"SubModule"> | Date | string
|
|
235
|
-
module?: Prisma.XOR<Prisma.ModuleNullableScalarRelationFilter, Prisma.ModuleWhereInput> | null
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
export type SubModuleOrderByWithRelationInput = {
|
|
239
|
-
id?: Prisma.SortOrder
|
|
240
|
-
name?: Prisma.SortOrder
|
|
241
|
-
slug?: Prisma.SortOrder
|
|
242
|
-
module_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
243
|
-
created_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
244
|
-
created_at?: Prisma.SortOrder
|
|
245
|
-
module?: Prisma.ModuleOrderByWithRelationInput
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
export type SubModuleWhereUniqueInput = Prisma.AtLeast<{
|
|
249
|
-
id?: number
|
|
250
|
-
slug?: string
|
|
251
|
-
AND?: Prisma.SubModuleWhereInput | Prisma.SubModuleWhereInput[]
|
|
252
|
-
OR?: Prisma.SubModuleWhereInput[]
|
|
253
|
-
NOT?: Prisma.SubModuleWhereInput | Prisma.SubModuleWhereInput[]
|
|
254
|
-
name?: Prisma.StringFilter<"SubModule"> | string
|
|
255
|
-
module_id?: Prisma.IntNullableFilter<"SubModule"> | number | null
|
|
256
|
-
created_by?: Prisma.IntNullableFilter<"SubModule"> | number | null
|
|
257
|
-
created_at?: Prisma.DateTimeFilter<"SubModule"> | Date | string
|
|
258
|
-
module?: Prisma.XOR<Prisma.ModuleNullableScalarRelationFilter, Prisma.ModuleWhereInput> | null
|
|
259
|
-
}, "id" | "slug">
|
|
260
|
-
|
|
261
|
-
export type SubModuleOrderByWithAggregationInput = {
|
|
262
|
-
id?: Prisma.SortOrder
|
|
263
|
-
name?: Prisma.SortOrder
|
|
264
|
-
slug?: Prisma.SortOrder
|
|
265
|
-
module_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
266
|
-
created_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
267
|
-
created_at?: Prisma.SortOrder
|
|
268
|
-
_count?: Prisma.SubModuleCountOrderByAggregateInput
|
|
269
|
-
_avg?: Prisma.SubModuleAvgOrderByAggregateInput
|
|
270
|
-
_max?: Prisma.SubModuleMaxOrderByAggregateInput
|
|
271
|
-
_min?: Prisma.SubModuleMinOrderByAggregateInput
|
|
272
|
-
_sum?: Prisma.SubModuleSumOrderByAggregateInput
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
export type SubModuleScalarWhereWithAggregatesInput = {
|
|
276
|
-
AND?: Prisma.SubModuleScalarWhereWithAggregatesInput | Prisma.SubModuleScalarWhereWithAggregatesInput[]
|
|
277
|
-
OR?: Prisma.SubModuleScalarWhereWithAggregatesInput[]
|
|
278
|
-
NOT?: Prisma.SubModuleScalarWhereWithAggregatesInput | Prisma.SubModuleScalarWhereWithAggregatesInput[]
|
|
279
|
-
id?: Prisma.IntWithAggregatesFilter<"SubModule"> | number
|
|
280
|
-
name?: Prisma.StringWithAggregatesFilter<"SubModule"> | string
|
|
281
|
-
slug?: Prisma.StringWithAggregatesFilter<"SubModule"> | string
|
|
282
|
-
module_id?: Prisma.IntNullableWithAggregatesFilter<"SubModule"> | number | null
|
|
283
|
-
created_by?: Prisma.IntNullableWithAggregatesFilter<"SubModule"> | number | null
|
|
284
|
-
created_at?: Prisma.DateTimeWithAggregatesFilter<"SubModule"> | Date | string
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
export type SubModuleCreateInput = {
|
|
288
|
-
name: string
|
|
289
|
-
slug: string
|
|
290
|
-
created_by?: number | null
|
|
291
|
-
created_at?: Date | string
|
|
292
|
-
module?: Prisma.ModuleCreateNestedOneWithoutSub_modulesInput
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
export type SubModuleUncheckedCreateInput = {
|
|
296
|
-
id?: number
|
|
297
|
-
name: string
|
|
298
|
-
slug: string
|
|
299
|
-
module_id?: number | null
|
|
300
|
-
created_by?: number | null
|
|
301
|
-
created_at?: Date | string
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
export type SubModuleUpdateInput = {
|
|
305
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
306
|
-
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
307
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
308
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
309
|
-
module?: Prisma.ModuleUpdateOneWithoutSub_modulesNestedInput
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
export type SubModuleUncheckedUpdateInput = {
|
|
313
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
314
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
315
|
-
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
316
|
-
module_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
317
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
318
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
export type SubModuleCreateManyInput = {
|
|
322
|
-
id?: number
|
|
323
|
-
name: string
|
|
324
|
-
slug: string
|
|
325
|
-
module_id?: number | null
|
|
326
|
-
created_by?: number | null
|
|
327
|
-
created_at?: Date | string
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
export type SubModuleUpdateManyMutationInput = {
|
|
331
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
332
|
-
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
333
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
334
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
export type SubModuleUncheckedUpdateManyInput = {
|
|
338
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
339
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
340
|
-
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
341
|
-
module_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
342
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
343
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
export type SubModuleListRelationFilter = {
|
|
347
|
-
every?: Prisma.SubModuleWhereInput
|
|
348
|
-
some?: Prisma.SubModuleWhereInput
|
|
349
|
-
none?: Prisma.SubModuleWhereInput
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
export type SubModuleOrderByRelationAggregateInput = {
|
|
353
|
-
_count?: Prisma.SortOrder
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
export type SubModuleCountOrderByAggregateInput = {
|
|
357
|
-
id?: Prisma.SortOrder
|
|
358
|
-
name?: Prisma.SortOrder
|
|
359
|
-
slug?: Prisma.SortOrder
|
|
360
|
-
module_id?: Prisma.SortOrder
|
|
361
|
-
created_by?: Prisma.SortOrder
|
|
362
|
-
created_at?: Prisma.SortOrder
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
export type SubModuleAvgOrderByAggregateInput = {
|
|
366
|
-
id?: Prisma.SortOrder
|
|
367
|
-
module_id?: Prisma.SortOrder
|
|
368
|
-
created_by?: Prisma.SortOrder
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
export type SubModuleMaxOrderByAggregateInput = {
|
|
372
|
-
id?: Prisma.SortOrder
|
|
373
|
-
name?: Prisma.SortOrder
|
|
374
|
-
slug?: Prisma.SortOrder
|
|
375
|
-
module_id?: Prisma.SortOrder
|
|
376
|
-
created_by?: Prisma.SortOrder
|
|
377
|
-
created_at?: Prisma.SortOrder
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
export type SubModuleMinOrderByAggregateInput = {
|
|
381
|
-
id?: Prisma.SortOrder
|
|
382
|
-
name?: Prisma.SortOrder
|
|
383
|
-
slug?: Prisma.SortOrder
|
|
384
|
-
module_id?: Prisma.SortOrder
|
|
385
|
-
created_by?: Prisma.SortOrder
|
|
386
|
-
created_at?: Prisma.SortOrder
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
export type SubModuleSumOrderByAggregateInput = {
|
|
390
|
-
id?: Prisma.SortOrder
|
|
391
|
-
module_id?: Prisma.SortOrder
|
|
392
|
-
created_by?: Prisma.SortOrder
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
export type SubModuleCreateNestedManyWithoutModuleInput = {
|
|
396
|
-
create?: Prisma.XOR<Prisma.SubModuleCreateWithoutModuleInput, Prisma.SubModuleUncheckedCreateWithoutModuleInput> | Prisma.SubModuleCreateWithoutModuleInput[] | Prisma.SubModuleUncheckedCreateWithoutModuleInput[]
|
|
397
|
-
connectOrCreate?: Prisma.SubModuleCreateOrConnectWithoutModuleInput | Prisma.SubModuleCreateOrConnectWithoutModuleInput[]
|
|
398
|
-
createMany?: Prisma.SubModuleCreateManyModuleInputEnvelope
|
|
399
|
-
connect?: Prisma.SubModuleWhereUniqueInput | Prisma.SubModuleWhereUniqueInput[]
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
export type SubModuleUncheckedCreateNestedManyWithoutModuleInput = {
|
|
403
|
-
create?: Prisma.XOR<Prisma.SubModuleCreateWithoutModuleInput, Prisma.SubModuleUncheckedCreateWithoutModuleInput> | Prisma.SubModuleCreateWithoutModuleInput[] | Prisma.SubModuleUncheckedCreateWithoutModuleInput[]
|
|
404
|
-
connectOrCreate?: Prisma.SubModuleCreateOrConnectWithoutModuleInput | Prisma.SubModuleCreateOrConnectWithoutModuleInput[]
|
|
405
|
-
createMany?: Prisma.SubModuleCreateManyModuleInputEnvelope
|
|
406
|
-
connect?: Prisma.SubModuleWhereUniqueInput | Prisma.SubModuleWhereUniqueInput[]
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
export type SubModuleUpdateManyWithoutModuleNestedInput = {
|
|
410
|
-
create?: Prisma.XOR<Prisma.SubModuleCreateWithoutModuleInput, Prisma.SubModuleUncheckedCreateWithoutModuleInput> | Prisma.SubModuleCreateWithoutModuleInput[] | Prisma.SubModuleUncheckedCreateWithoutModuleInput[]
|
|
411
|
-
connectOrCreate?: Prisma.SubModuleCreateOrConnectWithoutModuleInput | Prisma.SubModuleCreateOrConnectWithoutModuleInput[]
|
|
412
|
-
upsert?: Prisma.SubModuleUpsertWithWhereUniqueWithoutModuleInput | Prisma.SubModuleUpsertWithWhereUniqueWithoutModuleInput[]
|
|
413
|
-
createMany?: Prisma.SubModuleCreateManyModuleInputEnvelope
|
|
414
|
-
set?: Prisma.SubModuleWhereUniqueInput | Prisma.SubModuleWhereUniqueInput[]
|
|
415
|
-
disconnect?: Prisma.SubModuleWhereUniqueInput | Prisma.SubModuleWhereUniqueInput[]
|
|
416
|
-
delete?: Prisma.SubModuleWhereUniqueInput | Prisma.SubModuleWhereUniqueInput[]
|
|
417
|
-
connect?: Prisma.SubModuleWhereUniqueInput | Prisma.SubModuleWhereUniqueInput[]
|
|
418
|
-
update?: Prisma.SubModuleUpdateWithWhereUniqueWithoutModuleInput | Prisma.SubModuleUpdateWithWhereUniqueWithoutModuleInput[]
|
|
419
|
-
updateMany?: Prisma.SubModuleUpdateManyWithWhereWithoutModuleInput | Prisma.SubModuleUpdateManyWithWhereWithoutModuleInput[]
|
|
420
|
-
deleteMany?: Prisma.SubModuleScalarWhereInput | Prisma.SubModuleScalarWhereInput[]
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
export type SubModuleUncheckedUpdateManyWithoutModuleNestedInput = {
|
|
424
|
-
create?: Prisma.XOR<Prisma.SubModuleCreateWithoutModuleInput, Prisma.SubModuleUncheckedCreateWithoutModuleInput> | Prisma.SubModuleCreateWithoutModuleInput[] | Prisma.SubModuleUncheckedCreateWithoutModuleInput[]
|
|
425
|
-
connectOrCreate?: Prisma.SubModuleCreateOrConnectWithoutModuleInput | Prisma.SubModuleCreateOrConnectWithoutModuleInput[]
|
|
426
|
-
upsert?: Prisma.SubModuleUpsertWithWhereUniqueWithoutModuleInput | Prisma.SubModuleUpsertWithWhereUniqueWithoutModuleInput[]
|
|
427
|
-
createMany?: Prisma.SubModuleCreateManyModuleInputEnvelope
|
|
428
|
-
set?: Prisma.SubModuleWhereUniqueInput | Prisma.SubModuleWhereUniqueInput[]
|
|
429
|
-
disconnect?: Prisma.SubModuleWhereUniqueInput | Prisma.SubModuleWhereUniqueInput[]
|
|
430
|
-
delete?: Prisma.SubModuleWhereUniqueInput | Prisma.SubModuleWhereUniqueInput[]
|
|
431
|
-
connect?: Prisma.SubModuleWhereUniqueInput | Prisma.SubModuleWhereUniqueInput[]
|
|
432
|
-
update?: Prisma.SubModuleUpdateWithWhereUniqueWithoutModuleInput | Prisma.SubModuleUpdateWithWhereUniqueWithoutModuleInput[]
|
|
433
|
-
updateMany?: Prisma.SubModuleUpdateManyWithWhereWithoutModuleInput | Prisma.SubModuleUpdateManyWithWhereWithoutModuleInput[]
|
|
434
|
-
deleteMany?: Prisma.SubModuleScalarWhereInput | Prisma.SubModuleScalarWhereInput[]
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
export type SubModuleCreateWithoutModuleInput = {
|
|
438
|
-
name: string
|
|
439
|
-
slug: string
|
|
440
|
-
created_by?: number | null
|
|
441
|
-
created_at?: Date | string
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
export type SubModuleUncheckedCreateWithoutModuleInput = {
|
|
445
|
-
id?: number
|
|
446
|
-
name: string
|
|
447
|
-
slug: string
|
|
448
|
-
created_by?: number | null
|
|
449
|
-
created_at?: Date | string
|
|
450
|
-
}
|
|
451
|
-
|
|
452
|
-
export type SubModuleCreateOrConnectWithoutModuleInput = {
|
|
453
|
-
where: Prisma.SubModuleWhereUniqueInput
|
|
454
|
-
create: Prisma.XOR<Prisma.SubModuleCreateWithoutModuleInput, Prisma.SubModuleUncheckedCreateWithoutModuleInput>
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
export type SubModuleCreateManyModuleInputEnvelope = {
|
|
458
|
-
data: Prisma.SubModuleCreateManyModuleInput | Prisma.SubModuleCreateManyModuleInput[]
|
|
459
|
-
skipDuplicates?: boolean
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
export type SubModuleUpsertWithWhereUniqueWithoutModuleInput = {
|
|
463
|
-
where: Prisma.SubModuleWhereUniqueInput
|
|
464
|
-
update: Prisma.XOR<Prisma.SubModuleUpdateWithoutModuleInput, Prisma.SubModuleUncheckedUpdateWithoutModuleInput>
|
|
465
|
-
create: Prisma.XOR<Prisma.SubModuleCreateWithoutModuleInput, Prisma.SubModuleUncheckedCreateWithoutModuleInput>
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
export type SubModuleUpdateWithWhereUniqueWithoutModuleInput = {
|
|
469
|
-
where: Prisma.SubModuleWhereUniqueInput
|
|
470
|
-
data: Prisma.XOR<Prisma.SubModuleUpdateWithoutModuleInput, Prisma.SubModuleUncheckedUpdateWithoutModuleInput>
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
export type SubModuleUpdateManyWithWhereWithoutModuleInput = {
|
|
474
|
-
where: Prisma.SubModuleScalarWhereInput
|
|
475
|
-
data: Prisma.XOR<Prisma.SubModuleUpdateManyMutationInput, Prisma.SubModuleUncheckedUpdateManyWithoutModuleInput>
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
export type SubModuleScalarWhereInput = {
|
|
479
|
-
AND?: Prisma.SubModuleScalarWhereInput | Prisma.SubModuleScalarWhereInput[]
|
|
480
|
-
OR?: Prisma.SubModuleScalarWhereInput[]
|
|
481
|
-
NOT?: Prisma.SubModuleScalarWhereInput | Prisma.SubModuleScalarWhereInput[]
|
|
482
|
-
id?: Prisma.IntFilter<"SubModule"> | number
|
|
483
|
-
name?: Prisma.StringFilter<"SubModule"> | string
|
|
484
|
-
slug?: Prisma.StringFilter<"SubModule"> | string
|
|
485
|
-
module_id?: Prisma.IntNullableFilter<"SubModule"> | number | null
|
|
486
|
-
created_by?: Prisma.IntNullableFilter<"SubModule"> | number | null
|
|
487
|
-
created_at?: Prisma.DateTimeFilter<"SubModule"> | Date | string
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
export type SubModuleCreateManyModuleInput = {
|
|
491
|
-
id?: number
|
|
492
|
-
name: string
|
|
493
|
-
slug: string
|
|
494
|
-
created_by?: number | null
|
|
495
|
-
created_at?: Date | string
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
export type SubModuleUpdateWithoutModuleInput = {
|
|
499
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
500
|
-
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
501
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
502
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
export type SubModuleUncheckedUpdateWithoutModuleInput = {
|
|
506
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
507
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
508
|
-
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
509
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
510
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
export type SubModuleUncheckedUpdateManyWithoutModuleInput = {
|
|
514
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
515
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
516
|
-
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
517
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
518
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
export type SubModuleSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
524
|
-
id?: boolean
|
|
525
|
-
name?: boolean
|
|
526
|
-
slug?: boolean
|
|
527
|
-
module_id?: boolean
|
|
528
|
-
created_by?: boolean
|
|
529
|
-
created_at?: boolean
|
|
530
|
-
module?: boolean | Prisma.SubModule$moduleArgs<ExtArgs>
|
|
531
|
-
}, ExtArgs["result"]["subModule"]>
|
|
532
|
-
|
|
533
|
-
export type SubModuleSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
534
|
-
id?: boolean
|
|
535
|
-
name?: boolean
|
|
536
|
-
slug?: boolean
|
|
537
|
-
module_id?: boolean
|
|
538
|
-
created_by?: boolean
|
|
539
|
-
created_at?: boolean
|
|
540
|
-
module?: boolean | Prisma.SubModule$moduleArgs<ExtArgs>
|
|
541
|
-
}, ExtArgs["result"]["subModule"]>
|
|
542
|
-
|
|
543
|
-
export type SubModuleSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
544
|
-
id?: boolean
|
|
545
|
-
name?: boolean
|
|
546
|
-
slug?: boolean
|
|
547
|
-
module_id?: boolean
|
|
548
|
-
created_by?: boolean
|
|
549
|
-
created_at?: boolean
|
|
550
|
-
module?: boolean | Prisma.SubModule$moduleArgs<ExtArgs>
|
|
551
|
-
}, ExtArgs["result"]["subModule"]>
|
|
552
|
-
|
|
553
|
-
export type SubModuleSelectScalar = {
|
|
554
|
-
id?: boolean
|
|
555
|
-
name?: boolean
|
|
556
|
-
slug?: boolean
|
|
557
|
-
module_id?: boolean
|
|
558
|
-
created_by?: boolean
|
|
559
|
-
created_at?: boolean
|
|
560
|
-
}
|
|
561
|
-
|
|
562
|
-
export type SubModuleOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "slug" | "module_id" | "created_by" | "created_at", ExtArgs["result"]["subModule"]>
|
|
563
|
-
export type SubModuleInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
564
|
-
module?: boolean | Prisma.SubModule$moduleArgs<ExtArgs>
|
|
565
|
-
}
|
|
566
|
-
export type SubModuleIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
567
|
-
module?: boolean | Prisma.SubModule$moduleArgs<ExtArgs>
|
|
568
|
-
}
|
|
569
|
-
export type SubModuleIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
570
|
-
module?: boolean | Prisma.SubModule$moduleArgs<ExtArgs>
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
export type $SubModulePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
574
|
-
name: "SubModule"
|
|
575
|
-
objects: {
|
|
576
|
-
module: Prisma.$ModulePayload<ExtArgs> | null
|
|
577
|
-
}
|
|
578
|
-
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
579
|
-
id: number
|
|
580
|
-
name: string
|
|
581
|
-
slug: string
|
|
582
|
-
module_id: number | null
|
|
583
|
-
created_by: number | null
|
|
584
|
-
created_at: Date
|
|
585
|
-
}, ExtArgs["result"]["subModule"]>
|
|
586
|
-
composites: {}
|
|
587
|
-
}
|
|
588
|
-
|
|
589
|
-
export type SubModuleGetPayload<S extends boolean | null | undefined | SubModuleDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$SubModulePayload, S>
|
|
590
|
-
|
|
591
|
-
export type SubModuleCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
592
|
-
Omit<SubModuleFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
593
|
-
select?: SubModuleCountAggregateInputType | true
|
|
594
|
-
}
|
|
595
|
-
|
|
596
|
-
export interface SubModuleDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
597
|
-
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['SubModule'], meta: { name: 'SubModule' } }
|
|
598
|
-
/**
|
|
599
|
-
* Find zero or one SubModule that matches the filter.
|
|
600
|
-
* @param {SubModuleFindUniqueArgs} args - Arguments to find a SubModule
|
|
601
|
-
* @example
|
|
602
|
-
* // Get one SubModule
|
|
603
|
-
* const subModule = await prisma.subModule.findUnique({
|
|
604
|
-
* where: {
|
|
605
|
-
* // ... provide filter here
|
|
606
|
-
* }
|
|
607
|
-
* })
|
|
608
|
-
*/
|
|
609
|
-
findUnique<T extends SubModuleFindUniqueArgs>(args: Prisma.SelectSubset<T, SubModuleFindUniqueArgs<ExtArgs>>): Prisma.Prisma__SubModuleClient<runtime.Types.Result.GetResult<Prisma.$SubModulePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
610
|
-
|
|
611
|
-
/**
|
|
612
|
-
* Find one SubModule that matches the filter or throw an error with `error.code='P2025'`
|
|
613
|
-
* if no matches were found.
|
|
614
|
-
* @param {SubModuleFindUniqueOrThrowArgs} args - Arguments to find a SubModule
|
|
615
|
-
* @example
|
|
616
|
-
* // Get one SubModule
|
|
617
|
-
* const subModule = await prisma.subModule.findUniqueOrThrow({
|
|
618
|
-
* where: {
|
|
619
|
-
* // ... provide filter here
|
|
620
|
-
* }
|
|
621
|
-
* })
|
|
622
|
-
*/
|
|
623
|
-
findUniqueOrThrow<T extends SubModuleFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, SubModuleFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__SubModuleClient<runtime.Types.Result.GetResult<Prisma.$SubModulePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
624
|
-
|
|
625
|
-
/**
|
|
626
|
-
* Find the first SubModule that matches the filter.
|
|
627
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
628
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
629
|
-
* @param {SubModuleFindFirstArgs} args - Arguments to find a SubModule
|
|
630
|
-
* @example
|
|
631
|
-
* // Get one SubModule
|
|
632
|
-
* const subModule = await prisma.subModule.findFirst({
|
|
633
|
-
* where: {
|
|
634
|
-
* // ... provide filter here
|
|
635
|
-
* }
|
|
636
|
-
* })
|
|
637
|
-
*/
|
|
638
|
-
findFirst<T extends SubModuleFindFirstArgs>(args?: Prisma.SelectSubset<T, SubModuleFindFirstArgs<ExtArgs>>): Prisma.Prisma__SubModuleClient<runtime.Types.Result.GetResult<Prisma.$SubModulePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
639
|
-
|
|
640
|
-
/**
|
|
641
|
-
* Find the first SubModule that matches the filter or
|
|
642
|
-
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
643
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
644
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
645
|
-
* @param {SubModuleFindFirstOrThrowArgs} args - Arguments to find a SubModule
|
|
646
|
-
* @example
|
|
647
|
-
* // Get one SubModule
|
|
648
|
-
* const subModule = await prisma.subModule.findFirstOrThrow({
|
|
649
|
-
* where: {
|
|
650
|
-
* // ... provide filter here
|
|
651
|
-
* }
|
|
652
|
-
* })
|
|
653
|
-
*/
|
|
654
|
-
findFirstOrThrow<T extends SubModuleFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, SubModuleFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__SubModuleClient<runtime.Types.Result.GetResult<Prisma.$SubModulePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
655
|
-
|
|
656
|
-
/**
|
|
657
|
-
* Find zero or more SubModules that matches the filter.
|
|
658
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
659
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
660
|
-
* @param {SubModuleFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
661
|
-
* @example
|
|
662
|
-
* // Get all SubModules
|
|
663
|
-
* const subModules = await prisma.subModule.findMany()
|
|
664
|
-
*
|
|
665
|
-
* // Get first 10 SubModules
|
|
666
|
-
* const subModules = await prisma.subModule.findMany({ take: 10 })
|
|
667
|
-
*
|
|
668
|
-
* // Only select the `id`
|
|
669
|
-
* const subModuleWithIdOnly = await prisma.subModule.findMany({ select: { id: true } })
|
|
670
|
-
*
|
|
671
|
-
*/
|
|
672
|
-
findMany<T extends SubModuleFindManyArgs>(args?: Prisma.SelectSubset<T, SubModuleFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SubModulePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
673
|
-
|
|
674
|
-
/**
|
|
675
|
-
* Create a SubModule.
|
|
676
|
-
* @param {SubModuleCreateArgs} args - Arguments to create a SubModule.
|
|
677
|
-
* @example
|
|
678
|
-
* // Create one SubModule
|
|
679
|
-
* const SubModule = await prisma.subModule.create({
|
|
680
|
-
* data: {
|
|
681
|
-
* // ... data to create a SubModule
|
|
682
|
-
* }
|
|
683
|
-
* })
|
|
684
|
-
*
|
|
685
|
-
*/
|
|
686
|
-
create<T extends SubModuleCreateArgs>(args: Prisma.SelectSubset<T, SubModuleCreateArgs<ExtArgs>>): Prisma.Prisma__SubModuleClient<runtime.Types.Result.GetResult<Prisma.$SubModulePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
687
|
-
|
|
688
|
-
/**
|
|
689
|
-
* Create many SubModules.
|
|
690
|
-
* @param {SubModuleCreateManyArgs} args - Arguments to create many SubModules.
|
|
691
|
-
* @example
|
|
692
|
-
* // Create many SubModules
|
|
693
|
-
* const subModule = await prisma.subModule.createMany({
|
|
694
|
-
* data: [
|
|
695
|
-
* // ... provide data here
|
|
696
|
-
* ]
|
|
697
|
-
* })
|
|
698
|
-
*
|
|
699
|
-
*/
|
|
700
|
-
createMany<T extends SubModuleCreateManyArgs>(args?: Prisma.SelectSubset<T, SubModuleCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
701
|
-
|
|
702
|
-
/**
|
|
703
|
-
* Create many SubModules and returns the data saved in the database.
|
|
704
|
-
* @param {SubModuleCreateManyAndReturnArgs} args - Arguments to create many SubModules.
|
|
705
|
-
* @example
|
|
706
|
-
* // Create many SubModules
|
|
707
|
-
* const subModule = await prisma.subModule.createManyAndReturn({
|
|
708
|
-
* data: [
|
|
709
|
-
* // ... provide data here
|
|
710
|
-
* ]
|
|
711
|
-
* })
|
|
712
|
-
*
|
|
713
|
-
* // Create many SubModules and only return the `id`
|
|
714
|
-
* const subModuleWithIdOnly = await prisma.subModule.createManyAndReturn({
|
|
715
|
-
* select: { id: true },
|
|
716
|
-
* data: [
|
|
717
|
-
* // ... provide data here
|
|
718
|
-
* ]
|
|
719
|
-
* })
|
|
720
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
721
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
722
|
-
*
|
|
723
|
-
*/
|
|
724
|
-
createManyAndReturn<T extends SubModuleCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, SubModuleCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SubModulePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
725
|
-
|
|
726
|
-
/**
|
|
727
|
-
* Delete a SubModule.
|
|
728
|
-
* @param {SubModuleDeleteArgs} args - Arguments to delete one SubModule.
|
|
729
|
-
* @example
|
|
730
|
-
* // Delete one SubModule
|
|
731
|
-
* const SubModule = await prisma.subModule.delete({
|
|
732
|
-
* where: {
|
|
733
|
-
* // ... filter to delete one SubModule
|
|
734
|
-
* }
|
|
735
|
-
* })
|
|
736
|
-
*
|
|
737
|
-
*/
|
|
738
|
-
delete<T extends SubModuleDeleteArgs>(args: Prisma.SelectSubset<T, SubModuleDeleteArgs<ExtArgs>>): Prisma.Prisma__SubModuleClient<runtime.Types.Result.GetResult<Prisma.$SubModulePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
739
|
-
|
|
740
|
-
/**
|
|
741
|
-
* Update one SubModule.
|
|
742
|
-
* @param {SubModuleUpdateArgs} args - Arguments to update one SubModule.
|
|
743
|
-
* @example
|
|
744
|
-
* // Update one SubModule
|
|
745
|
-
* const subModule = await prisma.subModule.update({
|
|
746
|
-
* where: {
|
|
747
|
-
* // ... provide filter here
|
|
748
|
-
* },
|
|
749
|
-
* data: {
|
|
750
|
-
* // ... provide data here
|
|
751
|
-
* }
|
|
752
|
-
* })
|
|
753
|
-
*
|
|
754
|
-
*/
|
|
755
|
-
update<T extends SubModuleUpdateArgs>(args: Prisma.SelectSubset<T, SubModuleUpdateArgs<ExtArgs>>): Prisma.Prisma__SubModuleClient<runtime.Types.Result.GetResult<Prisma.$SubModulePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
756
|
-
|
|
757
|
-
/**
|
|
758
|
-
* Delete zero or more SubModules.
|
|
759
|
-
* @param {SubModuleDeleteManyArgs} args - Arguments to filter SubModules to delete.
|
|
760
|
-
* @example
|
|
761
|
-
* // Delete a few SubModules
|
|
762
|
-
* const { count } = await prisma.subModule.deleteMany({
|
|
763
|
-
* where: {
|
|
764
|
-
* // ... provide filter here
|
|
765
|
-
* }
|
|
766
|
-
* })
|
|
767
|
-
*
|
|
768
|
-
*/
|
|
769
|
-
deleteMany<T extends SubModuleDeleteManyArgs>(args?: Prisma.SelectSubset<T, SubModuleDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
770
|
-
|
|
771
|
-
/**
|
|
772
|
-
* Update zero or more SubModules.
|
|
773
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
774
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
775
|
-
* @param {SubModuleUpdateManyArgs} args - Arguments to update one or more rows.
|
|
776
|
-
* @example
|
|
777
|
-
* // Update many SubModules
|
|
778
|
-
* const subModule = await prisma.subModule.updateMany({
|
|
779
|
-
* where: {
|
|
780
|
-
* // ... provide filter here
|
|
781
|
-
* },
|
|
782
|
-
* data: {
|
|
783
|
-
* // ... provide data here
|
|
784
|
-
* }
|
|
785
|
-
* })
|
|
786
|
-
*
|
|
787
|
-
*/
|
|
788
|
-
updateMany<T extends SubModuleUpdateManyArgs>(args: Prisma.SelectSubset<T, SubModuleUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
789
|
-
|
|
790
|
-
/**
|
|
791
|
-
* Update zero or more SubModules and returns the data updated in the database.
|
|
792
|
-
* @param {SubModuleUpdateManyAndReturnArgs} args - Arguments to update many SubModules.
|
|
793
|
-
* @example
|
|
794
|
-
* // Update many SubModules
|
|
795
|
-
* const subModule = await prisma.subModule.updateManyAndReturn({
|
|
796
|
-
* where: {
|
|
797
|
-
* // ... provide filter here
|
|
798
|
-
* },
|
|
799
|
-
* data: [
|
|
800
|
-
* // ... provide data here
|
|
801
|
-
* ]
|
|
802
|
-
* })
|
|
803
|
-
*
|
|
804
|
-
* // Update zero or more SubModules and only return the `id`
|
|
805
|
-
* const subModuleWithIdOnly = await prisma.subModule.updateManyAndReturn({
|
|
806
|
-
* select: { id: true },
|
|
807
|
-
* where: {
|
|
808
|
-
* // ... provide filter here
|
|
809
|
-
* },
|
|
810
|
-
* data: [
|
|
811
|
-
* // ... provide data here
|
|
812
|
-
* ]
|
|
813
|
-
* })
|
|
814
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
815
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
816
|
-
*
|
|
817
|
-
*/
|
|
818
|
-
updateManyAndReturn<T extends SubModuleUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, SubModuleUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SubModulePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
819
|
-
|
|
820
|
-
/**
|
|
821
|
-
* Create or update one SubModule.
|
|
822
|
-
* @param {SubModuleUpsertArgs} args - Arguments to update or create a SubModule.
|
|
823
|
-
* @example
|
|
824
|
-
* // Update or create a SubModule
|
|
825
|
-
* const subModule = await prisma.subModule.upsert({
|
|
826
|
-
* create: {
|
|
827
|
-
* // ... data to create a SubModule
|
|
828
|
-
* },
|
|
829
|
-
* update: {
|
|
830
|
-
* // ... in case it already exists, update
|
|
831
|
-
* },
|
|
832
|
-
* where: {
|
|
833
|
-
* // ... the filter for the SubModule we want to update
|
|
834
|
-
* }
|
|
835
|
-
* })
|
|
836
|
-
*/
|
|
837
|
-
upsert<T extends SubModuleUpsertArgs>(args: Prisma.SelectSubset<T, SubModuleUpsertArgs<ExtArgs>>): Prisma.Prisma__SubModuleClient<runtime.Types.Result.GetResult<Prisma.$SubModulePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
/**
|
|
841
|
-
* Count the number of SubModules.
|
|
842
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
843
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
844
|
-
* @param {SubModuleCountArgs} args - Arguments to filter SubModules to count.
|
|
845
|
-
* @example
|
|
846
|
-
* // Count the number of SubModules
|
|
847
|
-
* const count = await prisma.subModule.count({
|
|
848
|
-
* where: {
|
|
849
|
-
* // ... the filter for the SubModules we want to count
|
|
850
|
-
* }
|
|
851
|
-
* })
|
|
852
|
-
**/
|
|
853
|
-
count<T extends SubModuleCountArgs>(
|
|
854
|
-
args?: Prisma.Subset<T, SubModuleCountArgs>,
|
|
855
|
-
): Prisma.PrismaPromise<
|
|
856
|
-
T extends runtime.Types.Utils.Record<'select', any>
|
|
857
|
-
? T['select'] extends true
|
|
858
|
-
? number
|
|
859
|
-
: Prisma.GetScalarType<T['select'], SubModuleCountAggregateOutputType>
|
|
860
|
-
: number
|
|
861
|
-
>
|
|
862
|
-
|
|
863
|
-
/**
|
|
864
|
-
* Allows you to perform aggregations operations on a SubModule.
|
|
865
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
866
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
867
|
-
* @param {SubModuleAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
868
|
-
* @example
|
|
869
|
-
* // Ordered by age ascending
|
|
870
|
-
* // Where email contains prisma.io
|
|
871
|
-
* // Limited to the 10 users
|
|
872
|
-
* const aggregations = await prisma.user.aggregate({
|
|
873
|
-
* _avg: {
|
|
874
|
-
* age: true,
|
|
875
|
-
* },
|
|
876
|
-
* where: {
|
|
877
|
-
* email: {
|
|
878
|
-
* contains: "prisma.io",
|
|
879
|
-
* },
|
|
880
|
-
* },
|
|
881
|
-
* orderBy: {
|
|
882
|
-
* age: "asc",
|
|
883
|
-
* },
|
|
884
|
-
* take: 10,
|
|
885
|
-
* })
|
|
886
|
-
**/
|
|
887
|
-
aggregate<T extends SubModuleAggregateArgs>(args: Prisma.Subset<T, SubModuleAggregateArgs>): Prisma.PrismaPromise<GetSubModuleAggregateType<T>>
|
|
888
|
-
|
|
889
|
-
/**
|
|
890
|
-
* Group by SubModule.
|
|
891
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
892
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
893
|
-
* @param {SubModuleGroupByArgs} args - Group by arguments.
|
|
894
|
-
* @example
|
|
895
|
-
* // Group by city, order by createdAt, get count
|
|
896
|
-
* const result = await prisma.user.groupBy({
|
|
897
|
-
* by: ['city', 'createdAt'],
|
|
898
|
-
* orderBy: {
|
|
899
|
-
* createdAt: true
|
|
900
|
-
* },
|
|
901
|
-
* _count: {
|
|
902
|
-
* _all: true
|
|
903
|
-
* },
|
|
904
|
-
* })
|
|
905
|
-
*
|
|
906
|
-
**/
|
|
907
|
-
groupBy<
|
|
908
|
-
T extends SubModuleGroupByArgs,
|
|
909
|
-
HasSelectOrTake extends Prisma.Or<
|
|
910
|
-
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
911
|
-
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
912
|
-
>,
|
|
913
|
-
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
914
|
-
? { orderBy: SubModuleGroupByArgs['orderBy'] }
|
|
915
|
-
: { orderBy?: SubModuleGroupByArgs['orderBy'] },
|
|
916
|
-
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
917
|
-
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
918
|
-
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
919
|
-
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
920
|
-
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
921
|
-
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
922
|
-
InputErrors extends ByEmpty extends Prisma.True
|
|
923
|
-
? `Error: "by" must not be empty.`
|
|
924
|
-
: HavingValid extends Prisma.False
|
|
925
|
-
? {
|
|
926
|
-
[P in HavingFields]: P extends ByFields
|
|
927
|
-
? never
|
|
928
|
-
: P extends string
|
|
929
|
-
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
930
|
-
: [
|
|
931
|
-
Error,
|
|
932
|
-
'Field ',
|
|
933
|
-
P,
|
|
934
|
-
` in "having" needs to be provided in "by"`,
|
|
935
|
-
]
|
|
936
|
-
}[HavingFields]
|
|
937
|
-
: 'take' extends Prisma.Keys<T>
|
|
938
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
939
|
-
? ByValid extends Prisma.True
|
|
940
|
-
? {}
|
|
941
|
-
: {
|
|
942
|
-
[P in OrderFields]: P extends ByFields
|
|
943
|
-
? never
|
|
944
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
945
|
-
}[OrderFields]
|
|
946
|
-
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
947
|
-
: 'skip' extends Prisma.Keys<T>
|
|
948
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
949
|
-
? ByValid extends Prisma.True
|
|
950
|
-
? {}
|
|
951
|
-
: {
|
|
952
|
-
[P in OrderFields]: P extends ByFields
|
|
953
|
-
? never
|
|
954
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
955
|
-
}[OrderFields]
|
|
956
|
-
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
957
|
-
: ByValid extends Prisma.True
|
|
958
|
-
? {}
|
|
959
|
-
: {
|
|
960
|
-
[P in OrderFields]: P extends ByFields
|
|
961
|
-
? never
|
|
962
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
963
|
-
}[OrderFields]
|
|
964
|
-
>(args: Prisma.SubsetIntersection<T, SubModuleGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSubModuleGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
965
|
-
/**
|
|
966
|
-
* Fields of the SubModule model
|
|
967
|
-
*/
|
|
968
|
-
readonly fields: SubModuleFieldRefs;
|
|
969
|
-
}
|
|
970
|
-
|
|
971
|
-
/**
|
|
972
|
-
* The delegate class that acts as a "Promise-like" for SubModule.
|
|
973
|
-
* Why is this prefixed with `Prisma__`?
|
|
974
|
-
* Because we want to prevent naming conflicts as mentioned in
|
|
975
|
-
* https://github.com/prisma/prisma-client-js/issues/707
|
|
976
|
-
*/
|
|
977
|
-
export interface Prisma__SubModuleClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
978
|
-
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
979
|
-
module<T extends Prisma.SubModule$moduleArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.SubModule$moduleArgs<ExtArgs>>): Prisma.Prisma__ModuleClient<runtime.Types.Result.GetResult<Prisma.$ModulePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
980
|
-
/**
|
|
981
|
-
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
982
|
-
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
983
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
984
|
-
* @returns A Promise for the completion of which ever callback is executed.
|
|
985
|
-
*/
|
|
986
|
-
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>
|
|
987
|
-
/**
|
|
988
|
-
* Attaches a callback for only the rejection of the Promise.
|
|
989
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
990
|
-
* @returns A Promise for the completion of the callback.
|
|
991
|
-
*/
|
|
992
|
-
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
993
|
-
/**
|
|
994
|
-
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
995
|
-
* resolved value cannot be modified from the callback.
|
|
996
|
-
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
997
|
-
* @returns A Promise for the completion of the callback.
|
|
998
|
-
*/
|
|
999
|
-
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1000
|
-
}
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
/**
|
|
1006
|
-
* Fields of the SubModule model
|
|
1007
|
-
*/
|
|
1008
|
-
export interface SubModuleFieldRefs {
|
|
1009
|
-
readonly id: Prisma.FieldRef<"SubModule", 'Int'>
|
|
1010
|
-
readonly name: Prisma.FieldRef<"SubModule", 'String'>
|
|
1011
|
-
readonly slug: Prisma.FieldRef<"SubModule", 'String'>
|
|
1012
|
-
readonly module_id: Prisma.FieldRef<"SubModule", 'Int'>
|
|
1013
|
-
readonly created_by: Prisma.FieldRef<"SubModule", 'Int'>
|
|
1014
|
-
readonly created_at: Prisma.FieldRef<"SubModule", 'DateTime'>
|
|
1015
|
-
}
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
// Custom InputTypes
|
|
1019
|
-
/**
|
|
1020
|
-
* SubModule findUnique
|
|
1021
|
-
*/
|
|
1022
|
-
export type SubModuleFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1023
|
-
/**
|
|
1024
|
-
* Select specific fields to fetch from the SubModule
|
|
1025
|
-
*/
|
|
1026
|
-
select?: Prisma.SubModuleSelect<ExtArgs> | null
|
|
1027
|
-
/**
|
|
1028
|
-
* Omit specific fields from the SubModule
|
|
1029
|
-
*/
|
|
1030
|
-
omit?: Prisma.SubModuleOmit<ExtArgs> | null
|
|
1031
|
-
/**
|
|
1032
|
-
* Choose, which related nodes to fetch as well
|
|
1033
|
-
*/
|
|
1034
|
-
include?: Prisma.SubModuleInclude<ExtArgs> | null
|
|
1035
|
-
/**
|
|
1036
|
-
* Filter, which SubModule to fetch.
|
|
1037
|
-
*/
|
|
1038
|
-
where: Prisma.SubModuleWhereUniqueInput
|
|
1039
|
-
}
|
|
1040
|
-
|
|
1041
|
-
/**
|
|
1042
|
-
* SubModule findUniqueOrThrow
|
|
1043
|
-
*/
|
|
1044
|
-
export type SubModuleFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1045
|
-
/**
|
|
1046
|
-
* Select specific fields to fetch from the SubModule
|
|
1047
|
-
*/
|
|
1048
|
-
select?: Prisma.SubModuleSelect<ExtArgs> | null
|
|
1049
|
-
/**
|
|
1050
|
-
* Omit specific fields from the SubModule
|
|
1051
|
-
*/
|
|
1052
|
-
omit?: Prisma.SubModuleOmit<ExtArgs> | null
|
|
1053
|
-
/**
|
|
1054
|
-
* Choose, which related nodes to fetch as well
|
|
1055
|
-
*/
|
|
1056
|
-
include?: Prisma.SubModuleInclude<ExtArgs> | null
|
|
1057
|
-
/**
|
|
1058
|
-
* Filter, which SubModule to fetch.
|
|
1059
|
-
*/
|
|
1060
|
-
where: Prisma.SubModuleWhereUniqueInput
|
|
1061
|
-
}
|
|
1062
|
-
|
|
1063
|
-
/**
|
|
1064
|
-
* SubModule findFirst
|
|
1065
|
-
*/
|
|
1066
|
-
export type SubModuleFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1067
|
-
/**
|
|
1068
|
-
* Select specific fields to fetch from the SubModule
|
|
1069
|
-
*/
|
|
1070
|
-
select?: Prisma.SubModuleSelect<ExtArgs> | null
|
|
1071
|
-
/**
|
|
1072
|
-
* Omit specific fields from the SubModule
|
|
1073
|
-
*/
|
|
1074
|
-
omit?: Prisma.SubModuleOmit<ExtArgs> | null
|
|
1075
|
-
/**
|
|
1076
|
-
* Choose, which related nodes to fetch as well
|
|
1077
|
-
*/
|
|
1078
|
-
include?: Prisma.SubModuleInclude<ExtArgs> | null
|
|
1079
|
-
/**
|
|
1080
|
-
* Filter, which SubModule to fetch.
|
|
1081
|
-
*/
|
|
1082
|
-
where?: Prisma.SubModuleWhereInput
|
|
1083
|
-
/**
|
|
1084
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1085
|
-
*
|
|
1086
|
-
* Determine the order of SubModules to fetch.
|
|
1087
|
-
*/
|
|
1088
|
-
orderBy?: Prisma.SubModuleOrderByWithRelationInput | Prisma.SubModuleOrderByWithRelationInput[]
|
|
1089
|
-
/**
|
|
1090
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1091
|
-
*
|
|
1092
|
-
* Sets the position for searching for SubModules.
|
|
1093
|
-
*/
|
|
1094
|
-
cursor?: Prisma.SubModuleWhereUniqueInput
|
|
1095
|
-
/**
|
|
1096
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1097
|
-
*
|
|
1098
|
-
* Take `±n` SubModules from the position of the cursor.
|
|
1099
|
-
*/
|
|
1100
|
-
take?: number
|
|
1101
|
-
/**
|
|
1102
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1103
|
-
*
|
|
1104
|
-
* Skip the first `n` SubModules.
|
|
1105
|
-
*/
|
|
1106
|
-
skip?: number
|
|
1107
|
-
/**
|
|
1108
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1109
|
-
*
|
|
1110
|
-
* Filter by unique combinations of SubModules.
|
|
1111
|
-
*/
|
|
1112
|
-
distinct?: Prisma.SubModuleScalarFieldEnum | Prisma.SubModuleScalarFieldEnum[]
|
|
1113
|
-
}
|
|
1114
|
-
|
|
1115
|
-
/**
|
|
1116
|
-
* SubModule findFirstOrThrow
|
|
1117
|
-
*/
|
|
1118
|
-
export type SubModuleFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1119
|
-
/**
|
|
1120
|
-
* Select specific fields to fetch from the SubModule
|
|
1121
|
-
*/
|
|
1122
|
-
select?: Prisma.SubModuleSelect<ExtArgs> | null
|
|
1123
|
-
/**
|
|
1124
|
-
* Omit specific fields from the SubModule
|
|
1125
|
-
*/
|
|
1126
|
-
omit?: Prisma.SubModuleOmit<ExtArgs> | null
|
|
1127
|
-
/**
|
|
1128
|
-
* Choose, which related nodes to fetch as well
|
|
1129
|
-
*/
|
|
1130
|
-
include?: Prisma.SubModuleInclude<ExtArgs> | null
|
|
1131
|
-
/**
|
|
1132
|
-
* Filter, which SubModule to fetch.
|
|
1133
|
-
*/
|
|
1134
|
-
where?: Prisma.SubModuleWhereInput
|
|
1135
|
-
/**
|
|
1136
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1137
|
-
*
|
|
1138
|
-
* Determine the order of SubModules to fetch.
|
|
1139
|
-
*/
|
|
1140
|
-
orderBy?: Prisma.SubModuleOrderByWithRelationInput | Prisma.SubModuleOrderByWithRelationInput[]
|
|
1141
|
-
/**
|
|
1142
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1143
|
-
*
|
|
1144
|
-
* Sets the position for searching for SubModules.
|
|
1145
|
-
*/
|
|
1146
|
-
cursor?: Prisma.SubModuleWhereUniqueInput
|
|
1147
|
-
/**
|
|
1148
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1149
|
-
*
|
|
1150
|
-
* Take `±n` SubModules from the position of the cursor.
|
|
1151
|
-
*/
|
|
1152
|
-
take?: number
|
|
1153
|
-
/**
|
|
1154
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1155
|
-
*
|
|
1156
|
-
* Skip the first `n` SubModules.
|
|
1157
|
-
*/
|
|
1158
|
-
skip?: number
|
|
1159
|
-
/**
|
|
1160
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1161
|
-
*
|
|
1162
|
-
* Filter by unique combinations of SubModules.
|
|
1163
|
-
*/
|
|
1164
|
-
distinct?: Prisma.SubModuleScalarFieldEnum | Prisma.SubModuleScalarFieldEnum[]
|
|
1165
|
-
}
|
|
1166
|
-
|
|
1167
|
-
/**
|
|
1168
|
-
* SubModule findMany
|
|
1169
|
-
*/
|
|
1170
|
-
export type SubModuleFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1171
|
-
/**
|
|
1172
|
-
* Select specific fields to fetch from the SubModule
|
|
1173
|
-
*/
|
|
1174
|
-
select?: Prisma.SubModuleSelect<ExtArgs> | null
|
|
1175
|
-
/**
|
|
1176
|
-
* Omit specific fields from the SubModule
|
|
1177
|
-
*/
|
|
1178
|
-
omit?: Prisma.SubModuleOmit<ExtArgs> | null
|
|
1179
|
-
/**
|
|
1180
|
-
* Choose, which related nodes to fetch as well
|
|
1181
|
-
*/
|
|
1182
|
-
include?: Prisma.SubModuleInclude<ExtArgs> | null
|
|
1183
|
-
/**
|
|
1184
|
-
* Filter, which SubModules to fetch.
|
|
1185
|
-
*/
|
|
1186
|
-
where?: Prisma.SubModuleWhereInput
|
|
1187
|
-
/**
|
|
1188
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1189
|
-
*
|
|
1190
|
-
* Determine the order of SubModules to fetch.
|
|
1191
|
-
*/
|
|
1192
|
-
orderBy?: Prisma.SubModuleOrderByWithRelationInput | Prisma.SubModuleOrderByWithRelationInput[]
|
|
1193
|
-
/**
|
|
1194
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1195
|
-
*
|
|
1196
|
-
* Sets the position for listing SubModules.
|
|
1197
|
-
*/
|
|
1198
|
-
cursor?: Prisma.SubModuleWhereUniqueInput
|
|
1199
|
-
/**
|
|
1200
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1201
|
-
*
|
|
1202
|
-
* Take `±n` SubModules from the position of the cursor.
|
|
1203
|
-
*/
|
|
1204
|
-
take?: number
|
|
1205
|
-
/**
|
|
1206
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1207
|
-
*
|
|
1208
|
-
* Skip the first `n` SubModules.
|
|
1209
|
-
*/
|
|
1210
|
-
skip?: number
|
|
1211
|
-
/**
|
|
1212
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1213
|
-
*
|
|
1214
|
-
* Filter by unique combinations of SubModules.
|
|
1215
|
-
*/
|
|
1216
|
-
distinct?: Prisma.SubModuleScalarFieldEnum | Prisma.SubModuleScalarFieldEnum[]
|
|
1217
|
-
}
|
|
1218
|
-
|
|
1219
|
-
/**
|
|
1220
|
-
* SubModule create
|
|
1221
|
-
*/
|
|
1222
|
-
export type SubModuleCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1223
|
-
/**
|
|
1224
|
-
* Select specific fields to fetch from the SubModule
|
|
1225
|
-
*/
|
|
1226
|
-
select?: Prisma.SubModuleSelect<ExtArgs> | null
|
|
1227
|
-
/**
|
|
1228
|
-
* Omit specific fields from the SubModule
|
|
1229
|
-
*/
|
|
1230
|
-
omit?: Prisma.SubModuleOmit<ExtArgs> | null
|
|
1231
|
-
/**
|
|
1232
|
-
* Choose, which related nodes to fetch as well
|
|
1233
|
-
*/
|
|
1234
|
-
include?: Prisma.SubModuleInclude<ExtArgs> | null
|
|
1235
|
-
/**
|
|
1236
|
-
* The data needed to create a SubModule.
|
|
1237
|
-
*/
|
|
1238
|
-
data: Prisma.XOR<Prisma.SubModuleCreateInput, Prisma.SubModuleUncheckedCreateInput>
|
|
1239
|
-
}
|
|
1240
|
-
|
|
1241
|
-
/**
|
|
1242
|
-
* SubModule createMany
|
|
1243
|
-
*/
|
|
1244
|
-
export type SubModuleCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1245
|
-
/**
|
|
1246
|
-
* The data used to create many SubModules.
|
|
1247
|
-
*/
|
|
1248
|
-
data: Prisma.SubModuleCreateManyInput | Prisma.SubModuleCreateManyInput[]
|
|
1249
|
-
skipDuplicates?: boolean
|
|
1250
|
-
}
|
|
1251
|
-
|
|
1252
|
-
/**
|
|
1253
|
-
* SubModule createManyAndReturn
|
|
1254
|
-
*/
|
|
1255
|
-
export type SubModuleCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1256
|
-
/**
|
|
1257
|
-
* Select specific fields to fetch from the SubModule
|
|
1258
|
-
*/
|
|
1259
|
-
select?: Prisma.SubModuleSelectCreateManyAndReturn<ExtArgs> | null
|
|
1260
|
-
/**
|
|
1261
|
-
* Omit specific fields from the SubModule
|
|
1262
|
-
*/
|
|
1263
|
-
omit?: Prisma.SubModuleOmit<ExtArgs> | null
|
|
1264
|
-
/**
|
|
1265
|
-
* The data used to create many SubModules.
|
|
1266
|
-
*/
|
|
1267
|
-
data: Prisma.SubModuleCreateManyInput | Prisma.SubModuleCreateManyInput[]
|
|
1268
|
-
skipDuplicates?: boolean
|
|
1269
|
-
/**
|
|
1270
|
-
* Choose, which related nodes to fetch as well
|
|
1271
|
-
*/
|
|
1272
|
-
include?: Prisma.SubModuleIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1273
|
-
}
|
|
1274
|
-
|
|
1275
|
-
/**
|
|
1276
|
-
* SubModule update
|
|
1277
|
-
*/
|
|
1278
|
-
export type SubModuleUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1279
|
-
/**
|
|
1280
|
-
* Select specific fields to fetch from the SubModule
|
|
1281
|
-
*/
|
|
1282
|
-
select?: Prisma.SubModuleSelect<ExtArgs> | null
|
|
1283
|
-
/**
|
|
1284
|
-
* Omit specific fields from the SubModule
|
|
1285
|
-
*/
|
|
1286
|
-
omit?: Prisma.SubModuleOmit<ExtArgs> | null
|
|
1287
|
-
/**
|
|
1288
|
-
* Choose, which related nodes to fetch as well
|
|
1289
|
-
*/
|
|
1290
|
-
include?: Prisma.SubModuleInclude<ExtArgs> | null
|
|
1291
|
-
/**
|
|
1292
|
-
* The data needed to update a SubModule.
|
|
1293
|
-
*/
|
|
1294
|
-
data: Prisma.XOR<Prisma.SubModuleUpdateInput, Prisma.SubModuleUncheckedUpdateInput>
|
|
1295
|
-
/**
|
|
1296
|
-
* Choose, which SubModule to update.
|
|
1297
|
-
*/
|
|
1298
|
-
where: Prisma.SubModuleWhereUniqueInput
|
|
1299
|
-
}
|
|
1300
|
-
|
|
1301
|
-
/**
|
|
1302
|
-
* SubModule updateMany
|
|
1303
|
-
*/
|
|
1304
|
-
export type SubModuleUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1305
|
-
/**
|
|
1306
|
-
* The data used to update SubModules.
|
|
1307
|
-
*/
|
|
1308
|
-
data: Prisma.XOR<Prisma.SubModuleUpdateManyMutationInput, Prisma.SubModuleUncheckedUpdateManyInput>
|
|
1309
|
-
/**
|
|
1310
|
-
* Filter which SubModules to update
|
|
1311
|
-
*/
|
|
1312
|
-
where?: Prisma.SubModuleWhereInput
|
|
1313
|
-
/**
|
|
1314
|
-
* Limit how many SubModules to update.
|
|
1315
|
-
*/
|
|
1316
|
-
limit?: number
|
|
1317
|
-
}
|
|
1318
|
-
|
|
1319
|
-
/**
|
|
1320
|
-
* SubModule updateManyAndReturn
|
|
1321
|
-
*/
|
|
1322
|
-
export type SubModuleUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1323
|
-
/**
|
|
1324
|
-
* Select specific fields to fetch from the SubModule
|
|
1325
|
-
*/
|
|
1326
|
-
select?: Prisma.SubModuleSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1327
|
-
/**
|
|
1328
|
-
* Omit specific fields from the SubModule
|
|
1329
|
-
*/
|
|
1330
|
-
omit?: Prisma.SubModuleOmit<ExtArgs> | null
|
|
1331
|
-
/**
|
|
1332
|
-
* The data used to update SubModules.
|
|
1333
|
-
*/
|
|
1334
|
-
data: Prisma.XOR<Prisma.SubModuleUpdateManyMutationInput, Prisma.SubModuleUncheckedUpdateManyInput>
|
|
1335
|
-
/**
|
|
1336
|
-
* Filter which SubModules to update
|
|
1337
|
-
*/
|
|
1338
|
-
where?: Prisma.SubModuleWhereInput
|
|
1339
|
-
/**
|
|
1340
|
-
* Limit how many SubModules to update.
|
|
1341
|
-
*/
|
|
1342
|
-
limit?: number
|
|
1343
|
-
/**
|
|
1344
|
-
* Choose, which related nodes to fetch as well
|
|
1345
|
-
*/
|
|
1346
|
-
include?: Prisma.SubModuleIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1347
|
-
}
|
|
1348
|
-
|
|
1349
|
-
/**
|
|
1350
|
-
* SubModule upsert
|
|
1351
|
-
*/
|
|
1352
|
-
export type SubModuleUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1353
|
-
/**
|
|
1354
|
-
* Select specific fields to fetch from the SubModule
|
|
1355
|
-
*/
|
|
1356
|
-
select?: Prisma.SubModuleSelect<ExtArgs> | null
|
|
1357
|
-
/**
|
|
1358
|
-
* Omit specific fields from the SubModule
|
|
1359
|
-
*/
|
|
1360
|
-
omit?: Prisma.SubModuleOmit<ExtArgs> | null
|
|
1361
|
-
/**
|
|
1362
|
-
* Choose, which related nodes to fetch as well
|
|
1363
|
-
*/
|
|
1364
|
-
include?: Prisma.SubModuleInclude<ExtArgs> | null
|
|
1365
|
-
/**
|
|
1366
|
-
* The filter to search for the SubModule to update in case it exists.
|
|
1367
|
-
*/
|
|
1368
|
-
where: Prisma.SubModuleWhereUniqueInput
|
|
1369
|
-
/**
|
|
1370
|
-
* In case the SubModule found by the `where` argument doesn't exist, create a new SubModule with this data.
|
|
1371
|
-
*/
|
|
1372
|
-
create: Prisma.XOR<Prisma.SubModuleCreateInput, Prisma.SubModuleUncheckedCreateInput>
|
|
1373
|
-
/**
|
|
1374
|
-
* In case the SubModule was found with the provided `where` argument, update it with this data.
|
|
1375
|
-
*/
|
|
1376
|
-
update: Prisma.XOR<Prisma.SubModuleUpdateInput, Prisma.SubModuleUncheckedUpdateInput>
|
|
1377
|
-
}
|
|
1378
|
-
|
|
1379
|
-
/**
|
|
1380
|
-
* SubModule delete
|
|
1381
|
-
*/
|
|
1382
|
-
export type SubModuleDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1383
|
-
/**
|
|
1384
|
-
* Select specific fields to fetch from the SubModule
|
|
1385
|
-
*/
|
|
1386
|
-
select?: Prisma.SubModuleSelect<ExtArgs> | null
|
|
1387
|
-
/**
|
|
1388
|
-
* Omit specific fields from the SubModule
|
|
1389
|
-
*/
|
|
1390
|
-
omit?: Prisma.SubModuleOmit<ExtArgs> | null
|
|
1391
|
-
/**
|
|
1392
|
-
* Choose, which related nodes to fetch as well
|
|
1393
|
-
*/
|
|
1394
|
-
include?: Prisma.SubModuleInclude<ExtArgs> | null
|
|
1395
|
-
/**
|
|
1396
|
-
* Filter which SubModule to delete.
|
|
1397
|
-
*/
|
|
1398
|
-
where: Prisma.SubModuleWhereUniqueInput
|
|
1399
|
-
}
|
|
1400
|
-
|
|
1401
|
-
/**
|
|
1402
|
-
* SubModule deleteMany
|
|
1403
|
-
*/
|
|
1404
|
-
export type SubModuleDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1405
|
-
/**
|
|
1406
|
-
* Filter which SubModules to delete
|
|
1407
|
-
*/
|
|
1408
|
-
where?: Prisma.SubModuleWhereInput
|
|
1409
|
-
/**
|
|
1410
|
-
* Limit how many SubModules to delete.
|
|
1411
|
-
*/
|
|
1412
|
-
limit?: number
|
|
1413
|
-
}
|
|
1414
|
-
|
|
1415
|
-
/**
|
|
1416
|
-
* SubModule.module
|
|
1417
|
-
*/
|
|
1418
|
-
export type SubModule$moduleArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1419
|
-
/**
|
|
1420
|
-
* Select specific fields to fetch from the Module
|
|
1421
|
-
*/
|
|
1422
|
-
select?: Prisma.ModuleSelect<ExtArgs> | null
|
|
1423
|
-
/**
|
|
1424
|
-
* Omit specific fields from the Module
|
|
1425
|
-
*/
|
|
1426
|
-
omit?: Prisma.ModuleOmit<ExtArgs> | null
|
|
1427
|
-
/**
|
|
1428
|
-
* Choose, which related nodes to fetch as well
|
|
1429
|
-
*/
|
|
1430
|
-
include?: Prisma.ModuleInclude<ExtArgs> | null
|
|
1431
|
-
where?: Prisma.ModuleWhereInput
|
|
1432
|
-
}
|
|
1433
|
-
|
|
1434
|
-
/**
|
|
1435
|
-
* SubModule without action
|
|
1436
|
-
*/
|
|
1437
|
-
export type SubModuleDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1438
|
-
/**
|
|
1439
|
-
* Select specific fields to fetch from the SubModule
|
|
1440
|
-
*/
|
|
1441
|
-
select?: Prisma.SubModuleSelect<ExtArgs> | null
|
|
1442
|
-
/**
|
|
1443
|
-
* Omit specific fields from the SubModule
|
|
1444
|
-
*/
|
|
1445
|
-
omit?: Prisma.SubModuleOmit<ExtArgs> | null
|
|
1446
|
-
/**
|
|
1447
|
-
* Choose, which related nodes to fetch as well
|
|
1448
|
-
*/
|
|
1449
|
-
include?: Prisma.SubModuleInclude<ExtArgs> | null
|
|
1450
|
-
}
|