@allbluecn/database 0.4.0 → 0.4.2
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/desktop-init.ts +128 -0
- package/generated/browser.ts +494 -0
- package/generated/client.ts +518 -0
- package/generated/commonInputTypes.ts +1056 -0
- package/generated/enums.ts +93 -0
- package/generated/internal/class.ts +1144 -0
- package/generated/internal/prismaNamespace.ts +9603 -0
- package/generated/internal/prismaNamespaceBrowser.ts +1695 -0
- package/generated/models/Account.ts +1648 -0
- package/generated/models/AgentConversation.ts +1651 -0
- package/generated/models/AgentMessage.ts +1409 -0
- package/generated/models/AiProvider.ts +1607 -0
- package/generated/models/AiProviderConfig.ts +1514 -0
- package/generated/models/AiUsageLog.ts +1863 -0
- package/generated/models/AnyHubApp.ts +1911 -0
- package/generated/models/AnyHubMarketApp.ts +2008 -0
- package/generated/models/AnyHubPermission.ts +1422 -0
- package/generated/models/AnyHubRecommendation.ts +1870 -0
- package/generated/models/AnyHubRecommender.ts +1471 -0
- package/generated/models/Artboard.ts +1811 -0
- package/generated/models/ArtboardExport.ts +1548 -0
- package/generated/models/ArticleFavorite.ts +1352 -0
- package/generated/models/AuditLog.ts +1533 -0
- package/generated/models/Block.ts +1650 -0
- package/generated/models/BlockComponent.ts +1734 -0
- package/generated/models/BlockInstance.ts +2043 -0
- package/generated/models/BookmarkCategory.ts +1670 -0
- package/generated/models/ChatInterrupt.ts +1699 -0
- package/generated/models/ChatMessage.ts +1438 -0
- package/generated/models/ChatRun.ts +1632 -0
- package/generated/models/ChatThread.ts +2133 -0
- package/generated/models/Comment.ts +2206 -0
- package/generated/models/CommentIgnore.ts +1430 -0
- package/generated/models/CommentReaction.ts +1472 -0
- package/generated/models/ComplianceExport.ts +1345 -0
- package/generated/models/Component.ts +2345 -0
- package/generated/models/ComponentInstance.ts +2102 -0
- package/generated/models/ComponentTag.ts +1281 -0
- package/generated/models/CustomRole.ts +1560 -0
- package/generated/models/DesignProject.ts +1643 -0
- package/generated/models/DictionaryTerm.ts +1642 -0
- package/generated/models/GenerationRun.ts +1543 -0
- package/generated/models/IndustryCompliance.ts +1797 -0
- package/generated/models/InvitationCode.ts +1417 -0
- package/generated/models/InvitationUse.ts +1424 -0
- package/generated/models/Invoice.ts +1710 -0
- package/generated/models/KnowledgeBase.ts +1671 -0
- package/generated/models/KnowledgeDocument.ts +2458 -0
- package/generated/models/KnowledgeShareRecord.ts +1352 -0
- package/generated/models/Label.ts +1482 -0
- package/generated/models/LegalRegulation.ts +1873 -0
- package/generated/models/LicenseActivation.ts +1415 -0
- package/generated/models/LicenseKey.ts +1884 -0
- package/generated/models/LoginLog.ts +1450 -0
- package/generated/models/MonitoringErrorReport.ts +1299 -0
- package/generated/models/MonitoringHealthSnapshot.ts +1249 -0
- package/generated/models/MonitoringMetricsSnapshot.ts +1369 -0
- package/generated/models/MonitoringRequestLog.ts +1283 -0
- package/generated/models/PRD.ts +2805 -0
- package/generated/models/PRDPage.ts +2402 -0
- package/generated/models/PRDTag.ts +1430 -0
- package/generated/models/PRDVersion.ts +2121 -0
- package/generated/models/PageVersion.ts +1523 -0
- package/generated/models/PasswordResetToken.ts +1380 -0
- package/generated/models/Plan.ts +2069 -0
- package/generated/models/Project.ts +2148 -0
- package/generated/models/ProjectActivity.ts +1582 -0
- package/generated/models/ProjectMember.ts +1512 -0
- package/generated/models/ProviderEvent.ts +1227 -0
- package/generated/models/Reference.ts +1177 -0
- package/generated/models/Review.ts +1912 -0
- package/generated/models/ReviewComment.ts +1904 -0
- package/generated/models/RoleAssignment.ts +1430 -0
- package/generated/models/SequenceCounter.ts +1137 -0
- package/generated/models/Share.ts +1681 -0
- package/generated/models/ShareVersion.ts +1389 -0
- package/generated/models/SsoMapping.ts +1512 -0
- package/generated/models/SsoProvider.ts +1639 -0
- package/generated/models/Story.ts +5234 -0
- package/generated/models/StoryActivity.ts +1664 -0
- package/generated/models/StoryAttachment.ts +1467 -0
- package/generated/models/StoryComment.ts +1992 -0
- package/generated/models/StoryDependency.ts +1517 -0
- package/generated/models/StoryDocLink.ts +1430 -0
- package/generated/models/StoryFilterView.ts +1587 -0
- package/generated/models/StoryLabel.ts +1349 -0
- package/generated/models/StoryLink.ts +1415 -0
- package/generated/models/StoryPrdLink.ts +1430 -0
- package/generated/models/StoryReaction.ts +1472 -0
- package/generated/models/Subscription.ts +2147 -0
- package/generated/models/SystemSetting.ts +1217 -0
- package/generated/models/Tag.ts +1655 -0
- package/generated/models/TeamInvitation.ts +1526 -0
- package/generated/models/TeamMembership.ts +1436 -0
- package/generated/models/Template.ts +1391 -0
- package/generated/models/TemplateBlock.ts +1664 -0
- package/generated/models/ThirdPartyDependency.ts +1473 -0
- package/generated/models/UsageRecord.ts +1505 -0
- package/generated/models/User.ts +20998 -0
- package/generated/models/UserAgent.ts +1900 -0
- package/generated/models/UserSkill.ts +1456 -0
- package/generated/models/WebsiteBookmark.ts +2219 -0
- package/generated/models/Workspace.ts +2279 -0
- package/generated/models.ts +106 -0
- package/generated-sqlite/browser.ts +399 -0
- package/generated-sqlite/client.ts +423 -0
- package/generated-sqlite/commonInputTypes.ts +608 -0
- package/generated-sqlite/enums.ts +15 -0
- package/generated-sqlite/internal/class.ts +954 -0
- package/generated-sqlite/internal/prismaNamespace.ts +7716 -0
- package/generated-sqlite/internal/prismaNamespaceBrowser.ts +1415 -0
- package/generated-sqlite/models/AgentConversation.ts +1647 -0
- package/generated-sqlite/models/AgentMessage.ts +1406 -0
- package/generated-sqlite/models/AiProvider.ts +1605 -0
- package/generated-sqlite/models/AiProviderConfig.ts +1511 -0
- package/generated-sqlite/models/AiUsageLog.ts +1845 -0
- package/generated-sqlite/models/AnyHubApp.ts +1908 -0
- package/generated-sqlite/models/AnyHubMarketApp.ts +1997 -0
- package/generated-sqlite/models/AnyHubPermission.ts +1419 -0
- package/generated-sqlite/models/AnyHubRecommendation.ts +1867 -0
- package/generated-sqlite/models/AnyHubRecommender.ts +1467 -0
- package/generated-sqlite/models/Artboard.ts +1808 -0
- package/generated-sqlite/models/ArtboardExport.ts +1545 -0
- package/generated-sqlite/models/ArticleFavorite.ts +1349 -0
- package/generated-sqlite/models/AuditLog.ts +1287 -0
- package/generated-sqlite/models/Block.ts +1648 -0
- package/generated-sqlite/models/BlockComponent.ts +1730 -0
- package/generated-sqlite/models/BlockInstance.ts +2039 -0
- package/generated-sqlite/models/BookmarkCategory.ts +1667 -0
- package/generated-sqlite/models/ChatInterrupt.ts +1695 -0
- package/generated-sqlite/models/ChatMessage.ts +1435 -0
- package/generated-sqlite/models/ChatRun.ts +1629 -0
- package/generated-sqlite/models/ChatThread.ts +2129 -0
- package/generated-sqlite/models/Comment.ts +2201 -0
- package/generated-sqlite/models/CommentIgnore.ts +1426 -0
- package/generated-sqlite/models/ComplianceExport.ts +1343 -0
- package/generated-sqlite/models/Component.ts +2326 -0
- package/generated-sqlite/models/ComponentInstance.ts +2097 -0
- package/generated-sqlite/models/ComponentTag.ts +1278 -0
- package/generated-sqlite/models/CustomRole.ts +1209 -0
- package/generated-sqlite/models/DesignProject.ts +1640 -0
- package/generated-sqlite/models/DictionaryTerm.ts +1639 -0
- package/generated-sqlite/models/GenerationRun.ts +1540 -0
- package/generated-sqlite/models/IndustryCompliance.ts +1794 -0
- package/generated-sqlite/models/InvitationCode.ts +1415 -0
- package/generated-sqlite/models/InvitationUse.ts +1420 -0
- package/generated-sqlite/models/Invoice.ts +1707 -0
- package/generated-sqlite/models/KnowledgeBase.ts +1668 -0
- package/generated-sqlite/models/KnowledgeDocument.ts +2282 -0
- package/generated-sqlite/models/KnowledgeShareRecord.ts +1349 -0
- package/generated-sqlite/models/LegalRegulation.ts +1870 -0
- package/generated-sqlite/models/LicenseActivation.ts +1203 -0
- package/generated-sqlite/models/LicenseKey.ts +1443 -0
- package/generated-sqlite/models/LoginLog.ts +1447 -0
- package/generated-sqlite/models/PRD.ts +2616 -0
- package/generated-sqlite/models/PRDPage.ts +2398 -0
- package/generated-sqlite/models/PRDTag.ts +1426 -0
- package/generated-sqlite/models/PRDVersion.ts +2117 -0
- package/generated-sqlite/models/PageVersion.ts +1528 -0
- package/generated-sqlite/models/PasswordResetToken.ts +1377 -0
- package/generated-sqlite/models/Plan.ts +2060 -0
- package/generated-sqlite/models/Project.ts +1994 -0
- package/generated-sqlite/models/ProjectActivity.ts +1578 -0
- package/generated-sqlite/models/ProjectMember.ts +1508 -0
- package/generated-sqlite/models/ProviderEvent.ts +1225 -0
- package/generated-sqlite/models/Reference.ts +1175 -0
- package/generated-sqlite/models/Review.ts +1903 -0
- package/generated-sqlite/models/ReviewComment.ts +1899 -0
- package/generated-sqlite/models/RoleAssignment.ts +1125 -0
- package/generated-sqlite/models/Share.ts +1674 -0
- package/generated-sqlite/models/ShareVersion.ts +1385 -0
- package/generated-sqlite/models/SsoMapping.ts +1181 -0
- package/generated-sqlite/models/SsoProvider.ts +1266 -0
- package/generated-sqlite/models/Subscription.ts +2137 -0
- package/generated-sqlite/models/SystemSetting.ts +1215 -0
- package/generated-sqlite/models/Tag.ts +1652 -0
- package/generated-sqlite/models/TeamInvitation.ts +1523 -0
- package/generated-sqlite/models/TeamMembership.ts +1433 -0
- package/generated-sqlite/models/Template.ts +1389 -0
- package/generated-sqlite/models/TemplateBlock.ts +1660 -0
- package/generated-sqlite/models/ThirdPartyDependency.ts +1471 -0
- package/generated-sqlite/models/UsageRecord.ts +1498 -0
- package/generated-sqlite/models/User.ts +13558 -0
- package/generated-sqlite/models/UserAgent.ts +1897 -0
- package/generated-sqlite/models/UserSkill.ts +1453 -0
- package/generated-sqlite/models/WebsiteBookmark.ts +2215 -0
- package/generated-sqlite/models/Workspace.ts +1824 -0
- package/generated-sqlite/models.ts +87 -0
- package/package.json +7 -3
- package/LICENSE +0 -661
|
@@ -0,0 +1,1422 @@
|
|
|
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 `AnyHubPermission` 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 AnyHubPermission
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type AnyHubPermissionModel = runtime.Types.Result.DefaultSelection<Prisma.$AnyHubPermissionPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateAnyHubPermission = {
|
|
22
|
+
_count: AnyHubPermissionCountAggregateOutputType | null
|
|
23
|
+
_min: AnyHubPermissionMinAggregateOutputType | null
|
|
24
|
+
_max: AnyHubPermissionMaxAggregateOutputType | null
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type AnyHubPermissionMinAggregateOutputType = {
|
|
28
|
+
id: string | null
|
|
29
|
+
appId: string | null
|
|
30
|
+
capability: string | null
|
|
31
|
+
granted: boolean | null
|
|
32
|
+
userId: string | null
|
|
33
|
+
createdAt: Date | null
|
|
34
|
+
updatedAt: Date | null
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type AnyHubPermissionMaxAggregateOutputType = {
|
|
38
|
+
id: string | null
|
|
39
|
+
appId: string | null
|
|
40
|
+
capability: string | null
|
|
41
|
+
granted: boolean | null
|
|
42
|
+
userId: string | null
|
|
43
|
+
createdAt: Date | null
|
|
44
|
+
updatedAt: Date | null
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export type AnyHubPermissionCountAggregateOutputType = {
|
|
48
|
+
id: number
|
|
49
|
+
appId: number
|
|
50
|
+
capability: number
|
|
51
|
+
granted: number
|
|
52
|
+
userId: number
|
|
53
|
+
createdAt: number
|
|
54
|
+
updatedAt: number
|
|
55
|
+
_all: number
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
export type AnyHubPermissionMinAggregateInputType = {
|
|
60
|
+
id?: true
|
|
61
|
+
appId?: true
|
|
62
|
+
capability?: true
|
|
63
|
+
granted?: true
|
|
64
|
+
userId?: true
|
|
65
|
+
createdAt?: true
|
|
66
|
+
updatedAt?: true
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export type AnyHubPermissionMaxAggregateInputType = {
|
|
70
|
+
id?: true
|
|
71
|
+
appId?: true
|
|
72
|
+
capability?: true
|
|
73
|
+
granted?: true
|
|
74
|
+
userId?: true
|
|
75
|
+
createdAt?: true
|
|
76
|
+
updatedAt?: true
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export type AnyHubPermissionCountAggregateInputType = {
|
|
80
|
+
id?: true
|
|
81
|
+
appId?: true
|
|
82
|
+
capability?: true
|
|
83
|
+
granted?: true
|
|
84
|
+
userId?: true
|
|
85
|
+
createdAt?: true
|
|
86
|
+
updatedAt?: true
|
|
87
|
+
_all?: true
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export type AnyHubPermissionAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
91
|
+
/**
|
|
92
|
+
* Filter which AnyHubPermission to aggregate.
|
|
93
|
+
*/
|
|
94
|
+
where?: Prisma.AnyHubPermissionWhereInput
|
|
95
|
+
/**
|
|
96
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
97
|
+
*
|
|
98
|
+
* Determine the order of AnyHubPermissions to fetch.
|
|
99
|
+
*/
|
|
100
|
+
orderBy?: Prisma.AnyHubPermissionOrderByWithRelationInput | Prisma.AnyHubPermissionOrderByWithRelationInput[]
|
|
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.AnyHubPermissionWhereUniqueInput
|
|
107
|
+
/**
|
|
108
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
109
|
+
*
|
|
110
|
+
* Take `±n` AnyHubPermissions 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` AnyHubPermissions.
|
|
117
|
+
*/
|
|
118
|
+
skip?: number
|
|
119
|
+
/**
|
|
120
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
121
|
+
*
|
|
122
|
+
* Count returned AnyHubPermissions
|
|
123
|
+
**/
|
|
124
|
+
_count?: true | AnyHubPermissionCountAggregateInputType
|
|
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?: AnyHubPermissionMinAggregateInputType
|
|
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?: AnyHubPermissionMaxAggregateInputType
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export type GetAnyHubPermissionAggregateType<T extends AnyHubPermissionAggregateArgs> = {
|
|
140
|
+
[P in keyof T & keyof AggregateAnyHubPermission]: P extends '_count' | 'count'
|
|
141
|
+
? T[P] extends true
|
|
142
|
+
? number
|
|
143
|
+
: Prisma.GetScalarType<T[P], AggregateAnyHubPermission[P]>
|
|
144
|
+
: Prisma.GetScalarType<T[P], AggregateAnyHubPermission[P]>
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
export type AnyHubPermissionGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
151
|
+
where?: Prisma.AnyHubPermissionWhereInput
|
|
152
|
+
orderBy?: Prisma.AnyHubPermissionOrderByWithAggregationInput | Prisma.AnyHubPermissionOrderByWithAggregationInput[]
|
|
153
|
+
by: Prisma.AnyHubPermissionScalarFieldEnum[] | Prisma.AnyHubPermissionScalarFieldEnum
|
|
154
|
+
having?: Prisma.AnyHubPermissionScalarWhereWithAggregatesInput
|
|
155
|
+
take?: number
|
|
156
|
+
skip?: number
|
|
157
|
+
_count?: AnyHubPermissionCountAggregateInputType | true
|
|
158
|
+
_min?: AnyHubPermissionMinAggregateInputType
|
|
159
|
+
_max?: AnyHubPermissionMaxAggregateInputType
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
export type AnyHubPermissionGroupByOutputType = {
|
|
163
|
+
id: string
|
|
164
|
+
appId: string
|
|
165
|
+
capability: string
|
|
166
|
+
granted: boolean
|
|
167
|
+
userId: string
|
|
168
|
+
createdAt: Date
|
|
169
|
+
updatedAt: Date
|
|
170
|
+
_count: AnyHubPermissionCountAggregateOutputType | null
|
|
171
|
+
_min: AnyHubPermissionMinAggregateOutputType | null
|
|
172
|
+
_max: AnyHubPermissionMaxAggregateOutputType | null
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export type GetAnyHubPermissionGroupByPayload<T extends AnyHubPermissionGroupByArgs> = Prisma.PrismaPromise<
|
|
176
|
+
Array<
|
|
177
|
+
Prisma.PickEnumerable<AnyHubPermissionGroupByOutputType, T['by']> &
|
|
178
|
+
{
|
|
179
|
+
[P in ((keyof T) & (keyof AnyHubPermissionGroupByOutputType))]: P extends '_count'
|
|
180
|
+
? T[P] extends boolean
|
|
181
|
+
? number
|
|
182
|
+
: Prisma.GetScalarType<T[P], AnyHubPermissionGroupByOutputType[P]>
|
|
183
|
+
: Prisma.GetScalarType<T[P], AnyHubPermissionGroupByOutputType[P]>
|
|
184
|
+
}
|
|
185
|
+
>
|
|
186
|
+
>
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
export type AnyHubPermissionWhereInput = {
|
|
191
|
+
AND?: Prisma.AnyHubPermissionWhereInput | Prisma.AnyHubPermissionWhereInput[]
|
|
192
|
+
OR?: Prisma.AnyHubPermissionWhereInput[]
|
|
193
|
+
NOT?: Prisma.AnyHubPermissionWhereInput | Prisma.AnyHubPermissionWhereInput[]
|
|
194
|
+
id?: Prisma.StringFilter<"AnyHubPermission"> | string
|
|
195
|
+
appId?: Prisma.StringFilter<"AnyHubPermission"> | string
|
|
196
|
+
capability?: Prisma.StringFilter<"AnyHubPermission"> | string
|
|
197
|
+
granted?: Prisma.BoolFilter<"AnyHubPermission"> | boolean
|
|
198
|
+
userId?: Prisma.StringFilter<"AnyHubPermission"> | string
|
|
199
|
+
createdAt?: Prisma.DateTimeFilter<"AnyHubPermission"> | Date | string
|
|
200
|
+
updatedAt?: Prisma.DateTimeFilter<"AnyHubPermission"> | Date | string
|
|
201
|
+
app?: Prisma.XOR<Prisma.AnyHubAppScalarRelationFilter, Prisma.AnyHubAppWhereInput>
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
export type AnyHubPermissionOrderByWithRelationInput = {
|
|
205
|
+
id?: Prisma.SortOrder
|
|
206
|
+
appId?: Prisma.SortOrder
|
|
207
|
+
capability?: Prisma.SortOrder
|
|
208
|
+
granted?: Prisma.SortOrder
|
|
209
|
+
userId?: Prisma.SortOrder
|
|
210
|
+
createdAt?: Prisma.SortOrder
|
|
211
|
+
updatedAt?: Prisma.SortOrder
|
|
212
|
+
app?: Prisma.AnyHubAppOrderByWithRelationInput
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
export type AnyHubPermissionWhereUniqueInput = Prisma.AtLeast<{
|
|
216
|
+
id?: string
|
|
217
|
+
appId_capability_userId?: Prisma.AnyHubPermissionAppIdCapabilityUserIdCompoundUniqueInput
|
|
218
|
+
AND?: Prisma.AnyHubPermissionWhereInput | Prisma.AnyHubPermissionWhereInput[]
|
|
219
|
+
OR?: Prisma.AnyHubPermissionWhereInput[]
|
|
220
|
+
NOT?: Prisma.AnyHubPermissionWhereInput | Prisma.AnyHubPermissionWhereInput[]
|
|
221
|
+
appId?: Prisma.StringFilter<"AnyHubPermission"> | string
|
|
222
|
+
capability?: Prisma.StringFilter<"AnyHubPermission"> | string
|
|
223
|
+
granted?: Prisma.BoolFilter<"AnyHubPermission"> | boolean
|
|
224
|
+
userId?: Prisma.StringFilter<"AnyHubPermission"> | string
|
|
225
|
+
createdAt?: Prisma.DateTimeFilter<"AnyHubPermission"> | Date | string
|
|
226
|
+
updatedAt?: Prisma.DateTimeFilter<"AnyHubPermission"> | Date | string
|
|
227
|
+
app?: Prisma.XOR<Prisma.AnyHubAppScalarRelationFilter, Prisma.AnyHubAppWhereInput>
|
|
228
|
+
}, "id" | "appId_capability_userId">
|
|
229
|
+
|
|
230
|
+
export type AnyHubPermissionOrderByWithAggregationInput = {
|
|
231
|
+
id?: Prisma.SortOrder
|
|
232
|
+
appId?: Prisma.SortOrder
|
|
233
|
+
capability?: Prisma.SortOrder
|
|
234
|
+
granted?: Prisma.SortOrder
|
|
235
|
+
userId?: Prisma.SortOrder
|
|
236
|
+
createdAt?: Prisma.SortOrder
|
|
237
|
+
updatedAt?: Prisma.SortOrder
|
|
238
|
+
_count?: Prisma.AnyHubPermissionCountOrderByAggregateInput
|
|
239
|
+
_max?: Prisma.AnyHubPermissionMaxOrderByAggregateInput
|
|
240
|
+
_min?: Prisma.AnyHubPermissionMinOrderByAggregateInput
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
export type AnyHubPermissionScalarWhereWithAggregatesInput = {
|
|
244
|
+
AND?: Prisma.AnyHubPermissionScalarWhereWithAggregatesInput | Prisma.AnyHubPermissionScalarWhereWithAggregatesInput[]
|
|
245
|
+
OR?: Prisma.AnyHubPermissionScalarWhereWithAggregatesInput[]
|
|
246
|
+
NOT?: Prisma.AnyHubPermissionScalarWhereWithAggregatesInput | Prisma.AnyHubPermissionScalarWhereWithAggregatesInput[]
|
|
247
|
+
id?: Prisma.StringWithAggregatesFilter<"AnyHubPermission"> | string
|
|
248
|
+
appId?: Prisma.StringWithAggregatesFilter<"AnyHubPermission"> | string
|
|
249
|
+
capability?: Prisma.StringWithAggregatesFilter<"AnyHubPermission"> | string
|
|
250
|
+
granted?: Prisma.BoolWithAggregatesFilter<"AnyHubPermission"> | boolean
|
|
251
|
+
userId?: Prisma.StringWithAggregatesFilter<"AnyHubPermission"> | string
|
|
252
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AnyHubPermission"> | Date | string
|
|
253
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AnyHubPermission"> | Date | string
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
export type AnyHubPermissionCreateInput = {
|
|
257
|
+
id?: string
|
|
258
|
+
capability: string
|
|
259
|
+
granted?: boolean
|
|
260
|
+
userId: string
|
|
261
|
+
createdAt?: Date | string
|
|
262
|
+
updatedAt?: Date | string
|
|
263
|
+
app: Prisma.AnyHubAppCreateNestedOneWithoutPermissionsInput
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
export type AnyHubPermissionUncheckedCreateInput = {
|
|
267
|
+
id?: string
|
|
268
|
+
appId: string
|
|
269
|
+
capability: string
|
|
270
|
+
granted?: boolean
|
|
271
|
+
userId: string
|
|
272
|
+
createdAt?: Date | string
|
|
273
|
+
updatedAt?: Date | string
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
export type AnyHubPermissionUpdateInput = {
|
|
277
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
278
|
+
capability?: Prisma.StringFieldUpdateOperationsInput | string
|
|
279
|
+
granted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
280
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
281
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
282
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
283
|
+
app?: Prisma.AnyHubAppUpdateOneRequiredWithoutPermissionsNestedInput
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
export type AnyHubPermissionUncheckedUpdateInput = {
|
|
287
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
288
|
+
appId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
289
|
+
capability?: Prisma.StringFieldUpdateOperationsInput | string
|
|
290
|
+
granted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
291
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
292
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
293
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
export type AnyHubPermissionCreateManyInput = {
|
|
297
|
+
id?: string
|
|
298
|
+
appId: string
|
|
299
|
+
capability: string
|
|
300
|
+
granted?: boolean
|
|
301
|
+
userId: string
|
|
302
|
+
createdAt?: Date | string
|
|
303
|
+
updatedAt?: Date | string
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
export type AnyHubPermissionUpdateManyMutationInput = {
|
|
307
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
308
|
+
capability?: Prisma.StringFieldUpdateOperationsInput | string
|
|
309
|
+
granted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
310
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
311
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
312
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
export type AnyHubPermissionUncheckedUpdateManyInput = {
|
|
316
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
317
|
+
appId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
318
|
+
capability?: Prisma.StringFieldUpdateOperationsInput | string
|
|
319
|
+
granted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
320
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
321
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
322
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
export type AnyHubPermissionListRelationFilter = {
|
|
326
|
+
every?: Prisma.AnyHubPermissionWhereInput
|
|
327
|
+
some?: Prisma.AnyHubPermissionWhereInput
|
|
328
|
+
none?: Prisma.AnyHubPermissionWhereInput
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
export type AnyHubPermissionOrderByRelationAggregateInput = {
|
|
332
|
+
_count?: Prisma.SortOrder
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
export type AnyHubPermissionAppIdCapabilityUserIdCompoundUniqueInput = {
|
|
336
|
+
appId: string
|
|
337
|
+
capability: string
|
|
338
|
+
userId: string
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
export type AnyHubPermissionCountOrderByAggregateInput = {
|
|
342
|
+
id?: Prisma.SortOrder
|
|
343
|
+
appId?: Prisma.SortOrder
|
|
344
|
+
capability?: Prisma.SortOrder
|
|
345
|
+
granted?: Prisma.SortOrder
|
|
346
|
+
userId?: Prisma.SortOrder
|
|
347
|
+
createdAt?: Prisma.SortOrder
|
|
348
|
+
updatedAt?: Prisma.SortOrder
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
export type AnyHubPermissionMaxOrderByAggregateInput = {
|
|
352
|
+
id?: Prisma.SortOrder
|
|
353
|
+
appId?: Prisma.SortOrder
|
|
354
|
+
capability?: Prisma.SortOrder
|
|
355
|
+
granted?: Prisma.SortOrder
|
|
356
|
+
userId?: Prisma.SortOrder
|
|
357
|
+
createdAt?: Prisma.SortOrder
|
|
358
|
+
updatedAt?: Prisma.SortOrder
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
export type AnyHubPermissionMinOrderByAggregateInput = {
|
|
362
|
+
id?: Prisma.SortOrder
|
|
363
|
+
appId?: Prisma.SortOrder
|
|
364
|
+
capability?: Prisma.SortOrder
|
|
365
|
+
granted?: Prisma.SortOrder
|
|
366
|
+
userId?: Prisma.SortOrder
|
|
367
|
+
createdAt?: Prisma.SortOrder
|
|
368
|
+
updatedAt?: Prisma.SortOrder
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
export type AnyHubPermissionCreateNestedManyWithoutAppInput = {
|
|
372
|
+
create?: Prisma.XOR<Prisma.AnyHubPermissionCreateWithoutAppInput, Prisma.AnyHubPermissionUncheckedCreateWithoutAppInput> | Prisma.AnyHubPermissionCreateWithoutAppInput[] | Prisma.AnyHubPermissionUncheckedCreateWithoutAppInput[]
|
|
373
|
+
connectOrCreate?: Prisma.AnyHubPermissionCreateOrConnectWithoutAppInput | Prisma.AnyHubPermissionCreateOrConnectWithoutAppInput[]
|
|
374
|
+
createMany?: Prisma.AnyHubPermissionCreateManyAppInputEnvelope
|
|
375
|
+
connect?: Prisma.AnyHubPermissionWhereUniqueInput | Prisma.AnyHubPermissionWhereUniqueInput[]
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
export type AnyHubPermissionUncheckedCreateNestedManyWithoutAppInput = {
|
|
379
|
+
create?: Prisma.XOR<Prisma.AnyHubPermissionCreateWithoutAppInput, Prisma.AnyHubPermissionUncheckedCreateWithoutAppInput> | Prisma.AnyHubPermissionCreateWithoutAppInput[] | Prisma.AnyHubPermissionUncheckedCreateWithoutAppInput[]
|
|
380
|
+
connectOrCreate?: Prisma.AnyHubPermissionCreateOrConnectWithoutAppInput | Prisma.AnyHubPermissionCreateOrConnectWithoutAppInput[]
|
|
381
|
+
createMany?: Prisma.AnyHubPermissionCreateManyAppInputEnvelope
|
|
382
|
+
connect?: Prisma.AnyHubPermissionWhereUniqueInput | Prisma.AnyHubPermissionWhereUniqueInput[]
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
export type AnyHubPermissionUpdateManyWithoutAppNestedInput = {
|
|
386
|
+
create?: Prisma.XOR<Prisma.AnyHubPermissionCreateWithoutAppInput, Prisma.AnyHubPermissionUncheckedCreateWithoutAppInput> | Prisma.AnyHubPermissionCreateWithoutAppInput[] | Prisma.AnyHubPermissionUncheckedCreateWithoutAppInput[]
|
|
387
|
+
connectOrCreate?: Prisma.AnyHubPermissionCreateOrConnectWithoutAppInput | Prisma.AnyHubPermissionCreateOrConnectWithoutAppInput[]
|
|
388
|
+
upsert?: Prisma.AnyHubPermissionUpsertWithWhereUniqueWithoutAppInput | Prisma.AnyHubPermissionUpsertWithWhereUniqueWithoutAppInput[]
|
|
389
|
+
createMany?: Prisma.AnyHubPermissionCreateManyAppInputEnvelope
|
|
390
|
+
set?: Prisma.AnyHubPermissionWhereUniqueInput | Prisma.AnyHubPermissionWhereUniqueInput[]
|
|
391
|
+
disconnect?: Prisma.AnyHubPermissionWhereUniqueInput | Prisma.AnyHubPermissionWhereUniqueInput[]
|
|
392
|
+
delete?: Prisma.AnyHubPermissionWhereUniqueInput | Prisma.AnyHubPermissionWhereUniqueInput[]
|
|
393
|
+
connect?: Prisma.AnyHubPermissionWhereUniqueInput | Prisma.AnyHubPermissionWhereUniqueInput[]
|
|
394
|
+
update?: Prisma.AnyHubPermissionUpdateWithWhereUniqueWithoutAppInput | Prisma.AnyHubPermissionUpdateWithWhereUniqueWithoutAppInput[]
|
|
395
|
+
updateMany?: Prisma.AnyHubPermissionUpdateManyWithWhereWithoutAppInput | Prisma.AnyHubPermissionUpdateManyWithWhereWithoutAppInput[]
|
|
396
|
+
deleteMany?: Prisma.AnyHubPermissionScalarWhereInput | Prisma.AnyHubPermissionScalarWhereInput[]
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
export type AnyHubPermissionUncheckedUpdateManyWithoutAppNestedInput = {
|
|
400
|
+
create?: Prisma.XOR<Prisma.AnyHubPermissionCreateWithoutAppInput, Prisma.AnyHubPermissionUncheckedCreateWithoutAppInput> | Prisma.AnyHubPermissionCreateWithoutAppInput[] | Prisma.AnyHubPermissionUncheckedCreateWithoutAppInput[]
|
|
401
|
+
connectOrCreate?: Prisma.AnyHubPermissionCreateOrConnectWithoutAppInput | Prisma.AnyHubPermissionCreateOrConnectWithoutAppInput[]
|
|
402
|
+
upsert?: Prisma.AnyHubPermissionUpsertWithWhereUniqueWithoutAppInput | Prisma.AnyHubPermissionUpsertWithWhereUniqueWithoutAppInput[]
|
|
403
|
+
createMany?: Prisma.AnyHubPermissionCreateManyAppInputEnvelope
|
|
404
|
+
set?: Prisma.AnyHubPermissionWhereUniqueInput | Prisma.AnyHubPermissionWhereUniqueInput[]
|
|
405
|
+
disconnect?: Prisma.AnyHubPermissionWhereUniqueInput | Prisma.AnyHubPermissionWhereUniqueInput[]
|
|
406
|
+
delete?: Prisma.AnyHubPermissionWhereUniqueInput | Prisma.AnyHubPermissionWhereUniqueInput[]
|
|
407
|
+
connect?: Prisma.AnyHubPermissionWhereUniqueInput | Prisma.AnyHubPermissionWhereUniqueInput[]
|
|
408
|
+
update?: Prisma.AnyHubPermissionUpdateWithWhereUniqueWithoutAppInput | Prisma.AnyHubPermissionUpdateWithWhereUniqueWithoutAppInput[]
|
|
409
|
+
updateMany?: Prisma.AnyHubPermissionUpdateManyWithWhereWithoutAppInput | Prisma.AnyHubPermissionUpdateManyWithWhereWithoutAppInput[]
|
|
410
|
+
deleteMany?: Prisma.AnyHubPermissionScalarWhereInput | Prisma.AnyHubPermissionScalarWhereInput[]
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
export type AnyHubPermissionCreateWithoutAppInput = {
|
|
414
|
+
id?: string
|
|
415
|
+
capability: string
|
|
416
|
+
granted?: boolean
|
|
417
|
+
userId: string
|
|
418
|
+
createdAt?: Date | string
|
|
419
|
+
updatedAt?: Date | string
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
export type AnyHubPermissionUncheckedCreateWithoutAppInput = {
|
|
423
|
+
id?: string
|
|
424
|
+
capability: string
|
|
425
|
+
granted?: boolean
|
|
426
|
+
userId: string
|
|
427
|
+
createdAt?: Date | string
|
|
428
|
+
updatedAt?: Date | string
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
export type AnyHubPermissionCreateOrConnectWithoutAppInput = {
|
|
432
|
+
where: Prisma.AnyHubPermissionWhereUniqueInput
|
|
433
|
+
create: Prisma.XOR<Prisma.AnyHubPermissionCreateWithoutAppInput, Prisma.AnyHubPermissionUncheckedCreateWithoutAppInput>
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
export type AnyHubPermissionCreateManyAppInputEnvelope = {
|
|
437
|
+
data: Prisma.AnyHubPermissionCreateManyAppInput | Prisma.AnyHubPermissionCreateManyAppInput[]
|
|
438
|
+
skipDuplicates?: boolean
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
export type AnyHubPermissionUpsertWithWhereUniqueWithoutAppInput = {
|
|
442
|
+
where: Prisma.AnyHubPermissionWhereUniqueInput
|
|
443
|
+
update: Prisma.XOR<Prisma.AnyHubPermissionUpdateWithoutAppInput, Prisma.AnyHubPermissionUncheckedUpdateWithoutAppInput>
|
|
444
|
+
create: Prisma.XOR<Prisma.AnyHubPermissionCreateWithoutAppInput, Prisma.AnyHubPermissionUncheckedCreateWithoutAppInput>
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
export type AnyHubPermissionUpdateWithWhereUniqueWithoutAppInput = {
|
|
448
|
+
where: Prisma.AnyHubPermissionWhereUniqueInput
|
|
449
|
+
data: Prisma.XOR<Prisma.AnyHubPermissionUpdateWithoutAppInput, Prisma.AnyHubPermissionUncheckedUpdateWithoutAppInput>
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
export type AnyHubPermissionUpdateManyWithWhereWithoutAppInput = {
|
|
453
|
+
where: Prisma.AnyHubPermissionScalarWhereInput
|
|
454
|
+
data: Prisma.XOR<Prisma.AnyHubPermissionUpdateManyMutationInput, Prisma.AnyHubPermissionUncheckedUpdateManyWithoutAppInput>
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
export type AnyHubPermissionScalarWhereInput = {
|
|
458
|
+
AND?: Prisma.AnyHubPermissionScalarWhereInput | Prisma.AnyHubPermissionScalarWhereInput[]
|
|
459
|
+
OR?: Prisma.AnyHubPermissionScalarWhereInput[]
|
|
460
|
+
NOT?: Prisma.AnyHubPermissionScalarWhereInput | Prisma.AnyHubPermissionScalarWhereInput[]
|
|
461
|
+
id?: Prisma.StringFilter<"AnyHubPermission"> | string
|
|
462
|
+
appId?: Prisma.StringFilter<"AnyHubPermission"> | string
|
|
463
|
+
capability?: Prisma.StringFilter<"AnyHubPermission"> | string
|
|
464
|
+
granted?: Prisma.BoolFilter<"AnyHubPermission"> | boolean
|
|
465
|
+
userId?: Prisma.StringFilter<"AnyHubPermission"> | string
|
|
466
|
+
createdAt?: Prisma.DateTimeFilter<"AnyHubPermission"> | Date | string
|
|
467
|
+
updatedAt?: Prisma.DateTimeFilter<"AnyHubPermission"> | Date | string
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
export type AnyHubPermissionCreateManyAppInput = {
|
|
471
|
+
id?: string
|
|
472
|
+
capability: string
|
|
473
|
+
granted?: boolean
|
|
474
|
+
userId: string
|
|
475
|
+
createdAt?: Date | string
|
|
476
|
+
updatedAt?: Date | string
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
export type AnyHubPermissionUpdateWithoutAppInput = {
|
|
480
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
481
|
+
capability?: Prisma.StringFieldUpdateOperationsInput | string
|
|
482
|
+
granted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
483
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
484
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
485
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
export type AnyHubPermissionUncheckedUpdateWithoutAppInput = {
|
|
489
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
490
|
+
capability?: Prisma.StringFieldUpdateOperationsInput | string
|
|
491
|
+
granted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
492
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
493
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
494
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
export type AnyHubPermissionUncheckedUpdateManyWithoutAppInput = {
|
|
498
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
499
|
+
capability?: Prisma.StringFieldUpdateOperationsInput | string
|
|
500
|
+
granted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
501
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
502
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
503
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
export type AnyHubPermissionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
509
|
+
id?: boolean
|
|
510
|
+
appId?: boolean
|
|
511
|
+
capability?: boolean
|
|
512
|
+
granted?: boolean
|
|
513
|
+
userId?: boolean
|
|
514
|
+
createdAt?: boolean
|
|
515
|
+
updatedAt?: boolean
|
|
516
|
+
app?: boolean | Prisma.AnyHubAppDefaultArgs<ExtArgs>
|
|
517
|
+
}, ExtArgs["result"]["anyHubPermission"]>
|
|
518
|
+
|
|
519
|
+
export type AnyHubPermissionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
520
|
+
id?: boolean
|
|
521
|
+
appId?: boolean
|
|
522
|
+
capability?: boolean
|
|
523
|
+
granted?: boolean
|
|
524
|
+
userId?: boolean
|
|
525
|
+
createdAt?: boolean
|
|
526
|
+
updatedAt?: boolean
|
|
527
|
+
app?: boolean | Prisma.AnyHubAppDefaultArgs<ExtArgs>
|
|
528
|
+
}, ExtArgs["result"]["anyHubPermission"]>
|
|
529
|
+
|
|
530
|
+
export type AnyHubPermissionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
531
|
+
id?: boolean
|
|
532
|
+
appId?: boolean
|
|
533
|
+
capability?: boolean
|
|
534
|
+
granted?: boolean
|
|
535
|
+
userId?: boolean
|
|
536
|
+
createdAt?: boolean
|
|
537
|
+
updatedAt?: boolean
|
|
538
|
+
app?: boolean | Prisma.AnyHubAppDefaultArgs<ExtArgs>
|
|
539
|
+
}, ExtArgs["result"]["anyHubPermission"]>
|
|
540
|
+
|
|
541
|
+
export type AnyHubPermissionSelectScalar = {
|
|
542
|
+
id?: boolean
|
|
543
|
+
appId?: boolean
|
|
544
|
+
capability?: boolean
|
|
545
|
+
granted?: boolean
|
|
546
|
+
userId?: boolean
|
|
547
|
+
createdAt?: boolean
|
|
548
|
+
updatedAt?: boolean
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
export type AnyHubPermissionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "appId" | "capability" | "granted" | "userId" | "createdAt" | "updatedAt", ExtArgs["result"]["anyHubPermission"]>
|
|
552
|
+
export type AnyHubPermissionInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
553
|
+
app?: boolean | Prisma.AnyHubAppDefaultArgs<ExtArgs>
|
|
554
|
+
}
|
|
555
|
+
export type AnyHubPermissionIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
556
|
+
app?: boolean | Prisma.AnyHubAppDefaultArgs<ExtArgs>
|
|
557
|
+
}
|
|
558
|
+
export type AnyHubPermissionIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
559
|
+
app?: boolean | Prisma.AnyHubAppDefaultArgs<ExtArgs>
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
export type $AnyHubPermissionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
563
|
+
name: "AnyHubPermission"
|
|
564
|
+
objects: {
|
|
565
|
+
app: Prisma.$AnyHubAppPayload<ExtArgs>
|
|
566
|
+
}
|
|
567
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
568
|
+
id: string
|
|
569
|
+
appId: string
|
|
570
|
+
capability: string
|
|
571
|
+
granted: boolean
|
|
572
|
+
userId: string
|
|
573
|
+
createdAt: Date
|
|
574
|
+
updatedAt: Date
|
|
575
|
+
}, ExtArgs["result"]["anyHubPermission"]>
|
|
576
|
+
composites: {}
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
export type AnyHubPermissionGetPayload<S extends boolean | null | undefined | AnyHubPermissionDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AnyHubPermissionPayload, S>
|
|
580
|
+
|
|
581
|
+
export type AnyHubPermissionCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
582
|
+
Omit<AnyHubPermissionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
583
|
+
select?: AnyHubPermissionCountAggregateInputType | true
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
export interface AnyHubPermissionDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
587
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AnyHubPermission'], meta: { name: 'AnyHubPermission' } }
|
|
588
|
+
/**
|
|
589
|
+
* Find zero or one AnyHubPermission that matches the filter.
|
|
590
|
+
* @param {AnyHubPermissionFindUniqueArgs} args - Arguments to find a AnyHubPermission
|
|
591
|
+
* @example
|
|
592
|
+
* // Get one AnyHubPermission
|
|
593
|
+
* const anyHubPermission = await prisma.anyHubPermission.findUnique({
|
|
594
|
+
* where: {
|
|
595
|
+
* // ... provide filter here
|
|
596
|
+
* }
|
|
597
|
+
* })
|
|
598
|
+
*/
|
|
599
|
+
findUnique<T extends AnyHubPermissionFindUniqueArgs>(args: Prisma.SelectSubset<T, AnyHubPermissionFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AnyHubPermissionClient<runtime.Types.Result.GetResult<Prisma.$AnyHubPermissionPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
600
|
+
|
|
601
|
+
/**
|
|
602
|
+
* Find one AnyHubPermission that matches the filter or throw an error with `error.code='P2025'`
|
|
603
|
+
* if no matches were found.
|
|
604
|
+
* @param {AnyHubPermissionFindUniqueOrThrowArgs} args - Arguments to find a AnyHubPermission
|
|
605
|
+
* @example
|
|
606
|
+
* // Get one AnyHubPermission
|
|
607
|
+
* const anyHubPermission = await prisma.anyHubPermission.findUniqueOrThrow({
|
|
608
|
+
* where: {
|
|
609
|
+
* // ... provide filter here
|
|
610
|
+
* }
|
|
611
|
+
* })
|
|
612
|
+
*/
|
|
613
|
+
findUniqueOrThrow<T extends AnyHubPermissionFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AnyHubPermissionFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AnyHubPermissionClient<runtime.Types.Result.GetResult<Prisma.$AnyHubPermissionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
614
|
+
|
|
615
|
+
/**
|
|
616
|
+
* Find the first AnyHubPermission that matches the filter.
|
|
617
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
618
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
619
|
+
* @param {AnyHubPermissionFindFirstArgs} args - Arguments to find a AnyHubPermission
|
|
620
|
+
* @example
|
|
621
|
+
* // Get one AnyHubPermission
|
|
622
|
+
* const anyHubPermission = await prisma.anyHubPermission.findFirst({
|
|
623
|
+
* where: {
|
|
624
|
+
* // ... provide filter here
|
|
625
|
+
* }
|
|
626
|
+
* })
|
|
627
|
+
*/
|
|
628
|
+
findFirst<T extends AnyHubPermissionFindFirstArgs>(args?: Prisma.SelectSubset<T, AnyHubPermissionFindFirstArgs<ExtArgs>>): Prisma.Prisma__AnyHubPermissionClient<runtime.Types.Result.GetResult<Prisma.$AnyHubPermissionPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
629
|
+
|
|
630
|
+
/**
|
|
631
|
+
* Find the first AnyHubPermission that matches the filter or
|
|
632
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
633
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
634
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
635
|
+
* @param {AnyHubPermissionFindFirstOrThrowArgs} args - Arguments to find a AnyHubPermission
|
|
636
|
+
* @example
|
|
637
|
+
* // Get one AnyHubPermission
|
|
638
|
+
* const anyHubPermission = await prisma.anyHubPermission.findFirstOrThrow({
|
|
639
|
+
* where: {
|
|
640
|
+
* // ... provide filter here
|
|
641
|
+
* }
|
|
642
|
+
* })
|
|
643
|
+
*/
|
|
644
|
+
findFirstOrThrow<T extends AnyHubPermissionFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AnyHubPermissionFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AnyHubPermissionClient<runtime.Types.Result.GetResult<Prisma.$AnyHubPermissionPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
645
|
+
|
|
646
|
+
/**
|
|
647
|
+
* Find zero or more AnyHubPermissions that matches the filter.
|
|
648
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
649
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
650
|
+
* @param {AnyHubPermissionFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
651
|
+
* @example
|
|
652
|
+
* // Get all AnyHubPermissions
|
|
653
|
+
* const anyHubPermissions = await prisma.anyHubPermission.findMany()
|
|
654
|
+
*
|
|
655
|
+
* // Get first 10 AnyHubPermissions
|
|
656
|
+
* const anyHubPermissions = await prisma.anyHubPermission.findMany({ take: 10 })
|
|
657
|
+
*
|
|
658
|
+
* // Only select the `id`
|
|
659
|
+
* const anyHubPermissionWithIdOnly = await prisma.anyHubPermission.findMany({ select: { id: true } })
|
|
660
|
+
*
|
|
661
|
+
*/
|
|
662
|
+
findMany<T extends AnyHubPermissionFindManyArgs>(args?: Prisma.SelectSubset<T, AnyHubPermissionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AnyHubPermissionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
663
|
+
|
|
664
|
+
/**
|
|
665
|
+
* Create a AnyHubPermission.
|
|
666
|
+
* @param {AnyHubPermissionCreateArgs} args - Arguments to create a AnyHubPermission.
|
|
667
|
+
* @example
|
|
668
|
+
* // Create one AnyHubPermission
|
|
669
|
+
* const AnyHubPermission = await prisma.anyHubPermission.create({
|
|
670
|
+
* data: {
|
|
671
|
+
* // ... data to create a AnyHubPermission
|
|
672
|
+
* }
|
|
673
|
+
* })
|
|
674
|
+
*
|
|
675
|
+
*/
|
|
676
|
+
create<T extends AnyHubPermissionCreateArgs>(args: Prisma.SelectSubset<T, AnyHubPermissionCreateArgs<ExtArgs>>): Prisma.Prisma__AnyHubPermissionClient<runtime.Types.Result.GetResult<Prisma.$AnyHubPermissionPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
* Create many AnyHubPermissions.
|
|
680
|
+
* @param {AnyHubPermissionCreateManyArgs} args - Arguments to create many AnyHubPermissions.
|
|
681
|
+
* @example
|
|
682
|
+
* // Create many AnyHubPermissions
|
|
683
|
+
* const anyHubPermission = await prisma.anyHubPermission.createMany({
|
|
684
|
+
* data: [
|
|
685
|
+
* // ... provide data here
|
|
686
|
+
* ]
|
|
687
|
+
* })
|
|
688
|
+
*
|
|
689
|
+
*/
|
|
690
|
+
createMany<T extends AnyHubPermissionCreateManyArgs>(args?: Prisma.SelectSubset<T, AnyHubPermissionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
691
|
+
|
|
692
|
+
/**
|
|
693
|
+
* Create many AnyHubPermissions and returns the data saved in the database.
|
|
694
|
+
* @param {AnyHubPermissionCreateManyAndReturnArgs} args - Arguments to create many AnyHubPermissions.
|
|
695
|
+
* @example
|
|
696
|
+
* // Create many AnyHubPermissions
|
|
697
|
+
* const anyHubPermission = await prisma.anyHubPermission.createManyAndReturn({
|
|
698
|
+
* data: [
|
|
699
|
+
* // ... provide data here
|
|
700
|
+
* ]
|
|
701
|
+
* })
|
|
702
|
+
*
|
|
703
|
+
* // Create many AnyHubPermissions and only return the `id`
|
|
704
|
+
* const anyHubPermissionWithIdOnly = await prisma.anyHubPermission.createManyAndReturn({
|
|
705
|
+
* select: { id: true },
|
|
706
|
+
* data: [
|
|
707
|
+
* // ... provide data here
|
|
708
|
+
* ]
|
|
709
|
+
* })
|
|
710
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
711
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
712
|
+
*
|
|
713
|
+
*/
|
|
714
|
+
createManyAndReturn<T extends AnyHubPermissionCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AnyHubPermissionCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AnyHubPermissionPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
* Delete a AnyHubPermission.
|
|
718
|
+
* @param {AnyHubPermissionDeleteArgs} args - Arguments to delete one AnyHubPermission.
|
|
719
|
+
* @example
|
|
720
|
+
* // Delete one AnyHubPermission
|
|
721
|
+
* const AnyHubPermission = await prisma.anyHubPermission.delete({
|
|
722
|
+
* where: {
|
|
723
|
+
* // ... filter to delete one AnyHubPermission
|
|
724
|
+
* }
|
|
725
|
+
* })
|
|
726
|
+
*
|
|
727
|
+
*/
|
|
728
|
+
delete<T extends AnyHubPermissionDeleteArgs>(args: Prisma.SelectSubset<T, AnyHubPermissionDeleteArgs<ExtArgs>>): Prisma.Prisma__AnyHubPermissionClient<runtime.Types.Result.GetResult<Prisma.$AnyHubPermissionPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
729
|
+
|
|
730
|
+
/**
|
|
731
|
+
* Update one AnyHubPermission.
|
|
732
|
+
* @param {AnyHubPermissionUpdateArgs} args - Arguments to update one AnyHubPermission.
|
|
733
|
+
* @example
|
|
734
|
+
* // Update one AnyHubPermission
|
|
735
|
+
* const anyHubPermission = await prisma.anyHubPermission.update({
|
|
736
|
+
* where: {
|
|
737
|
+
* // ... provide filter here
|
|
738
|
+
* },
|
|
739
|
+
* data: {
|
|
740
|
+
* // ... provide data here
|
|
741
|
+
* }
|
|
742
|
+
* })
|
|
743
|
+
*
|
|
744
|
+
*/
|
|
745
|
+
update<T extends AnyHubPermissionUpdateArgs>(args: Prisma.SelectSubset<T, AnyHubPermissionUpdateArgs<ExtArgs>>): Prisma.Prisma__AnyHubPermissionClient<runtime.Types.Result.GetResult<Prisma.$AnyHubPermissionPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
746
|
+
|
|
747
|
+
/**
|
|
748
|
+
* Delete zero or more AnyHubPermissions.
|
|
749
|
+
* @param {AnyHubPermissionDeleteManyArgs} args - Arguments to filter AnyHubPermissions to delete.
|
|
750
|
+
* @example
|
|
751
|
+
* // Delete a few AnyHubPermissions
|
|
752
|
+
* const { count } = await prisma.anyHubPermission.deleteMany({
|
|
753
|
+
* where: {
|
|
754
|
+
* // ... provide filter here
|
|
755
|
+
* }
|
|
756
|
+
* })
|
|
757
|
+
*
|
|
758
|
+
*/
|
|
759
|
+
deleteMany<T extends AnyHubPermissionDeleteManyArgs>(args?: Prisma.SelectSubset<T, AnyHubPermissionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
760
|
+
|
|
761
|
+
/**
|
|
762
|
+
* Update zero or more AnyHubPermissions.
|
|
763
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
764
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
765
|
+
* @param {AnyHubPermissionUpdateManyArgs} args - Arguments to update one or more rows.
|
|
766
|
+
* @example
|
|
767
|
+
* // Update many AnyHubPermissions
|
|
768
|
+
* const anyHubPermission = await prisma.anyHubPermission.updateMany({
|
|
769
|
+
* where: {
|
|
770
|
+
* // ... provide filter here
|
|
771
|
+
* },
|
|
772
|
+
* data: {
|
|
773
|
+
* // ... provide data here
|
|
774
|
+
* }
|
|
775
|
+
* })
|
|
776
|
+
*
|
|
777
|
+
*/
|
|
778
|
+
updateMany<T extends AnyHubPermissionUpdateManyArgs>(args: Prisma.SelectSubset<T, AnyHubPermissionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
779
|
+
|
|
780
|
+
/**
|
|
781
|
+
* Update zero or more AnyHubPermissions and returns the data updated in the database.
|
|
782
|
+
* @param {AnyHubPermissionUpdateManyAndReturnArgs} args - Arguments to update many AnyHubPermissions.
|
|
783
|
+
* @example
|
|
784
|
+
* // Update many AnyHubPermissions
|
|
785
|
+
* const anyHubPermission = await prisma.anyHubPermission.updateManyAndReturn({
|
|
786
|
+
* where: {
|
|
787
|
+
* // ... provide filter here
|
|
788
|
+
* },
|
|
789
|
+
* data: [
|
|
790
|
+
* // ... provide data here
|
|
791
|
+
* ]
|
|
792
|
+
* })
|
|
793
|
+
*
|
|
794
|
+
* // Update zero or more AnyHubPermissions and only return the `id`
|
|
795
|
+
* const anyHubPermissionWithIdOnly = await prisma.anyHubPermission.updateManyAndReturn({
|
|
796
|
+
* select: { id: true },
|
|
797
|
+
* where: {
|
|
798
|
+
* // ... provide filter here
|
|
799
|
+
* },
|
|
800
|
+
* data: [
|
|
801
|
+
* // ... provide data here
|
|
802
|
+
* ]
|
|
803
|
+
* })
|
|
804
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
805
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
806
|
+
*
|
|
807
|
+
*/
|
|
808
|
+
updateManyAndReturn<T extends AnyHubPermissionUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AnyHubPermissionUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AnyHubPermissionPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
809
|
+
|
|
810
|
+
/**
|
|
811
|
+
* Create or update one AnyHubPermission.
|
|
812
|
+
* @param {AnyHubPermissionUpsertArgs} args - Arguments to update or create a AnyHubPermission.
|
|
813
|
+
* @example
|
|
814
|
+
* // Update or create a AnyHubPermission
|
|
815
|
+
* const anyHubPermission = await prisma.anyHubPermission.upsert({
|
|
816
|
+
* create: {
|
|
817
|
+
* // ... data to create a AnyHubPermission
|
|
818
|
+
* },
|
|
819
|
+
* update: {
|
|
820
|
+
* // ... in case it already exists, update
|
|
821
|
+
* },
|
|
822
|
+
* where: {
|
|
823
|
+
* // ... the filter for the AnyHubPermission we want to update
|
|
824
|
+
* }
|
|
825
|
+
* })
|
|
826
|
+
*/
|
|
827
|
+
upsert<T extends AnyHubPermissionUpsertArgs>(args: Prisma.SelectSubset<T, AnyHubPermissionUpsertArgs<ExtArgs>>): Prisma.Prisma__AnyHubPermissionClient<runtime.Types.Result.GetResult<Prisma.$AnyHubPermissionPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
828
|
+
|
|
829
|
+
|
|
830
|
+
/**
|
|
831
|
+
* Count the number of AnyHubPermissions.
|
|
832
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
833
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
834
|
+
* @param {AnyHubPermissionCountArgs} args - Arguments to filter AnyHubPermissions to count.
|
|
835
|
+
* @example
|
|
836
|
+
* // Count the number of AnyHubPermissions
|
|
837
|
+
* const count = await prisma.anyHubPermission.count({
|
|
838
|
+
* where: {
|
|
839
|
+
* // ... the filter for the AnyHubPermissions we want to count
|
|
840
|
+
* }
|
|
841
|
+
* })
|
|
842
|
+
**/
|
|
843
|
+
count<T extends AnyHubPermissionCountArgs>(
|
|
844
|
+
args?: Prisma.Subset<T, AnyHubPermissionCountArgs>,
|
|
845
|
+
): Prisma.PrismaPromise<
|
|
846
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
847
|
+
? T['select'] extends true
|
|
848
|
+
? number
|
|
849
|
+
: Prisma.GetScalarType<T['select'], AnyHubPermissionCountAggregateOutputType>
|
|
850
|
+
: number
|
|
851
|
+
>
|
|
852
|
+
|
|
853
|
+
/**
|
|
854
|
+
* Allows you to perform aggregations operations on a AnyHubPermission.
|
|
855
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
856
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
857
|
+
* @param {AnyHubPermissionAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
858
|
+
* @example
|
|
859
|
+
* // Ordered by age ascending
|
|
860
|
+
* // Where email contains prisma.io
|
|
861
|
+
* // Limited to the 10 users
|
|
862
|
+
* const aggregations = await prisma.user.aggregate({
|
|
863
|
+
* _avg: {
|
|
864
|
+
* age: true,
|
|
865
|
+
* },
|
|
866
|
+
* where: {
|
|
867
|
+
* email: {
|
|
868
|
+
* contains: "prisma.io",
|
|
869
|
+
* },
|
|
870
|
+
* },
|
|
871
|
+
* orderBy: {
|
|
872
|
+
* age: "asc",
|
|
873
|
+
* },
|
|
874
|
+
* take: 10,
|
|
875
|
+
* })
|
|
876
|
+
**/
|
|
877
|
+
aggregate<T extends AnyHubPermissionAggregateArgs>(args: Prisma.Subset<T, AnyHubPermissionAggregateArgs>): Prisma.PrismaPromise<GetAnyHubPermissionAggregateType<T>>
|
|
878
|
+
|
|
879
|
+
/**
|
|
880
|
+
* Group by AnyHubPermission.
|
|
881
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
882
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
883
|
+
* @param {AnyHubPermissionGroupByArgs} args - Group by arguments.
|
|
884
|
+
* @example
|
|
885
|
+
* // Group by city, order by createdAt, get count
|
|
886
|
+
* const result = await prisma.user.groupBy({
|
|
887
|
+
* by: ['city', 'createdAt'],
|
|
888
|
+
* orderBy: {
|
|
889
|
+
* createdAt: true
|
|
890
|
+
* },
|
|
891
|
+
* _count: {
|
|
892
|
+
* _all: true
|
|
893
|
+
* },
|
|
894
|
+
* })
|
|
895
|
+
*
|
|
896
|
+
**/
|
|
897
|
+
groupBy<
|
|
898
|
+
T extends AnyHubPermissionGroupByArgs,
|
|
899
|
+
HasSelectOrTake extends Prisma.Or<
|
|
900
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
901
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
902
|
+
>,
|
|
903
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
904
|
+
? { orderBy: AnyHubPermissionGroupByArgs['orderBy'] }
|
|
905
|
+
: { orderBy?: AnyHubPermissionGroupByArgs['orderBy'] },
|
|
906
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
907
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
908
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
909
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
910
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
911
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
912
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
913
|
+
? `Error: "by" must not be empty.`
|
|
914
|
+
: HavingValid extends Prisma.False
|
|
915
|
+
? {
|
|
916
|
+
[P in HavingFields]: P extends ByFields
|
|
917
|
+
? never
|
|
918
|
+
: P extends string
|
|
919
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
920
|
+
: [
|
|
921
|
+
Error,
|
|
922
|
+
'Field ',
|
|
923
|
+
P,
|
|
924
|
+
` in "having" needs to be provided in "by"`,
|
|
925
|
+
]
|
|
926
|
+
}[HavingFields]
|
|
927
|
+
: 'take' extends Prisma.Keys<T>
|
|
928
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
929
|
+
? ByValid extends Prisma.True
|
|
930
|
+
? {}
|
|
931
|
+
: {
|
|
932
|
+
[P in OrderFields]: P extends ByFields
|
|
933
|
+
? never
|
|
934
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
935
|
+
}[OrderFields]
|
|
936
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
937
|
+
: 'skip' 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 "skip", you also need to provide "orderBy"'
|
|
947
|
+
: ByValid extends Prisma.True
|
|
948
|
+
? {}
|
|
949
|
+
: {
|
|
950
|
+
[P in OrderFields]: P extends ByFields
|
|
951
|
+
? never
|
|
952
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
953
|
+
}[OrderFields]
|
|
954
|
+
>(args: Prisma.SubsetIntersection<T, AnyHubPermissionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAnyHubPermissionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
955
|
+
/**
|
|
956
|
+
* Fields of the AnyHubPermission model
|
|
957
|
+
*/
|
|
958
|
+
readonly fields: AnyHubPermissionFieldRefs;
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
/**
|
|
962
|
+
* The delegate class that acts as a "Promise-like" for AnyHubPermission.
|
|
963
|
+
* Why is this prefixed with `Prisma__`?
|
|
964
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
965
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
966
|
+
*/
|
|
967
|
+
export interface Prisma__AnyHubPermissionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
968
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
969
|
+
app<T extends Prisma.AnyHubAppDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AnyHubAppDefaultArgs<ExtArgs>>): Prisma.Prisma__AnyHubAppClient<runtime.Types.Result.GetResult<Prisma.$AnyHubAppPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
970
|
+
/**
|
|
971
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
972
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
973
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
974
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
975
|
+
*/
|
|
976
|
+
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>
|
|
977
|
+
/**
|
|
978
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
979
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
980
|
+
* @returns A Promise for the completion of the callback.
|
|
981
|
+
*/
|
|
982
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
983
|
+
/**
|
|
984
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
985
|
+
* resolved value cannot be modified from the callback.
|
|
986
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
987
|
+
* @returns A Promise for the completion of the callback.
|
|
988
|
+
*/
|
|
989
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
|
|
993
|
+
|
|
994
|
+
|
|
995
|
+
/**
|
|
996
|
+
* Fields of the AnyHubPermission model
|
|
997
|
+
*/
|
|
998
|
+
export interface AnyHubPermissionFieldRefs {
|
|
999
|
+
readonly id: Prisma.FieldRef<"AnyHubPermission", 'String'>
|
|
1000
|
+
readonly appId: Prisma.FieldRef<"AnyHubPermission", 'String'>
|
|
1001
|
+
readonly capability: Prisma.FieldRef<"AnyHubPermission", 'String'>
|
|
1002
|
+
readonly granted: Prisma.FieldRef<"AnyHubPermission", 'Boolean'>
|
|
1003
|
+
readonly userId: Prisma.FieldRef<"AnyHubPermission", 'String'>
|
|
1004
|
+
readonly createdAt: Prisma.FieldRef<"AnyHubPermission", 'DateTime'>
|
|
1005
|
+
readonly updatedAt: Prisma.FieldRef<"AnyHubPermission", 'DateTime'>
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
|
|
1009
|
+
// Custom InputTypes
|
|
1010
|
+
/**
|
|
1011
|
+
* AnyHubPermission findUnique
|
|
1012
|
+
*/
|
|
1013
|
+
export type AnyHubPermissionFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1014
|
+
/**
|
|
1015
|
+
* Select specific fields to fetch from the AnyHubPermission
|
|
1016
|
+
*/
|
|
1017
|
+
select?: Prisma.AnyHubPermissionSelect<ExtArgs> | null
|
|
1018
|
+
/**
|
|
1019
|
+
* Omit specific fields from the AnyHubPermission
|
|
1020
|
+
*/
|
|
1021
|
+
omit?: Prisma.AnyHubPermissionOmit<ExtArgs> | null
|
|
1022
|
+
/**
|
|
1023
|
+
* Choose, which related nodes to fetch as well
|
|
1024
|
+
*/
|
|
1025
|
+
include?: Prisma.AnyHubPermissionInclude<ExtArgs> | null
|
|
1026
|
+
/**
|
|
1027
|
+
* Filter, which AnyHubPermission to fetch.
|
|
1028
|
+
*/
|
|
1029
|
+
where: Prisma.AnyHubPermissionWhereUniqueInput
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
/**
|
|
1033
|
+
* AnyHubPermission findUniqueOrThrow
|
|
1034
|
+
*/
|
|
1035
|
+
export type AnyHubPermissionFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1036
|
+
/**
|
|
1037
|
+
* Select specific fields to fetch from the AnyHubPermission
|
|
1038
|
+
*/
|
|
1039
|
+
select?: Prisma.AnyHubPermissionSelect<ExtArgs> | null
|
|
1040
|
+
/**
|
|
1041
|
+
* Omit specific fields from the AnyHubPermission
|
|
1042
|
+
*/
|
|
1043
|
+
omit?: Prisma.AnyHubPermissionOmit<ExtArgs> | null
|
|
1044
|
+
/**
|
|
1045
|
+
* Choose, which related nodes to fetch as well
|
|
1046
|
+
*/
|
|
1047
|
+
include?: Prisma.AnyHubPermissionInclude<ExtArgs> | null
|
|
1048
|
+
/**
|
|
1049
|
+
* Filter, which AnyHubPermission to fetch.
|
|
1050
|
+
*/
|
|
1051
|
+
where: Prisma.AnyHubPermissionWhereUniqueInput
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
/**
|
|
1055
|
+
* AnyHubPermission findFirst
|
|
1056
|
+
*/
|
|
1057
|
+
export type AnyHubPermissionFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1058
|
+
/**
|
|
1059
|
+
* Select specific fields to fetch from the AnyHubPermission
|
|
1060
|
+
*/
|
|
1061
|
+
select?: Prisma.AnyHubPermissionSelect<ExtArgs> | null
|
|
1062
|
+
/**
|
|
1063
|
+
* Omit specific fields from the AnyHubPermission
|
|
1064
|
+
*/
|
|
1065
|
+
omit?: Prisma.AnyHubPermissionOmit<ExtArgs> | null
|
|
1066
|
+
/**
|
|
1067
|
+
* Choose, which related nodes to fetch as well
|
|
1068
|
+
*/
|
|
1069
|
+
include?: Prisma.AnyHubPermissionInclude<ExtArgs> | null
|
|
1070
|
+
/**
|
|
1071
|
+
* Filter, which AnyHubPermission to fetch.
|
|
1072
|
+
*/
|
|
1073
|
+
where?: Prisma.AnyHubPermissionWhereInput
|
|
1074
|
+
/**
|
|
1075
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1076
|
+
*
|
|
1077
|
+
* Determine the order of AnyHubPermissions to fetch.
|
|
1078
|
+
*/
|
|
1079
|
+
orderBy?: Prisma.AnyHubPermissionOrderByWithRelationInput | Prisma.AnyHubPermissionOrderByWithRelationInput[]
|
|
1080
|
+
/**
|
|
1081
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1082
|
+
*
|
|
1083
|
+
* Sets the position for searching for AnyHubPermissions.
|
|
1084
|
+
*/
|
|
1085
|
+
cursor?: Prisma.AnyHubPermissionWhereUniqueInput
|
|
1086
|
+
/**
|
|
1087
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1088
|
+
*
|
|
1089
|
+
* Take `±n` AnyHubPermissions from the position of the cursor.
|
|
1090
|
+
*/
|
|
1091
|
+
take?: number
|
|
1092
|
+
/**
|
|
1093
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1094
|
+
*
|
|
1095
|
+
* Skip the first `n` AnyHubPermissions.
|
|
1096
|
+
*/
|
|
1097
|
+
skip?: number
|
|
1098
|
+
/**
|
|
1099
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1100
|
+
*
|
|
1101
|
+
* Filter by unique combinations of AnyHubPermissions.
|
|
1102
|
+
*/
|
|
1103
|
+
distinct?: Prisma.AnyHubPermissionScalarFieldEnum | Prisma.AnyHubPermissionScalarFieldEnum[]
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
/**
|
|
1107
|
+
* AnyHubPermission findFirstOrThrow
|
|
1108
|
+
*/
|
|
1109
|
+
export type AnyHubPermissionFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1110
|
+
/**
|
|
1111
|
+
* Select specific fields to fetch from the AnyHubPermission
|
|
1112
|
+
*/
|
|
1113
|
+
select?: Prisma.AnyHubPermissionSelect<ExtArgs> | null
|
|
1114
|
+
/**
|
|
1115
|
+
* Omit specific fields from the AnyHubPermission
|
|
1116
|
+
*/
|
|
1117
|
+
omit?: Prisma.AnyHubPermissionOmit<ExtArgs> | null
|
|
1118
|
+
/**
|
|
1119
|
+
* Choose, which related nodes to fetch as well
|
|
1120
|
+
*/
|
|
1121
|
+
include?: Prisma.AnyHubPermissionInclude<ExtArgs> | null
|
|
1122
|
+
/**
|
|
1123
|
+
* Filter, which AnyHubPermission to fetch.
|
|
1124
|
+
*/
|
|
1125
|
+
where?: Prisma.AnyHubPermissionWhereInput
|
|
1126
|
+
/**
|
|
1127
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1128
|
+
*
|
|
1129
|
+
* Determine the order of AnyHubPermissions to fetch.
|
|
1130
|
+
*/
|
|
1131
|
+
orderBy?: Prisma.AnyHubPermissionOrderByWithRelationInput | Prisma.AnyHubPermissionOrderByWithRelationInput[]
|
|
1132
|
+
/**
|
|
1133
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1134
|
+
*
|
|
1135
|
+
* Sets the position for searching for AnyHubPermissions.
|
|
1136
|
+
*/
|
|
1137
|
+
cursor?: Prisma.AnyHubPermissionWhereUniqueInput
|
|
1138
|
+
/**
|
|
1139
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1140
|
+
*
|
|
1141
|
+
* Take `±n` AnyHubPermissions from the position of the cursor.
|
|
1142
|
+
*/
|
|
1143
|
+
take?: number
|
|
1144
|
+
/**
|
|
1145
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1146
|
+
*
|
|
1147
|
+
* Skip the first `n` AnyHubPermissions.
|
|
1148
|
+
*/
|
|
1149
|
+
skip?: number
|
|
1150
|
+
/**
|
|
1151
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1152
|
+
*
|
|
1153
|
+
* Filter by unique combinations of AnyHubPermissions.
|
|
1154
|
+
*/
|
|
1155
|
+
distinct?: Prisma.AnyHubPermissionScalarFieldEnum | Prisma.AnyHubPermissionScalarFieldEnum[]
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
/**
|
|
1159
|
+
* AnyHubPermission findMany
|
|
1160
|
+
*/
|
|
1161
|
+
export type AnyHubPermissionFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1162
|
+
/**
|
|
1163
|
+
* Select specific fields to fetch from the AnyHubPermission
|
|
1164
|
+
*/
|
|
1165
|
+
select?: Prisma.AnyHubPermissionSelect<ExtArgs> | null
|
|
1166
|
+
/**
|
|
1167
|
+
* Omit specific fields from the AnyHubPermission
|
|
1168
|
+
*/
|
|
1169
|
+
omit?: Prisma.AnyHubPermissionOmit<ExtArgs> | null
|
|
1170
|
+
/**
|
|
1171
|
+
* Choose, which related nodes to fetch as well
|
|
1172
|
+
*/
|
|
1173
|
+
include?: Prisma.AnyHubPermissionInclude<ExtArgs> | null
|
|
1174
|
+
/**
|
|
1175
|
+
* Filter, which AnyHubPermissions to fetch.
|
|
1176
|
+
*/
|
|
1177
|
+
where?: Prisma.AnyHubPermissionWhereInput
|
|
1178
|
+
/**
|
|
1179
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1180
|
+
*
|
|
1181
|
+
* Determine the order of AnyHubPermissions to fetch.
|
|
1182
|
+
*/
|
|
1183
|
+
orderBy?: Prisma.AnyHubPermissionOrderByWithRelationInput | Prisma.AnyHubPermissionOrderByWithRelationInput[]
|
|
1184
|
+
/**
|
|
1185
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1186
|
+
*
|
|
1187
|
+
* Sets the position for listing AnyHubPermissions.
|
|
1188
|
+
*/
|
|
1189
|
+
cursor?: Prisma.AnyHubPermissionWhereUniqueInput
|
|
1190
|
+
/**
|
|
1191
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1192
|
+
*
|
|
1193
|
+
* Take `±n` AnyHubPermissions from the position of the cursor.
|
|
1194
|
+
*/
|
|
1195
|
+
take?: number
|
|
1196
|
+
/**
|
|
1197
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1198
|
+
*
|
|
1199
|
+
* Skip the first `n` AnyHubPermissions.
|
|
1200
|
+
*/
|
|
1201
|
+
skip?: number
|
|
1202
|
+
/**
|
|
1203
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1204
|
+
*
|
|
1205
|
+
* Filter by unique combinations of AnyHubPermissions.
|
|
1206
|
+
*/
|
|
1207
|
+
distinct?: Prisma.AnyHubPermissionScalarFieldEnum | Prisma.AnyHubPermissionScalarFieldEnum[]
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
/**
|
|
1211
|
+
* AnyHubPermission create
|
|
1212
|
+
*/
|
|
1213
|
+
export type AnyHubPermissionCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1214
|
+
/**
|
|
1215
|
+
* Select specific fields to fetch from the AnyHubPermission
|
|
1216
|
+
*/
|
|
1217
|
+
select?: Prisma.AnyHubPermissionSelect<ExtArgs> | null
|
|
1218
|
+
/**
|
|
1219
|
+
* Omit specific fields from the AnyHubPermission
|
|
1220
|
+
*/
|
|
1221
|
+
omit?: Prisma.AnyHubPermissionOmit<ExtArgs> | null
|
|
1222
|
+
/**
|
|
1223
|
+
* Choose, which related nodes to fetch as well
|
|
1224
|
+
*/
|
|
1225
|
+
include?: Prisma.AnyHubPermissionInclude<ExtArgs> | null
|
|
1226
|
+
/**
|
|
1227
|
+
* The data needed to create a AnyHubPermission.
|
|
1228
|
+
*/
|
|
1229
|
+
data: Prisma.XOR<Prisma.AnyHubPermissionCreateInput, Prisma.AnyHubPermissionUncheckedCreateInput>
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1232
|
+
/**
|
|
1233
|
+
* AnyHubPermission createMany
|
|
1234
|
+
*/
|
|
1235
|
+
export type AnyHubPermissionCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1236
|
+
/**
|
|
1237
|
+
* The data used to create many AnyHubPermissions.
|
|
1238
|
+
*/
|
|
1239
|
+
data: Prisma.AnyHubPermissionCreateManyInput | Prisma.AnyHubPermissionCreateManyInput[]
|
|
1240
|
+
skipDuplicates?: boolean
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
/**
|
|
1244
|
+
* AnyHubPermission createManyAndReturn
|
|
1245
|
+
*/
|
|
1246
|
+
export type AnyHubPermissionCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1247
|
+
/**
|
|
1248
|
+
* Select specific fields to fetch from the AnyHubPermission
|
|
1249
|
+
*/
|
|
1250
|
+
select?: Prisma.AnyHubPermissionSelectCreateManyAndReturn<ExtArgs> | null
|
|
1251
|
+
/**
|
|
1252
|
+
* Omit specific fields from the AnyHubPermission
|
|
1253
|
+
*/
|
|
1254
|
+
omit?: Prisma.AnyHubPermissionOmit<ExtArgs> | null
|
|
1255
|
+
/**
|
|
1256
|
+
* The data used to create many AnyHubPermissions.
|
|
1257
|
+
*/
|
|
1258
|
+
data: Prisma.AnyHubPermissionCreateManyInput | Prisma.AnyHubPermissionCreateManyInput[]
|
|
1259
|
+
skipDuplicates?: boolean
|
|
1260
|
+
/**
|
|
1261
|
+
* Choose, which related nodes to fetch as well
|
|
1262
|
+
*/
|
|
1263
|
+
include?: Prisma.AnyHubPermissionIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
/**
|
|
1267
|
+
* AnyHubPermission update
|
|
1268
|
+
*/
|
|
1269
|
+
export type AnyHubPermissionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1270
|
+
/**
|
|
1271
|
+
* Select specific fields to fetch from the AnyHubPermission
|
|
1272
|
+
*/
|
|
1273
|
+
select?: Prisma.AnyHubPermissionSelect<ExtArgs> | null
|
|
1274
|
+
/**
|
|
1275
|
+
* Omit specific fields from the AnyHubPermission
|
|
1276
|
+
*/
|
|
1277
|
+
omit?: Prisma.AnyHubPermissionOmit<ExtArgs> | null
|
|
1278
|
+
/**
|
|
1279
|
+
* Choose, which related nodes to fetch as well
|
|
1280
|
+
*/
|
|
1281
|
+
include?: Prisma.AnyHubPermissionInclude<ExtArgs> | null
|
|
1282
|
+
/**
|
|
1283
|
+
* The data needed to update a AnyHubPermission.
|
|
1284
|
+
*/
|
|
1285
|
+
data: Prisma.XOR<Prisma.AnyHubPermissionUpdateInput, Prisma.AnyHubPermissionUncheckedUpdateInput>
|
|
1286
|
+
/**
|
|
1287
|
+
* Choose, which AnyHubPermission to update.
|
|
1288
|
+
*/
|
|
1289
|
+
where: Prisma.AnyHubPermissionWhereUniqueInput
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1292
|
+
/**
|
|
1293
|
+
* AnyHubPermission updateMany
|
|
1294
|
+
*/
|
|
1295
|
+
export type AnyHubPermissionUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1296
|
+
/**
|
|
1297
|
+
* The data used to update AnyHubPermissions.
|
|
1298
|
+
*/
|
|
1299
|
+
data: Prisma.XOR<Prisma.AnyHubPermissionUpdateManyMutationInput, Prisma.AnyHubPermissionUncheckedUpdateManyInput>
|
|
1300
|
+
/**
|
|
1301
|
+
* Filter which AnyHubPermissions to update
|
|
1302
|
+
*/
|
|
1303
|
+
where?: Prisma.AnyHubPermissionWhereInput
|
|
1304
|
+
/**
|
|
1305
|
+
* Limit how many AnyHubPermissions to update.
|
|
1306
|
+
*/
|
|
1307
|
+
limit?: number
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
/**
|
|
1311
|
+
* AnyHubPermission updateManyAndReturn
|
|
1312
|
+
*/
|
|
1313
|
+
export type AnyHubPermissionUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1314
|
+
/**
|
|
1315
|
+
* Select specific fields to fetch from the AnyHubPermission
|
|
1316
|
+
*/
|
|
1317
|
+
select?: Prisma.AnyHubPermissionSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1318
|
+
/**
|
|
1319
|
+
* Omit specific fields from the AnyHubPermission
|
|
1320
|
+
*/
|
|
1321
|
+
omit?: Prisma.AnyHubPermissionOmit<ExtArgs> | null
|
|
1322
|
+
/**
|
|
1323
|
+
* The data used to update AnyHubPermissions.
|
|
1324
|
+
*/
|
|
1325
|
+
data: Prisma.XOR<Prisma.AnyHubPermissionUpdateManyMutationInput, Prisma.AnyHubPermissionUncheckedUpdateManyInput>
|
|
1326
|
+
/**
|
|
1327
|
+
* Filter which AnyHubPermissions to update
|
|
1328
|
+
*/
|
|
1329
|
+
where?: Prisma.AnyHubPermissionWhereInput
|
|
1330
|
+
/**
|
|
1331
|
+
* Limit how many AnyHubPermissions to update.
|
|
1332
|
+
*/
|
|
1333
|
+
limit?: number
|
|
1334
|
+
/**
|
|
1335
|
+
* Choose, which related nodes to fetch as well
|
|
1336
|
+
*/
|
|
1337
|
+
include?: Prisma.AnyHubPermissionIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
/**
|
|
1341
|
+
* AnyHubPermission upsert
|
|
1342
|
+
*/
|
|
1343
|
+
export type AnyHubPermissionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1344
|
+
/**
|
|
1345
|
+
* Select specific fields to fetch from the AnyHubPermission
|
|
1346
|
+
*/
|
|
1347
|
+
select?: Prisma.AnyHubPermissionSelect<ExtArgs> | null
|
|
1348
|
+
/**
|
|
1349
|
+
* Omit specific fields from the AnyHubPermission
|
|
1350
|
+
*/
|
|
1351
|
+
omit?: Prisma.AnyHubPermissionOmit<ExtArgs> | null
|
|
1352
|
+
/**
|
|
1353
|
+
* Choose, which related nodes to fetch as well
|
|
1354
|
+
*/
|
|
1355
|
+
include?: Prisma.AnyHubPermissionInclude<ExtArgs> | null
|
|
1356
|
+
/**
|
|
1357
|
+
* The filter to search for the AnyHubPermission to update in case it exists.
|
|
1358
|
+
*/
|
|
1359
|
+
where: Prisma.AnyHubPermissionWhereUniqueInput
|
|
1360
|
+
/**
|
|
1361
|
+
* In case the AnyHubPermission found by the `where` argument doesn't exist, create a new AnyHubPermission with this data.
|
|
1362
|
+
*/
|
|
1363
|
+
create: Prisma.XOR<Prisma.AnyHubPermissionCreateInput, Prisma.AnyHubPermissionUncheckedCreateInput>
|
|
1364
|
+
/**
|
|
1365
|
+
* In case the AnyHubPermission was found with the provided `where` argument, update it with this data.
|
|
1366
|
+
*/
|
|
1367
|
+
update: Prisma.XOR<Prisma.AnyHubPermissionUpdateInput, Prisma.AnyHubPermissionUncheckedUpdateInput>
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1370
|
+
/**
|
|
1371
|
+
* AnyHubPermission delete
|
|
1372
|
+
*/
|
|
1373
|
+
export type AnyHubPermissionDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1374
|
+
/**
|
|
1375
|
+
* Select specific fields to fetch from the AnyHubPermission
|
|
1376
|
+
*/
|
|
1377
|
+
select?: Prisma.AnyHubPermissionSelect<ExtArgs> | null
|
|
1378
|
+
/**
|
|
1379
|
+
* Omit specific fields from the AnyHubPermission
|
|
1380
|
+
*/
|
|
1381
|
+
omit?: Prisma.AnyHubPermissionOmit<ExtArgs> | null
|
|
1382
|
+
/**
|
|
1383
|
+
* Choose, which related nodes to fetch as well
|
|
1384
|
+
*/
|
|
1385
|
+
include?: Prisma.AnyHubPermissionInclude<ExtArgs> | null
|
|
1386
|
+
/**
|
|
1387
|
+
* Filter which AnyHubPermission to delete.
|
|
1388
|
+
*/
|
|
1389
|
+
where: Prisma.AnyHubPermissionWhereUniqueInput
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1392
|
+
/**
|
|
1393
|
+
* AnyHubPermission deleteMany
|
|
1394
|
+
*/
|
|
1395
|
+
export type AnyHubPermissionDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1396
|
+
/**
|
|
1397
|
+
* Filter which AnyHubPermissions to delete
|
|
1398
|
+
*/
|
|
1399
|
+
where?: Prisma.AnyHubPermissionWhereInput
|
|
1400
|
+
/**
|
|
1401
|
+
* Limit how many AnyHubPermissions to delete.
|
|
1402
|
+
*/
|
|
1403
|
+
limit?: number
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
/**
|
|
1407
|
+
* AnyHubPermission without action
|
|
1408
|
+
*/
|
|
1409
|
+
export type AnyHubPermissionDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1410
|
+
/**
|
|
1411
|
+
* Select specific fields to fetch from the AnyHubPermission
|
|
1412
|
+
*/
|
|
1413
|
+
select?: Prisma.AnyHubPermissionSelect<ExtArgs> | null
|
|
1414
|
+
/**
|
|
1415
|
+
* Omit specific fields from the AnyHubPermission
|
|
1416
|
+
*/
|
|
1417
|
+
omit?: Prisma.AnyHubPermissionOmit<ExtArgs> | null
|
|
1418
|
+
/**
|
|
1419
|
+
* Choose, which related nodes to fetch as well
|
|
1420
|
+
*/
|
|
1421
|
+
include?: Prisma.AnyHubPermissionInclude<ExtArgs> | null
|
|
1422
|
+
}
|