@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,1217 @@
|
|
|
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 `SystemSetting` 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 SystemSetting
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type SystemSettingModel = runtime.Types.Result.DefaultSelection<Prisma.$SystemSettingPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateSystemSetting = {
|
|
22
|
+
_count: SystemSettingCountAggregateOutputType | null
|
|
23
|
+
_min: SystemSettingMinAggregateOutputType | null
|
|
24
|
+
_max: SystemSettingMaxAggregateOutputType | null
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type SystemSettingMinAggregateOutputType = {
|
|
28
|
+
id: string | null
|
|
29
|
+
key: string | null
|
|
30
|
+
value: string | null
|
|
31
|
+
category: string | null
|
|
32
|
+
desc: string | null
|
|
33
|
+
createdAt: Date | null
|
|
34
|
+
updatedAt: Date | null
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type SystemSettingMaxAggregateOutputType = {
|
|
38
|
+
id: string | null
|
|
39
|
+
key: string | null
|
|
40
|
+
value: string | null
|
|
41
|
+
category: string | null
|
|
42
|
+
desc: string | null
|
|
43
|
+
createdAt: Date | null
|
|
44
|
+
updatedAt: Date | null
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export type SystemSettingCountAggregateOutputType = {
|
|
48
|
+
id: number
|
|
49
|
+
key: number
|
|
50
|
+
value: number
|
|
51
|
+
category: number
|
|
52
|
+
desc: number
|
|
53
|
+
createdAt: number
|
|
54
|
+
updatedAt: number
|
|
55
|
+
_all: number
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
export type SystemSettingMinAggregateInputType = {
|
|
60
|
+
id?: true
|
|
61
|
+
key?: true
|
|
62
|
+
value?: true
|
|
63
|
+
category?: true
|
|
64
|
+
desc?: true
|
|
65
|
+
createdAt?: true
|
|
66
|
+
updatedAt?: true
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export type SystemSettingMaxAggregateInputType = {
|
|
70
|
+
id?: true
|
|
71
|
+
key?: true
|
|
72
|
+
value?: true
|
|
73
|
+
category?: true
|
|
74
|
+
desc?: true
|
|
75
|
+
createdAt?: true
|
|
76
|
+
updatedAt?: true
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export type SystemSettingCountAggregateInputType = {
|
|
80
|
+
id?: true
|
|
81
|
+
key?: true
|
|
82
|
+
value?: true
|
|
83
|
+
category?: true
|
|
84
|
+
desc?: true
|
|
85
|
+
createdAt?: true
|
|
86
|
+
updatedAt?: true
|
|
87
|
+
_all?: true
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export type SystemSettingAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
91
|
+
/**
|
|
92
|
+
* Filter which SystemSetting to aggregate.
|
|
93
|
+
*/
|
|
94
|
+
where?: Prisma.SystemSettingWhereInput
|
|
95
|
+
/**
|
|
96
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
97
|
+
*
|
|
98
|
+
* Determine the order of SystemSettings to fetch.
|
|
99
|
+
*/
|
|
100
|
+
orderBy?: Prisma.SystemSettingOrderByWithRelationInput | Prisma.SystemSettingOrderByWithRelationInput[]
|
|
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.SystemSettingWhereUniqueInput
|
|
107
|
+
/**
|
|
108
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
109
|
+
*
|
|
110
|
+
* Take `±n` SystemSettings 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` SystemSettings.
|
|
117
|
+
*/
|
|
118
|
+
skip?: number
|
|
119
|
+
/**
|
|
120
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
121
|
+
*
|
|
122
|
+
* Count returned SystemSettings
|
|
123
|
+
**/
|
|
124
|
+
_count?: true | SystemSettingCountAggregateInputType
|
|
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?: SystemSettingMinAggregateInputType
|
|
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?: SystemSettingMaxAggregateInputType
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export type GetSystemSettingAggregateType<T extends SystemSettingAggregateArgs> = {
|
|
140
|
+
[P in keyof T & keyof AggregateSystemSetting]: P extends '_count' | 'count'
|
|
141
|
+
? T[P] extends true
|
|
142
|
+
? number
|
|
143
|
+
: Prisma.GetScalarType<T[P], AggregateSystemSetting[P]>
|
|
144
|
+
: Prisma.GetScalarType<T[P], AggregateSystemSetting[P]>
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
export type SystemSettingGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
151
|
+
where?: Prisma.SystemSettingWhereInput
|
|
152
|
+
orderBy?: Prisma.SystemSettingOrderByWithAggregationInput | Prisma.SystemSettingOrderByWithAggregationInput[]
|
|
153
|
+
by: Prisma.SystemSettingScalarFieldEnum[] | Prisma.SystemSettingScalarFieldEnum
|
|
154
|
+
having?: Prisma.SystemSettingScalarWhereWithAggregatesInput
|
|
155
|
+
take?: number
|
|
156
|
+
skip?: number
|
|
157
|
+
_count?: SystemSettingCountAggregateInputType | true
|
|
158
|
+
_min?: SystemSettingMinAggregateInputType
|
|
159
|
+
_max?: SystemSettingMaxAggregateInputType
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
export type SystemSettingGroupByOutputType = {
|
|
163
|
+
id: string
|
|
164
|
+
key: string
|
|
165
|
+
value: string
|
|
166
|
+
category: string
|
|
167
|
+
desc: string | null
|
|
168
|
+
createdAt: Date
|
|
169
|
+
updatedAt: Date
|
|
170
|
+
_count: SystemSettingCountAggregateOutputType | null
|
|
171
|
+
_min: SystemSettingMinAggregateOutputType | null
|
|
172
|
+
_max: SystemSettingMaxAggregateOutputType | null
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export type GetSystemSettingGroupByPayload<T extends SystemSettingGroupByArgs> = Prisma.PrismaPromise<
|
|
176
|
+
Array<
|
|
177
|
+
Prisma.PickEnumerable<SystemSettingGroupByOutputType, T['by']> &
|
|
178
|
+
{
|
|
179
|
+
[P in ((keyof T) & (keyof SystemSettingGroupByOutputType))]: P extends '_count'
|
|
180
|
+
? T[P] extends boolean
|
|
181
|
+
? number
|
|
182
|
+
: Prisma.GetScalarType<T[P], SystemSettingGroupByOutputType[P]>
|
|
183
|
+
: Prisma.GetScalarType<T[P], SystemSettingGroupByOutputType[P]>
|
|
184
|
+
}
|
|
185
|
+
>
|
|
186
|
+
>
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
export type SystemSettingWhereInput = {
|
|
191
|
+
AND?: Prisma.SystemSettingWhereInput | Prisma.SystemSettingWhereInput[]
|
|
192
|
+
OR?: Prisma.SystemSettingWhereInput[]
|
|
193
|
+
NOT?: Prisma.SystemSettingWhereInput | Prisma.SystemSettingWhereInput[]
|
|
194
|
+
id?: Prisma.StringFilter<"SystemSetting"> | string
|
|
195
|
+
key?: Prisma.StringFilter<"SystemSetting"> | string
|
|
196
|
+
value?: Prisma.StringFilter<"SystemSetting"> | string
|
|
197
|
+
category?: Prisma.StringFilter<"SystemSetting"> | string
|
|
198
|
+
desc?: Prisma.StringNullableFilter<"SystemSetting"> | string | null
|
|
199
|
+
createdAt?: Prisma.DateTimeFilter<"SystemSetting"> | Date | string
|
|
200
|
+
updatedAt?: Prisma.DateTimeFilter<"SystemSetting"> | Date | string
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
export type SystemSettingOrderByWithRelationInput = {
|
|
204
|
+
id?: Prisma.SortOrder
|
|
205
|
+
key?: Prisma.SortOrder
|
|
206
|
+
value?: Prisma.SortOrder
|
|
207
|
+
category?: Prisma.SortOrder
|
|
208
|
+
desc?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
209
|
+
createdAt?: Prisma.SortOrder
|
|
210
|
+
updatedAt?: Prisma.SortOrder
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
export type SystemSettingWhereUniqueInput = Prisma.AtLeast<{
|
|
214
|
+
id?: string
|
|
215
|
+
key?: string
|
|
216
|
+
AND?: Prisma.SystemSettingWhereInput | Prisma.SystemSettingWhereInput[]
|
|
217
|
+
OR?: Prisma.SystemSettingWhereInput[]
|
|
218
|
+
NOT?: Prisma.SystemSettingWhereInput | Prisma.SystemSettingWhereInput[]
|
|
219
|
+
value?: Prisma.StringFilter<"SystemSetting"> | string
|
|
220
|
+
category?: Prisma.StringFilter<"SystemSetting"> | string
|
|
221
|
+
desc?: Prisma.StringNullableFilter<"SystemSetting"> | string | null
|
|
222
|
+
createdAt?: Prisma.DateTimeFilter<"SystemSetting"> | Date | string
|
|
223
|
+
updatedAt?: Prisma.DateTimeFilter<"SystemSetting"> | Date | string
|
|
224
|
+
}, "id" | "key">
|
|
225
|
+
|
|
226
|
+
export type SystemSettingOrderByWithAggregationInput = {
|
|
227
|
+
id?: Prisma.SortOrder
|
|
228
|
+
key?: Prisma.SortOrder
|
|
229
|
+
value?: Prisma.SortOrder
|
|
230
|
+
category?: Prisma.SortOrder
|
|
231
|
+
desc?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
232
|
+
createdAt?: Prisma.SortOrder
|
|
233
|
+
updatedAt?: Prisma.SortOrder
|
|
234
|
+
_count?: Prisma.SystemSettingCountOrderByAggregateInput
|
|
235
|
+
_max?: Prisma.SystemSettingMaxOrderByAggregateInput
|
|
236
|
+
_min?: Prisma.SystemSettingMinOrderByAggregateInput
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
export type SystemSettingScalarWhereWithAggregatesInput = {
|
|
240
|
+
AND?: Prisma.SystemSettingScalarWhereWithAggregatesInput | Prisma.SystemSettingScalarWhereWithAggregatesInput[]
|
|
241
|
+
OR?: Prisma.SystemSettingScalarWhereWithAggregatesInput[]
|
|
242
|
+
NOT?: Prisma.SystemSettingScalarWhereWithAggregatesInput | Prisma.SystemSettingScalarWhereWithAggregatesInput[]
|
|
243
|
+
id?: Prisma.StringWithAggregatesFilter<"SystemSetting"> | string
|
|
244
|
+
key?: Prisma.StringWithAggregatesFilter<"SystemSetting"> | string
|
|
245
|
+
value?: Prisma.StringWithAggregatesFilter<"SystemSetting"> | string
|
|
246
|
+
category?: Prisma.StringWithAggregatesFilter<"SystemSetting"> | string
|
|
247
|
+
desc?: Prisma.StringNullableWithAggregatesFilter<"SystemSetting"> | string | null
|
|
248
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"SystemSetting"> | Date | string
|
|
249
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"SystemSetting"> | Date | string
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
export type SystemSettingCreateInput = {
|
|
253
|
+
id?: string
|
|
254
|
+
key: string
|
|
255
|
+
value: string
|
|
256
|
+
category?: string
|
|
257
|
+
desc?: string | null
|
|
258
|
+
createdAt?: Date | string
|
|
259
|
+
updatedAt?: Date | string
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
export type SystemSettingUncheckedCreateInput = {
|
|
263
|
+
id?: string
|
|
264
|
+
key: string
|
|
265
|
+
value: string
|
|
266
|
+
category?: string
|
|
267
|
+
desc?: string | null
|
|
268
|
+
createdAt?: Date | string
|
|
269
|
+
updatedAt?: Date | string
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
export type SystemSettingUpdateInput = {
|
|
273
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
274
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string
|
|
275
|
+
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
276
|
+
category?: Prisma.StringFieldUpdateOperationsInput | string
|
|
277
|
+
desc?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
278
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
279
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
export type SystemSettingUncheckedUpdateInput = {
|
|
283
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
284
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string
|
|
285
|
+
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
286
|
+
category?: Prisma.StringFieldUpdateOperationsInput | string
|
|
287
|
+
desc?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
288
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
289
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
export type SystemSettingCreateManyInput = {
|
|
293
|
+
id?: string
|
|
294
|
+
key: string
|
|
295
|
+
value: string
|
|
296
|
+
category?: string
|
|
297
|
+
desc?: string | null
|
|
298
|
+
createdAt?: Date | string
|
|
299
|
+
updatedAt?: Date | string
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
export type SystemSettingUpdateManyMutationInput = {
|
|
303
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
304
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string
|
|
305
|
+
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
306
|
+
category?: Prisma.StringFieldUpdateOperationsInput | string
|
|
307
|
+
desc?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
308
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
309
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
export type SystemSettingUncheckedUpdateManyInput = {
|
|
313
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
314
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string
|
|
315
|
+
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
316
|
+
category?: Prisma.StringFieldUpdateOperationsInput | string
|
|
317
|
+
desc?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
318
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
319
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
export type SystemSettingCountOrderByAggregateInput = {
|
|
323
|
+
id?: Prisma.SortOrder
|
|
324
|
+
key?: Prisma.SortOrder
|
|
325
|
+
value?: Prisma.SortOrder
|
|
326
|
+
category?: Prisma.SortOrder
|
|
327
|
+
desc?: Prisma.SortOrder
|
|
328
|
+
createdAt?: Prisma.SortOrder
|
|
329
|
+
updatedAt?: Prisma.SortOrder
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
export type SystemSettingMaxOrderByAggregateInput = {
|
|
333
|
+
id?: Prisma.SortOrder
|
|
334
|
+
key?: Prisma.SortOrder
|
|
335
|
+
value?: Prisma.SortOrder
|
|
336
|
+
category?: Prisma.SortOrder
|
|
337
|
+
desc?: Prisma.SortOrder
|
|
338
|
+
createdAt?: Prisma.SortOrder
|
|
339
|
+
updatedAt?: Prisma.SortOrder
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
export type SystemSettingMinOrderByAggregateInput = {
|
|
343
|
+
id?: Prisma.SortOrder
|
|
344
|
+
key?: Prisma.SortOrder
|
|
345
|
+
value?: Prisma.SortOrder
|
|
346
|
+
category?: Prisma.SortOrder
|
|
347
|
+
desc?: Prisma.SortOrder
|
|
348
|
+
createdAt?: Prisma.SortOrder
|
|
349
|
+
updatedAt?: Prisma.SortOrder
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
export type StringFieldUpdateOperationsInput = {
|
|
353
|
+
set?: string
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
export type NullableStringFieldUpdateOperationsInput = {
|
|
357
|
+
set?: string | null
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
export type DateTimeFieldUpdateOperationsInput = {
|
|
361
|
+
set?: Date | string
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
export type SystemSettingSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
367
|
+
id?: boolean
|
|
368
|
+
key?: boolean
|
|
369
|
+
value?: boolean
|
|
370
|
+
category?: boolean
|
|
371
|
+
desc?: boolean
|
|
372
|
+
createdAt?: boolean
|
|
373
|
+
updatedAt?: boolean
|
|
374
|
+
}, ExtArgs["result"]["systemSetting"]>
|
|
375
|
+
|
|
376
|
+
export type SystemSettingSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
377
|
+
id?: boolean
|
|
378
|
+
key?: boolean
|
|
379
|
+
value?: boolean
|
|
380
|
+
category?: boolean
|
|
381
|
+
desc?: boolean
|
|
382
|
+
createdAt?: boolean
|
|
383
|
+
updatedAt?: boolean
|
|
384
|
+
}, ExtArgs["result"]["systemSetting"]>
|
|
385
|
+
|
|
386
|
+
export type SystemSettingSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
387
|
+
id?: boolean
|
|
388
|
+
key?: boolean
|
|
389
|
+
value?: boolean
|
|
390
|
+
category?: boolean
|
|
391
|
+
desc?: boolean
|
|
392
|
+
createdAt?: boolean
|
|
393
|
+
updatedAt?: boolean
|
|
394
|
+
}, ExtArgs["result"]["systemSetting"]>
|
|
395
|
+
|
|
396
|
+
export type SystemSettingSelectScalar = {
|
|
397
|
+
id?: boolean
|
|
398
|
+
key?: boolean
|
|
399
|
+
value?: boolean
|
|
400
|
+
category?: boolean
|
|
401
|
+
desc?: boolean
|
|
402
|
+
createdAt?: boolean
|
|
403
|
+
updatedAt?: boolean
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
export type SystemSettingOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "key" | "value" | "category" | "desc" | "createdAt" | "updatedAt", ExtArgs["result"]["systemSetting"]>
|
|
407
|
+
|
|
408
|
+
export type $SystemSettingPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
409
|
+
name: "SystemSetting"
|
|
410
|
+
objects: {}
|
|
411
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
412
|
+
id: string
|
|
413
|
+
key: string
|
|
414
|
+
value: string
|
|
415
|
+
category: string
|
|
416
|
+
desc: string | null
|
|
417
|
+
createdAt: Date
|
|
418
|
+
updatedAt: Date
|
|
419
|
+
}, ExtArgs["result"]["systemSetting"]>
|
|
420
|
+
composites: {}
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
export type SystemSettingGetPayload<S extends boolean | null | undefined | SystemSettingDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$SystemSettingPayload, S>
|
|
424
|
+
|
|
425
|
+
export type SystemSettingCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
426
|
+
Omit<SystemSettingFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
427
|
+
select?: SystemSettingCountAggregateInputType | true
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
export interface SystemSettingDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
431
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['SystemSetting'], meta: { name: 'SystemSetting' } }
|
|
432
|
+
/**
|
|
433
|
+
* Find zero or one SystemSetting that matches the filter.
|
|
434
|
+
* @param {SystemSettingFindUniqueArgs} args - Arguments to find a SystemSetting
|
|
435
|
+
* @example
|
|
436
|
+
* // Get one SystemSetting
|
|
437
|
+
* const systemSetting = await prisma.systemSetting.findUnique({
|
|
438
|
+
* where: {
|
|
439
|
+
* // ... provide filter here
|
|
440
|
+
* }
|
|
441
|
+
* })
|
|
442
|
+
*/
|
|
443
|
+
findUnique<T extends SystemSettingFindUniqueArgs>(args: Prisma.SelectSubset<T, SystemSettingFindUniqueArgs<ExtArgs>>): Prisma.Prisma__SystemSettingClient<runtime.Types.Result.GetResult<Prisma.$SystemSettingPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
444
|
+
|
|
445
|
+
/**
|
|
446
|
+
* Find one SystemSetting that matches the filter or throw an error with `error.code='P2025'`
|
|
447
|
+
* if no matches were found.
|
|
448
|
+
* @param {SystemSettingFindUniqueOrThrowArgs} args - Arguments to find a SystemSetting
|
|
449
|
+
* @example
|
|
450
|
+
* // Get one SystemSetting
|
|
451
|
+
* const systemSetting = await prisma.systemSetting.findUniqueOrThrow({
|
|
452
|
+
* where: {
|
|
453
|
+
* // ... provide filter here
|
|
454
|
+
* }
|
|
455
|
+
* })
|
|
456
|
+
*/
|
|
457
|
+
findUniqueOrThrow<T extends SystemSettingFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, SystemSettingFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__SystemSettingClient<runtime.Types.Result.GetResult<Prisma.$SystemSettingPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* Find the first SystemSetting that matches the filter.
|
|
461
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
462
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
463
|
+
* @param {SystemSettingFindFirstArgs} args - Arguments to find a SystemSetting
|
|
464
|
+
* @example
|
|
465
|
+
* // Get one SystemSetting
|
|
466
|
+
* const systemSetting = await prisma.systemSetting.findFirst({
|
|
467
|
+
* where: {
|
|
468
|
+
* // ... provide filter here
|
|
469
|
+
* }
|
|
470
|
+
* })
|
|
471
|
+
*/
|
|
472
|
+
findFirst<T extends SystemSettingFindFirstArgs>(args?: Prisma.SelectSubset<T, SystemSettingFindFirstArgs<ExtArgs>>): Prisma.Prisma__SystemSettingClient<runtime.Types.Result.GetResult<Prisma.$SystemSettingPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* Find the first SystemSetting that matches the filter or
|
|
476
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
477
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
478
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
479
|
+
* @param {SystemSettingFindFirstOrThrowArgs} args - Arguments to find a SystemSetting
|
|
480
|
+
* @example
|
|
481
|
+
* // Get one SystemSetting
|
|
482
|
+
* const systemSetting = await prisma.systemSetting.findFirstOrThrow({
|
|
483
|
+
* where: {
|
|
484
|
+
* // ... provide filter here
|
|
485
|
+
* }
|
|
486
|
+
* })
|
|
487
|
+
*/
|
|
488
|
+
findFirstOrThrow<T extends SystemSettingFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, SystemSettingFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__SystemSettingClient<runtime.Types.Result.GetResult<Prisma.$SystemSettingPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
489
|
+
|
|
490
|
+
/**
|
|
491
|
+
* Find zero or more SystemSettings that matches the filter.
|
|
492
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
493
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
494
|
+
* @param {SystemSettingFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
495
|
+
* @example
|
|
496
|
+
* // Get all SystemSettings
|
|
497
|
+
* const systemSettings = await prisma.systemSetting.findMany()
|
|
498
|
+
*
|
|
499
|
+
* // Get first 10 SystemSettings
|
|
500
|
+
* const systemSettings = await prisma.systemSetting.findMany({ take: 10 })
|
|
501
|
+
*
|
|
502
|
+
* // Only select the `id`
|
|
503
|
+
* const systemSettingWithIdOnly = await prisma.systemSetting.findMany({ select: { id: true } })
|
|
504
|
+
*
|
|
505
|
+
*/
|
|
506
|
+
findMany<T extends SystemSettingFindManyArgs>(args?: Prisma.SelectSubset<T, SystemSettingFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SystemSettingPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
507
|
+
|
|
508
|
+
/**
|
|
509
|
+
* Create a SystemSetting.
|
|
510
|
+
* @param {SystemSettingCreateArgs} args - Arguments to create a SystemSetting.
|
|
511
|
+
* @example
|
|
512
|
+
* // Create one SystemSetting
|
|
513
|
+
* const SystemSetting = await prisma.systemSetting.create({
|
|
514
|
+
* data: {
|
|
515
|
+
* // ... data to create a SystemSetting
|
|
516
|
+
* }
|
|
517
|
+
* })
|
|
518
|
+
*
|
|
519
|
+
*/
|
|
520
|
+
create<T extends SystemSettingCreateArgs>(args: Prisma.SelectSubset<T, SystemSettingCreateArgs<ExtArgs>>): Prisma.Prisma__SystemSettingClient<runtime.Types.Result.GetResult<Prisma.$SystemSettingPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
521
|
+
|
|
522
|
+
/**
|
|
523
|
+
* Create many SystemSettings.
|
|
524
|
+
* @param {SystemSettingCreateManyArgs} args - Arguments to create many SystemSettings.
|
|
525
|
+
* @example
|
|
526
|
+
* // Create many SystemSettings
|
|
527
|
+
* const systemSetting = await prisma.systemSetting.createMany({
|
|
528
|
+
* data: [
|
|
529
|
+
* // ... provide data here
|
|
530
|
+
* ]
|
|
531
|
+
* })
|
|
532
|
+
*
|
|
533
|
+
*/
|
|
534
|
+
createMany<T extends SystemSettingCreateManyArgs>(args?: Prisma.SelectSubset<T, SystemSettingCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* Create many SystemSettings and returns the data saved in the database.
|
|
538
|
+
* @param {SystemSettingCreateManyAndReturnArgs} args - Arguments to create many SystemSettings.
|
|
539
|
+
* @example
|
|
540
|
+
* // Create many SystemSettings
|
|
541
|
+
* const systemSetting = await prisma.systemSetting.createManyAndReturn({
|
|
542
|
+
* data: [
|
|
543
|
+
* // ... provide data here
|
|
544
|
+
* ]
|
|
545
|
+
* })
|
|
546
|
+
*
|
|
547
|
+
* // Create many SystemSettings and only return the `id`
|
|
548
|
+
* const systemSettingWithIdOnly = await prisma.systemSetting.createManyAndReturn({
|
|
549
|
+
* select: { id: true },
|
|
550
|
+
* data: [
|
|
551
|
+
* // ... provide data here
|
|
552
|
+
* ]
|
|
553
|
+
* })
|
|
554
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
555
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
556
|
+
*
|
|
557
|
+
*/
|
|
558
|
+
createManyAndReturn<T extends SystemSettingCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, SystemSettingCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SystemSettingPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* Delete a SystemSetting.
|
|
562
|
+
* @param {SystemSettingDeleteArgs} args - Arguments to delete one SystemSetting.
|
|
563
|
+
* @example
|
|
564
|
+
* // Delete one SystemSetting
|
|
565
|
+
* const SystemSetting = await prisma.systemSetting.delete({
|
|
566
|
+
* where: {
|
|
567
|
+
* // ... filter to delete one SystemSetting
|
|
568
|
+
* }
|
|
569
|
+
* })
|
|
570
|
+
*
|
|
571
|
+
*/
|
|
572
|
+
delete<T extends SystemSettingDeleteArgs>(args: Prisma.SelectSubset<T, SystemSettingDeleteArgs<ExtArgs>>): Prisma.Prisma__SystemSettingClient<runtime.Types.Result.GetResult<Prisma.$SystemSettingPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* Update one SystemSetting.
|
|
576
|
+
* @param {SystemSettingUpdateArgs} args - Arguments to update one SystemSetting.
|
|
577
|
+
* @example
|
|
578
|
+
* // Update one SystemSetting
|
|
579
|
+
* const systemSetting = await prisma.systemSetting.update({
|
|
580
|
+
* where: {
|
|
581
|
+
* // ... provide filter here
|
|
582
|
+
* },
|
|
583
|
+
* data: {
|
|
584
|
+
* // ... provide data here
|
|
585
|
+
* }
|
|
586
|
+
* })
|
|
587
|
+
*
|
|
588
|
+
*/
|
|
589
|
+
update<T extends SystemSettingUpdateArgs>(args: Prisma.SelectSubset<T, SystemSettingUpdateArgs<ExtArgs>>): Prisma.Prisma__SystemSettingClient<runtime.Types.Result.GetResult<Prisma.$SystemSettingPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
590
|
+
|
|
591
|
+
/**
|
|
592
|
+
* Delete zero or more SystemSettings.
|
|
593
|
+
* @param {SystemSettingDeleteManyArgs} args - Arguments to filter SystemSettings to delete.
|
|
594
|
+
* @example
|
|
595
|
+
* // Delete a few SystemSettings
|
|
596
|
+
* const { count } = await prisma.systemSetting.deleteMany({
|
|
597
|
+
* where: {
|
|
598
|
+
* // ... provide filter here
|
|
599
|
+
* }
|
|
600
|
+
* })
|
|
601
|
+
*
|
|
602
|
+
*/
|
|
603
|
+
deleteMany<T extends SystemSettingDeleteManyArgs>(args?: Prisma.SelectSubset<T, SystemSettingDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* Update zero or more SystemSettings.
|
|
607
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
608
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
609
|
+
* @param {SystemSettingUpdateManyArgs} args - Arguments to update one or more rows.
|
|
610
|
+
* @example
|
|
611
|
+
* // Update many SystemSettings
|
|
612
|
+
* const systemSetting = await prisma.systemSetting.updateMany({
|
|
613
|
+
* where: {
|
|
614
|
+
* // ... provide filter here
|
|
615
|
+
* },
|
|
616
|
+
* data: {
|
|
617
|
+
* // ... provide data here
|
|
618
|
+
* }
|
|
619
|
+
* })
|
|
620
|
+
*
|
|
621
|
+
*/
|
|
622
|
+
updateMany<T extends SystemSettingUpdateManyArgs>(args: Prisma.SelectSubset<T, SystemSettingUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* Update zero or more SystemSettings and returns the data updated in the database.
|
|
626
|
+
* @param {SystemSettingUpdateManyAndReturnArgs} args - Arguments to update many SystemSettings.
|
|
627
|
+
* @example
|
|
628
|
+
* // Update many SystemSettings
|
|
629
|
+
* const systemSetting = await prisma.systemSetting.updateManyAndReturn({
|
|
630
|
+
* where: {
|
|
631
|
+
* // ... provide filter here
|
|
632
|
+
* },
|
|
633
|
+
* data: [
|
|
634
|
+
* // ... provide data here
|
|
635
|
+
* ]
|
|
636
|
+
* })
|
|
637
|
+
*
|
|
638
|
+
* // Update zero or more SystemSettings and only return the `id`
|
|
639
|
+
* const systemSettingWithIdOnly = await prisma.systemSetting.updateManyAndReturn({
|
|
640
|
+
* select: { id: true },
|
|
641
|
+
* where: {
|
|
642
|
+
* // ... provide filter here
|
|
643
|
+
* },
|
|
644
|
+
* data: [
|
|
645
|
+
* // ... provide data here
|
|
646
|
+
* ]
|
|
647
|
+
* })
|
|
648
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
649
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
650
|
+
*
|
|
651
|
+
*/
|
|
652
|
+
updateManyAndReturn<T extends SystemSettingUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, SystemSettingUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SystemSettingPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
653
|
+
|
|
654
|
+
/**
|
|
655
|
+
* Create or update one SystemSetting.
|
|
656
|
+
* @param {SystemSettingUpsertArgs} args - Arguments to update or create a SystemSetting.
|
|
657
|
+
* @example
|
|
658
|
+
* // Update or create a SystemSetting
|
|
659
|
+
* const systemSetting = await prisma.systemSetting.upsert({
|
|
660
|
+
* create: {
|
|
661
|
+
* // ... data to create a SystemSetting
|
|
662
|
+
* },
|
|
663
|
+
* update: {
|
|
664
|
+
* // ... in case it already exists, update
|
|
665
|
+
* },
|
|
666
|
+
* where: {
|
|
667
|
+
* // ... the filter for the SystemSetting we want to update
|
|
668
|
+
* }
|
|
669
|
+
* })
|
|
670
|
+
*/
|
|
671
|
+
upsert<T extends SystemSettingUpsertArgs>(args: Prisma.SelectSubset<T, SystemSettingUpsertArgs<ExtArgs>>): Prisma.Prisma__SystemSettingClient<runtime.Types.Result.GetResult<Prisma.$SystemSettingPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
672
|
+
|
|
673
|
+
|
|
674
|
+
/**
|
|
675
|
+
* Count the number of SystemSettings.
|
|
676
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
677
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
678
|
+
* @param {SystemSettingCountArgs} args - Arguments to filter SystemSettings to count.
|
|
679
|
+
* @example
|
|
680
|
+
* // Count the number of SystemSettings
|
|
681
|
+
* const count = await prisma.systemSetting.count({
|
|
682
|
+
* where: {
|
|
683
|
+
* // ... the filter for the SystemSettings we want to count
|
|
684
|
+
* }
|
|
685
|
+
* })
|
|
686
|
+
**/
|
|
687
|
+
count<T extends SystemSettingCountArgs>(
|
|
688
|
+
args?: Prisma.Subset<T, SystemSettingCountArgs>,
|
|
689
|
+
): Prisma.PrismaPromise<
|
|
690
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
691
|
+
? T['select'] extends true
|
|
692
|
+
? number
|
|
693
|
+
: Prisma.GetScalarType<T['select'], SystemSettingCountAggregateOutputType>
|
|
694
|
+
: number
|
|
695
|
+
>
|
|
696
|
+
|
|
697
|
+
/**
|
|
698
|
+
* Allows you to perform aggregations operations on a SystemSetting.
|
|
699
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
700
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
701
|
+
* @param {SystemSettingAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
702
|
+
* @example
|
|
703
|
+
* // Ordered by age ascending
|
|
704
|
+
* // Where email contains prisma.io
|
|
705
|
+
* // Limited to the 10 users
|
|
706
|
+
* const aggregations = await prisma.user.aggregate({
|
|
707
|
+
* _avg: {
|
|
708
|
+
* age: true,
|
|
709
|
+
* },
|
|
710
|
+
* where: {
|
|
711
|
+
* email: {
|
|
712
|
+
* contains: "prisma.io",
|
|
713
|
+
* },
|
|
714
|
+
* },
|
|
715
|
+
* orderBy: {
|
|
716
|
+
* age: "asc",
|
|
717
|
+
* },
|
|
718
|
+
* take: 10,
|
|
719
|
+
* })
|
|
720
|
+
**/
|
|
721
|
+
aggregate<T extends SystemSettingAggregateArgs>(args: Prisma.Subset<T, SystemSettingAggregateArgs>): Prisma.PrismaPromise<GetSystemSettingAggregateType<T>>
|
|
722
|
+
|
|
723
|
+
/**
|
|
724
|
+
* Group by SystemSetting.
|
|
725
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
726
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
727
|
+
* @param {SystemSettingGroupByArgs} args - Group by arguments.
|
|
728
|
+
* @example
|
|
729
|
+
* // Group by city, order by createdAt, get count
|
|
730
|
+
* const result = await prisma.user.groupBy({
|
|
731
|
+
* by: ['city', 'createdAt'],
|
|
732
|
+
* orderBy: {
|
|
733
|
+
* createdAt: true
|
|
734
|
+
* },
|
|
735
|
+
* _count: {
|
|
736
|
+
* _all: true
|
|
737
|
+
* },
|
|
738
|
+
* })
|
|
739
|
+
*
|
|
740
|
+
**/
|
|
741
|
+
groupBy<
|
|
742
|
+
T extends SystemSettingGroupByArgs,
|
|
743
|
+
HasSelectOrTake extends Prisma.Or<
|
|
744
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
745
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
746
|
+
>,
|
|
747
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
748
|
+
? { orderBy: SystemSettingGroupByArgs['orderBy'] }
|
|
749
|
+
: { orderBy?: SystemSettingGroupByArgs['orderBy'] },
|
|
750
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
751
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
752
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
753
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
754
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
755
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
756
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
757
|
+
? `Error: "by" must not be empty.`
|
|
758
|
+
: HavingValid extends Prisma.False
|
|
759
|
+
? {
|
|
760
|
+
[P in HavingFields]: P extends ByFields
|
|
761
|
+
? never
|
|
762
|
+
: P extends string
|
|
763
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
764
|
+
: [
|
|
765
|
+
Error,
|
|
766
|
+
'Field ',
|
|
767
|
+
P,
|
|
768
|
+
` in "having" needs to be provided in "by"`,
|
|
769
|
+
]
|
|
770
|
+
}[HavingFields]
|
|
771
|
+
: 'take' extends Prisma.Keys<T>
|
|
772
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
773
|
+
? ByValid extends Prisma.True
|
|
774
|
+
? {}
|
|
775
|
+
: {
|
|
776
|
+
[P in OrderFields]: P extends ByFields
|
|
777
|
+
? never
|
|
778
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
779
|
+
}[OrderFields]
|
|
780
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
781
|
+
: 'skip' extends Prisma.Keys<T>
|
|
782
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
783
|
+
? ByValid extends Prisma.True
|
|
784
|
+
? {}
|
|
785
|
+
: {
|
|
786
|
+
[P in OrderFields]: P extends ByFields
|
|
787
|
+
? never
|
|
788
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
789
|
+
}[OrderFields]
|
|
790
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
791
|
+
: ByValid extends Prisma.True
|
|
792
|
+
? {}
|
|
793
|
+
: {
|
|
794
|
+
[P in OrderFields]: P extends ByFields
|
|
795
|
+
? never
|
|
796
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
797
|
+
}[OrderFields]
|
|
798
|
+
>(args: Prisma.SubsetIntersection<T, SystemSettingGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSystemSettingGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
799
|
+
/**
|
|
800
|
+
* Fields of the SystemSetting model
|
|
801
|
+
*/
|
|
802
|
+
readonly fields: SystemSettingFieldRefs;
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
/**
|
|
806
|
+
* The delegate class that acts as a "Promise-like" for SystemSetting.
|
|
807
|
+
* Why is this prefixed with `Prisma__`?
|
|
808
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
809
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
810
|
+
*/
|
|
811
|
+
export interface Prisma__SystemSettingClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
812
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
813
|
+
/**
|
|
814
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
815
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
816
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
817
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
818
|
+
*/
|
|
819
|
+
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>
|
|
820
|
+
/**
|
|
821
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
822
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
823
|
+
* @returns A Promise for the completion of the callback.
|
|
824
|
+
*/
|
|
825
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
826
|
+
/**
|
|
827
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
828
|
+
* resolved value cannot be modified from the callback.
|
|
829
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
830
|
+
* @returns A Promise for the completion of the callback.
|
|
831
|
+
*/
|
|
832
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
|
|
836
|
+
|
|
837
|
+
|
|
838
|
+
/**
|
|
839
|
+
* Fields of the SystemSetting model
|
|
840
|
+
*/
|
|
841
|
+
export interface SystemSettingFieldRefs {
|
|
842
|
+
readonly id: Prisma.FieldRef<"SystemSetting", 'String'>
|
|
843
|
+
readonly key: Prisma.FieldRef<"SystemSetting", 'String'>
|
|
844
|
+
readonly value: Prisma.FieldRef<"SystemSetting", 'String'>
|
|
845
|
+
readonly category: Prisma.FieldRef<"SystemSetting", 'String'>
|
|
846
|
+
readonly desc: Prisma.FieldRef<"SystemSetting", 'String'>
|
|
847
|
+
readonly createdAt: Prisma.FieldRef<"SystemSetting", 'DateTime'>
|
|
848
|
+
readonly updatedAt: Prisma.FieldRef<"SystemSetting", 'DateTime'>
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
|
|
852
|
+
// Custom InputTypes
|
|
853
|
+
/**
|
|
854
|
+
* SystemSetting findUnique
|
|
855
|
+
*/
|
|
856
|
+
export type SystemSettingFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
857
|
+
/**
|
|
858
|
+
* Select specific fields to fetch from the SystemSetting
|
|
859
|
+
*/
|
|
860
|
+
select?: Prisma.SystemSettingSelect<ExtArgs> | null
|
|
861
|
+
/**
|
|
862
|
+
* Omit specific fields from the SystemSetting
|
|
863
|
+
*/
|
|
864
|
+
omit?: Prisma.SystemSettingOmit<ExtArgs> | null
|
|
865
|
+
/**
|
|
866
|
+
* Filter, which SystemSetting to fetch.
|
|
867
|
+
*/
|
|
868
|
+
where: Prisma.SystemSettingWhereUniqueInput
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
/**
|
|
872
|
+
* SystemSetting findUniqueOrThrow
|
|
873
|
+
*/
|
|
874
|
+
export type SystemSettingFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
875
|
+
/**
|
|
876
|
+
* Select specific fields to fetch from the SystemSetting
|
|
877
|
+
*/
|
|
878
|
+
select?: Prisma.SystemSettingSelect<ExtArgs> | null
|
|
879
|
+
/**
|
|
880
|
+
* Omit specific fields from the SystemSetting
|
|
881
|
+
*/
|
|
882
|
+
omit?: Prisma.SystemSettingOmit<ExtArgs> | null
|
|
883
|
+
/**
|
|
884
|
+
* Filter, which SystemSetting to fetch.
|
|
885
|
+
*/
|
|
886
|
+
where: Prisma.SystemSettingWhereUniqueInput
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
/**
|
|
890
|
+
* SystemSetting findFirst
|
|
891
|
+
*/
|
|
892
|
+
export type SystemSettingFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
893
|
+
/**
|
|
894
|
+
* Select specific fields to fetch from the SystemSetting
|
|
895
|
+
*/
|
|
896
|
+
select?: Prisma.SystemSettingSelect<ExtArgs> | null
|
|
897
|
+
/**
|
|
898
|
+
* Omit specific fields from the SystemSetting
|
|
899
|
+
*/
|
|
900
|
+
omit?: Prisma.SystemSettingOmit<ExtArgs> | null
|
|
901
|
+
/**
|
|
902
|
+
* Filter, which SystemSetting to fetch.
|
|
903
|
+
*/
|
|
904
|
+
where?: Prisma.SystemSettingWhereInput
|
|
905
|
+
/**
|
|
906
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
907
|
+
*
|
|
908
|
+
* Determine the order of SystemSettings to fetch.
|
|
909
|
+
*/
|
|
910
|
+
orderBy?: Prisma.SystemSettingOrderByWithRelationInput | Prisma.SystemSettingOrderByWithRelationInput[]
|
|
911
|
+
/**
|
|
912
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
913
|
+
*
|
|
914
|
+
* Sets the position for searching for SystemSettings.
|
|
915
|
+
*/
|
|
916
|
+
cursor?: Prisma.SystemSettingWhereUniqueInput
|
|
917
|
+
/**
|
|
918
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
919
|
+
*
|
|
920
|
+
* Take `±n` SystemSettings from the position of the cursor.
|
|
921
|
+
*/
|
|
922
|
+
take?: number
|
|
923
|
+
/**
|
|
924
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
925
|
+
*
|
|
926
|
+
* Skip the first `n` SystemSettings.
|
|
927
|
+
*/
|
|
928
|
+
skip?: number
|
|
929
|
+
/**
|
|
930
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
931
|
+
*
|
|
932
|
+
* Filter by unique combinations of SystemSettings.
|
|
933
|
+
*/
|
|
934
|
+
distinct?: Prisma.SystemSettingScalarFieldEnum | Prisma.SystemSettingScalarFieldEnum[]
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
/**
|
|
938
|
+
* SystemSetting findFirstOrThrow
|
|
939
|
+
*/
|
|
940
|
+
export type SystemSettingFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
941
|
+
/**
|
|
942
|
+
* Select specific fields to fetch from the SystemSetting
|
|
943
|
+
*/
|
|
944
|
+
select?: Prisma.SystemSettingSelect<ExtArgs> | null
|
|
945
|
+
/**
|
|
946
|
+
* Omit specific fields from the SystemSetting
|
|
947
|
+
*/
|
|
948
|
+
omit?: Prisma.SystemSettingOmit<ExtArgs> | null
|
|
949
|
+
/**
|
|
950
|
+
* Filter, which SystemSetting to fetch.
|
|
951
|
+
*/
|
|
952
|
+
where?: Prisma.SystemSettingWhereInput
|
|
953
|
+
/**
|
|
954
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
955
|
+
*
|
|
956
|
+
* Determine the order of SystemSettings to fetch.
|
|
957
|
+
*/
|
|
958
|
+
orderBy?: Prisma.SystemSettingOrderByWithRelationInput | Prisma.SystemSettingOrderByWithRelationInput[]
|
|
959
|
+
/**
|
|
960
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
961
|
+
*
|
|
962
|
+
* Sets the position for searching for SystemSettings.
|
|
963
|
+
*/
|
|
964
|
+
cursor?: Prisma.SystemSettingWhereUniqueInput
|
|
965
|
+
/**
|
|
966
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
967
|
+
*
|
|
968
|
+
* Take `±n` SystemSettings from the position of the cursor.
|
|
969
|
+
*/
|
|
970
|
+
take?: number
|
|
971
|
+
/**
|
|
972
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
973
|
+
*
|
|
974
|
+
* Skip the first `n` SystemSettings.
|
|
975
|
+
*/
|
|
976
|
+
skip?: number
|
|
977
|
+
/**
|
|
978
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
979
|
+
*
|
|
980
|
+
* Filter by unique combinations of SystemSettings.
|
|
981
|
+
*/
|
|
982
|
+
distinct?: Prisma.SystemSettingScalarFieldEnum | Prisma.SystemSettingScalarFieldEnum[]
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
/**
|
|
986
|
+
* SystemSetting findMany
|
|
987
|
+
*/
|
|
988
|
+
export type SystemSettingFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
989
|
+
/**
|
|
990
|
+
* Select specific fields to fetch from the SystemSetting
|
|
991
|
+
*/
|
|
992
|
+
select?: Prisma.SystemSettingSelect<ExtArgs> | null
|
|
993
|
+
/**
|
|
994
|
+
* Omit specific fields from the SystemSetting
|
|
995
|
+
*/
|
|
996
|
+
omit?: Prisma.SystemSettingOmit<ExtArgs> | null
|
|
997
|
+
/**
|
|
998
|
+
* Filter, which SystemSettings to fetch.
|
|
999
|
+
*/
|
|
1000
|
+
where?: Prisma.SystemSettingWhereInput
|
|
1001
|
+
/**
|
|
1002
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1003
|
+
*
|
|
1004
|
+
* Determine the order of SystemSettings to fetch.
|
|
1005
|
+
*/
|
|
1006
|
+
orderBy?: Prisma.SystemSettingOrderByWithRelationInput | Prisma.SystemSettingOrderByWithRelationInput[]
|
|
1007
|
+
/**
|
|
1008
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1009
|
+
*
|
|
1010
|
+
* Sets the position for listing SystemSettings.
|
|
1011
|
+
*/
|
|
1012
|
+
cursor?: Prisma.SystemSettingWhereUniqueInput
|
|
1013
|
+
/**
|
|
1014
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1015
|
+
*
|
|
1016
|
+
* Take `±n` SystemSettings from the position of the cursor.
|
|
1017
|
+
*/
|
|
1018
|
+
take?: number
|
|
1019
|
+
/**
|
|
1020
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1021
|
+
*
|
|
1022
|
+
* Skip the first `n` SystemSettings.
|
|
1023
|
+
*/
|
|
1024
|
+
skip?: number
|
|
1025
|
+
/**
|
|
1026
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1027
|
+
*
|
|
1028
|
+
* Filter by unique combinations of SystemSettings.
|
|
1029
|
+
*/
|
|
1030
|
+
distinct?: Prisma.SystemSettingScalarFieldEnum | Prisma.SystemSettingScalarFieldEnum[]
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
/**
|
|
1034
|
+
* SystemSetting create
|
|
1035
|
+
*/
|
|
1036
|
+
export type SystemSettingCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1037
|
+
/**
|
|
1038
|
+
* Select specific fields to fetch from the SystemSetting
|
|
1039
|
+
*/
|
|
1040
|
+
select?: Prisma.SystemSettingSelect<ExtArgs> | null
|
|
1041
|
+
/**
|
|
1042
|
+
* Omit specific fields from the SystemSetting
|
|
1043
|
+
*/
|
|
1044
|
+
omit?: Prisma.SystemSettingOmit<ExtArgs> | null
|
|
1045
|
+
/**
|
|
1046
|
+
* The data needed to create a SystemSetting.
|
|
1047
|
+
*/
|
|
1048
|
+
data: Prisma.XOR<Prisma.SystemSettingCreateInput, Prisma.SystemSettingUncheckedCreateInput>
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
/**
|
|
1052
|
+
* SystemSetting createMany
|
|
1053
|
+
*/
|
|
1054
|
+
export type SystemSettingCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1055
|
+
/**
|
|
1056
|
+
* The data used to create many SystemSettings.
|
|
1057
|
+
*/
|
|
1058
|
+
data: Prisma.SystemSettingCreateManyInput | Prisma.SystemSettingCreateManyInput[]
|
|
1059
|
+
skipDuplicates?: boolean
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
/**
|
|
1063
|
+
* SystemSetting createManyAndReturn
|
|
1064
|
+
*/
|
|
1065
|
+
export type SystemSettingCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1066
|
+
/**
|
|
1067
|
+
* Select specific fields to fetch from the SystemSetting
|
|
1068
|
+
*/
|
|
1069
|
+
select?: Prisma.SystemSettingSelectCreateManyAndReturn<ExtArgs> | null
|
|
1070
|
+
/**
|
|
1071
|
+
* Omit specific fields from the SystemSetting
|
|
1072
|
+
*/
|
|
1073
|
+
omit?: Prisma.SystemSettingOmit<ExtArgs> | null
|
|
1074
|
+
/**
|
|
1075
|
+
* The data used to create many SystemSettings.
|
|
1076
|
+
*/
|
|
1077
|
+
data: Prisma.SystemSettingCreateManyInput | Prisma.SystemSettingCreateManyInput[]
|
|
1078
|
+
skipDuplicates?: boolean
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
/**
|
|
1082
|
+
* SystemSetting update
|
|
1083
|
+
*/
|
|
1084
|
+
export type SystemSettingUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1085
|
+
/**
|
|
1086
|
+
* Select specific fields to fetch from the SystemSetting
|
|
1087
|
+
*/
|
|
1088
|
+
select?: Prisma.SystemSettingSelect<ExtArgs> | null
|
|
1089
|
+
/**
|
|
1090
|
+
* Omit specific fields from the SystemSetting
|
|
1091
|
+
*/
|
|
1092
|
+
omit?: Prisma.SystemSettingOmit<ExtArgs> | null
|
|
1093
|
+
/**
|
|
1094
|
+
* The data needed to update a SystemSetting.
|
|
1095
|
+
*/
|
|
1096
|
+
data: Prisma.XOR<Prisma.SystemSettingUpdateInput, Prisma.SystemSettingUncheckedUpdateInput>
|
|
1097
|
+
/**
|
|
1098
|
+
* Choose, which SystemSetting to update.
|
|
1099
|
+
*/
|
|
1100
|
+
where: Prisma.SystemSettingWhereUniqueInput
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
/**
|
|
1104
|
+
* SystemSetting updateMany
|
|
1105
|
+
*/
|
|
1106
|
+
export type SystemSettingUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1107
|
+
/**
|
|
1108
|
+
* The data used to update SystemSettings.
|
|
1109
|
+
*/
|
|
1110
|
+
data: Prisma.XOR<Prisma.SystemSettingUpdateManyMutationInput, Prisma.SystemSettingUncheckedUpdateManyInput>
|
|
1111
|
+
/**
|
|
1112
|
+
* Filter which SystemSettings to update
|
|
1113
|
+
*/
|
|
1114
|
+
where?: Prisma.SystemSettingWhereInput
|
|
1115
|
+
/**
|
|
1116
|
+
* Limit how many SystemSettings to update.
|
|
1117
|
+
*/
|
|
1118
|
+
limit?: number
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
/**
|
|
1122
|
+
* SystemSetting updateManyAndReturn
|
|
1123
|
+
*/
|
|
1124
|
+
export type SystemSettingUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1125
|
+
/**
|
|
1126
|
+
* Select specific fields to fetch from the SystemSetting
|
|
1127
|
+
*/
|
|
1128
|
+
select?: Prisma.SystemSettingSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1129
|
+
/**
|
|
1130
|
+
* Omit specific fields from the SystemSetting
|
|
1131
|
+
*/
|
|
1132
|
+
omit?: Prisma.SystemSettingOmit<ExtArgs> | null
|
|
1133
|
+
/**
|
|
1134
|
+
* The data used to update SystemSettings.
|
|
1135
|
+
*/
|
|
1136
|
+
data: Prisma.XOR<Prisma.SystemSettingUpdateManyMutationInput, Prisma.SystemSettingUncheckedUpdateManyInput>
|
|
1137
|
+
/**
|
|
1138
|
+
* Filter which SystemSettings to update
|
|
1139
|
+
*/
|
|
1140
|
+
where?: Prisma.SystemSettingWhereInput
|
|
1141
|
+
/**
|
|
1142
|
+
* Limit how many SystemSettings to update.
|
|
1143
|
+
*/
|
|
1144
|
+
limit?: number
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
/**
|
|
1148
|
+
* SystemSetting upsert
|
|
1149
|
+
*/
|
|
1150
|
+
export type SystemSettingUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1151
|
+
/**
|
|
1152
|
+
* Select specific fields to fetch from the SystemSetting
|
|
1153
|
+
*/
|
|
1154
|
+
select?: Prisma.SystemSettingSelect<ExtArgs> | null
|
|
1155
|
+
/**
|
|
1156
|
+
* Omit specific fields from the SystemSetting
|
|
1157
|
+
*/
|
|
1158
|
+
omit?: Prisma.SystemSettingOmit<ExtArgs> | null
|
|
1159
|
+
/**
|
|
1160
|
+
* The filter to search for the SystemSetting to update in case it exists.
|
|
1161
|
+
*/
|
|
1162
|
+
where: Prisma.SystemSettingWhereUniqueInput
|
|
1163
|
+
/**
|
|
1164
|
+
* In case the SystemSetting found by the `where` argument doesn't exist, create a new SystemSetting with this data.
|
|
1165
|
+
*/
|
|
1166
|
+
create: Prisma.XOR<Prisma.SystemSettingCreateInput, Prisma.SystemSettingUncheckedCreateInput>
|
|
1167
|
+
/**
|
|
1168
|
+
* In case the SystemSetting was found with the provided `where` argument, update it with this data.
|
|
1169
|
+
*/
|
|
1170
|
+
update: Prisma.XOR<Prisma.SystemSettingUpdateInput, Prisma.SystemSettingUncheckedUpdateInput>
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
/**
|
|
1174
|
+
* SystemSetting delete
|
|
1175
|
+
*/
|
|
1176
|
+
export type SystemSettingDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1177
|
+
/**
|
|
1178
|
+
* Select specific fields to fetch from the SystemSetting
|
|
1179
|
+
*/
|
|
1180
|
+
select?: Prisma.SystemSettingSelect<ExtArgs> | null
|
|
1181
|
+
/**
|
|
1182
|
+
* Omit specific fields from the SystemSetting
|
|
1183
|
+
*/
|
|
1184
|
+
omit?: Prisma.SystemSettingOmit<ExtArgs> | null
|
|
1185
|
+
/**
|
|
1186
|
+
* Filter which SystemSetting to delete.
|
|
1187
|
+
*/
|
|
1188
|
+
where: Prisma.SystemSettingWhereUniqueInput
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
/**
|
|
1192
|
+
* SystemSetting deleteMany
|
|
1193
|
+
*/
|
|
1194
|
+
export type SystemSettingDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1195
|
+
/**
|
|
1196
|
+
* Filter which SystemSettings to delete
|
|
1197
|
+
*/
|
|
1198
|
+
where?: Prisma.SystemSettingWhereInput
|
|
1199
|
+
/**
|
|
1200
|
+
* Limit how many SystemSettings to delete.
|
|
1201
|
+
*/
|
|
1202
|
+
limit?: number
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
/**
|
|
1206
|
+
* SystemSetting without action
|
|
1207
|
+
*/
|
|
1208
|
+
export type SystemSettingDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1209
|
+
/**
|
|
1210
|
+
* Select specific fields to fetch from the SystemSetting
|
|
1211
|
+
*/
|
|
1212
|
+
select?: Prisma.SystemSettingSelect<ExtArgs> | null
|
|
1213
|
+
/**
|
|
1214
|
+
* Omit specific fields from the SystemSetting
|
|
1215
|
+
*/
|
|
1216
|
+
omit?: Prisma.SystemSettingOmit<ExtArgs> | null
|
|
1217
|
+
}
|