@allbluecn/database 0.6.0 → 0.9.0
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/LICENSE +661 -0
- package/dist/get-prisma.d.ts +1 -0
- package/dist/get-prisma.js +7 -0
- package/generated/browser.ts +85 -0
- package/generated/client.ts +85 -0
- package/generated/commonInputTypes.ts +106 -46
- package/generated/internal/class.ts +174 -4
- package/generated/internal/prismaNamespace.ts +1698 -151
- package/generated/internal/prismaNamespaceBrowser.ts +279 -7
- package/generated/models/AiProviderConfig.ts +100 -1
- package/generated/models/AiStreamChunk.ts +1159 -0
- package/generated/models/AiUsageLog.ts +91 -31
- package/generated/models/Blob.ts +1428 -0
- package/generated/models/BusinessAgentBinding.ts +1553 -0
- package/generated/models/ChatInterrupt.ts +42 -1
- package/generated/models/ChatMessage.ts +58 -29
- package/generated/models/ChatPersistenceMeta.ts +1121 -0
- package/generated/models/ChatRun.ts +166 -1
- package/generated/models/ChatThread.ts +294 -1
- package/generated/models/CodeSnippet.ts +1555 -0
- package/generated/models/DesktopSetting.ts +1059 -0
- package/generated/models/EmailLog.ts +1345 -0
- package/generated/models/EmailPreference.ts +1257 -0
- package/generated/models/EmailSubscriber.ts +1233 -0
- package/generated/models/EmailVerificationToken.ts +1380 -0
- package/generated/models/GenerationRun.ts +193 -1
- package/generated/models/HarnessPlugin.ts +1677 -0
- package/generated/models/HarnessWorkspace.ts +1650 -0
- package/generated/models/InvitationCode.ts +65 -9
- package/generated/models/NotificationPreference.ts +27 -1
- package/generated/models/OAuthProviderConfig.ts +1227 -0
- package/generated/models/Plan.ts +115 -1
- package/generated/models/SandboxInstance.ts +1277 -0
- package/generated/models/SystemPromptTemplate.ts +1583 -0
- package/generated/models/SystemPromptVersion.ts +1459 -0
- package/generated/models/User.ts +5759 -823
- package/generated/models/UserAgent.ts +250 -1
- package/generated/models/Workspace.ts +3 -1
- package/generated/models/WorkspaceFile.ts +1535 -0
- package/generated/models.ts +17 -0
- package/generated-sqlite/browser.ts +90 -0
- package/generated-sqlite/client.ts +90 -0
- package/generated-sqlite/commonInputTypes.ts +192 -78
- package/generated-sqlite/internal/class.ts +184 -4
- package/generated-sqlite/internal/prismaNamespace.ts +1786 -138
- package/generated-sqlite/internal/prismaNamespaceBrowser.ts +291 -7
- package/generated-sqlite/models/AiProviderConfig.ts +100 -1
- package/generated-sqlite/models/AiStreamChunk.ts +1157 -0
- package/generated-sqlite/models/AiUsageLog.ts +91 -31
- package/generated-sqlite/models/Blob.ts +1425 -0
- package/generated-sqlite/models/BusinessAgentBinding.ts +1549 -0
- package/generated-sqlite/models/ChatInterrupt.ts +42 -1
- package/generated-sqlite/models/ChatMessage.ts +58 -29
- package/generated-sqlite/models/ChatPersistenceMeta.ts +1119 -0
- package/generated-sqlite/models/ChatRun.ts +174 -1
- package/generated-sqlite/models/ChatThread.ts +293 -1
- package/generated-sqlite/models/CodeSnippet.ts +1552 -0
- package/generated-sqlite/models/DesktopSetting.ts +1057 -0
- package/generated-sqlite/models/EmailLog.ts +1343 -0
- package/generated-sqlite/models/EmailPreference.ts +1255 -0
- package/generated-sqlite/models/EmailSubscriber.ts +1231 -0
- package/generated-sqlite/models/EmailVerificationToken.ts +1377 -0
- package/generated-sqlite/models/GenerationRun.ts +193 -1
- package/generated-sqlite/models/HarnessPlugin.ts +1674 -0
- package/generated-sqlite/models/HarnessWorkspace.ts +1647 -0
- package/generated-sqlite/models/InvitationCode.ts +65 -9
- package/generated-sqlite/models/NotificationPreference.ts +1313 -0
- package/generated-sqlite/models/OAuthProviderConfig.ts +1225 -0
- package/generated-sqlite/models/PageVersion.ts +0 -8
- package/generated-sqlite/models/Plan.ts +115 -1
- package/generated-sqlite/models/SandboxInstance.ts +1283 -0
- package/generated-sqlite/models/SystemPromptTemplate.ts +1581 -0
- package/generated-sqlite/models/SystemPromptVersion.ts +1456 -0
- package/generated-sqlite/models/User.ts +5345 -701
- package/generated-sqlite/models/UserAgent.ts +250 -1
- package/generated-sqlite/models/Workspace.ts +3 -1
- package/generated-sqlite/models/WorkspaceFile.ts +1532 -0
- package/generated-sqlite/models.ts +18 -0
- package/get-prisma.ts +6 -0
- package/index.ts +11 -6
- package/migrations/20260911120000_add_pgvector_tables/migration.sql +28 -0
- package/migrations/20260911171433_email_auth_invitation/migration.sql +80 -0
- package/migrations/20260912032616_email_p4_p8/migration.sql +42 -0
- package/migrations/20260914002427_ai_p0_durable_runs_meta/migration.sql +15 -0
- package/migrations/20260914041010_ai_p0_interrupt_requested_at/migration.sql +15 -0
- package/migrations/20260914041909_ai_p0_message_tool_call_id/migration.sql +2 -0
- package/migrations/20260914042448_ai_p0_message_content_json/migration.sql +27 -0
- package/migrations/20260914150229_harness_plugin/migration.sql +27 -0
- package/migrations/20260914174404_prompt_platform_agents/migration.sql +67 -0
- package/migrations/20260915090000_add_memory_facts/migration.sql +22 -0
- package/migrations/20260915124417_ai_p3_sandbox_durable/migration.sql +48 -0
- package/migrations/20260915150034_sandbox_instance_updatedat_bigint/migration.sql +2 -0
- package/migrations/20260915154000_add_code_snippets/migration.sql +31 -0
- package/migrations/20260916090000_ai_usage_log_nullable_workspace/migration.sql +10 -0
- package/migrations/20260916192752_add_ai_source_mode/migration.sql +13 -0
- package/migrations/20260917044512_harness_workspace/migration.sql +47 -0
- package/migrations/20260917100000_add_media_plan_limits/migration.sql +3 -0
- package/migrations/20260917163433_add_generation_run_linked_target/migration.sql +2 -0
- package/migrations/20260920050606_add_blob_table/migration.sql +17 -0
- package/migrations/20260920093412_add_byteplus_voice_fields/migration.sql +3 -0
- package/package.json +8 -3
- package/schema.prisma +413 -99
- package/schema.sqlite.prisma +865 -543
|
@@ -0,0 +1,1119 @@
|
|
|
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 `ChatPersistenceMeta` model and its related types.
|
|
8
|
+
*
|
|
9
|
+
* 🟢 You can import this file directly.
|
|
10
|
+
*/
|
|
11
|
+
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
+
import type * as $Enums from "../enums.ts"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Model ChatPersistenceMeta
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type ChatPersistenceMetaModel = runtime.Types.Result.DefaultSelection<Prisma.$ChatPersistenceMetaPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateChatPersistenceMeta = {
|
|
22
|
+
_count: ChatPersistenceMetaCountAggregateOutputType | null
|
|
23
|
+
_min: ChatPersistenceMetaMinAggregateOutputType | null
|
|
24
|
+
_max: ChatPersistenceMetaMaxAggregateOutputType | null
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type ChatPersistenceMetaMinAggregateOutputType = {
|
|
28
|
+
namespace: string | null
|
|
29
|
+
key: string | null
|
|
30
|
+
updatedAt: Date | null
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export type ChatPersistenceMetaMaxAggregateOutputType = {
|
|
34
|
+
namespace: string | null
|
|
35
|
+
key: string | null
|
|
36
|
+
updatedAt: Date | null
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export type ChatPersistenceMetaCountAggregateOutputType = {
|
|
40
|
+
namespace: number
|
|
41
|
+
key: number
|
|
42
|
+
value: number
|
|
43
|
+
updatedAt: number
|
|
44
|
+
_all: number
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
export type ChatPersistenceMetaMinAggregateInputType = {
|
|
49
|
+
namespace?: true
|
|
50
|
+
key?: true
|
|
51
|
+
updatedAt?: true
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export type ChatPersistenceMetaMaxAggregateInputType = {
|
|
55
|
+
namespace?: true
|
|
56
|
+
key?: true
|
|
57
|
+
updatedAt?: true
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export type ChatPersistenceMetaCountAggregateInputType = {
|
|
61
|
+
namespace?: true
|
|
62
|
+
key?: true
|
|
63
|
+
value?: true
|
|
64
|
+
updatedAt?: true
|
|
65
|
+
_all?: true
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export type ChatPersistenceMetaAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
69
|
+
/**
|
|
70
|
+
* Filter which ChatPersistenceMeta to aggregate.
|
|
71
|
+
*/
|
|
72
|
+
where?: Prisma.ChatPersistenceMetaWhereInput
|
|
73
|
+
/**
|
|
74
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
75
|
+
*
|
|
76
|
+
* Determine the order of ChatPersistenceMetas to fetch.
|
|
77
|
+
*/
|
|
78
|
+
orderBy?: Prisma.ChatPersistenceMetaOrderByWithRelationInput | Prisma.ChatPersistenceMetaOrderByWithRelationInput[]
|
|
79
|
+
/**
|
|
80
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
81
|
+
*
|
|
82
|
+
* Sets the start position
|
|
83
|
+
*/
|
|
84
|
+
cursor?: Prisma.ChatPersistenceMetaWhereUniqueInput
|
|
85
|
+
/**
|
|
86
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
87
|
+
*
|
|
88
|
+
* Take `±n` ChatPersistenceMetas from the position of the cursor.
|
|
89
|
+
*/
|
|
90
|
+
take?: number
|
|
91
|
+
/**
|
|
92
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
93
|
+
*
|
|
94
|
+
* Skip the first `n` ChatPersistenceMetas.
|
|
95
|
+
*/
|
|
96
|
+
skip?: number
|
|
97
|
+
/**
|
|
98
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
99
|
+
*
|
|
100
|
+
* Count returned ChatPersistenceMetas
|
|
101
|
+
**/
|
|
102
|
+
_count?: true | ChatPersistenceMetaCountAggregateInputType
|
|
103
|
+
/**
|
|
104
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
105
|
+
*
|
|
106
|
+
* Select which fields to find the minimum value
|
|
107
|
+
**/
|
|
108
|
+
_min?: ChatPersistenceMetaMinAggregateInputType
|
|
109
|
+
/**
|
|
110
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
111
|
+
*
|
|
112
|
+
* Select which fields to find the maximum value
|
|
113
|
+
**/
|
|
114
|
+
_max?: ChatPersistenceMetaMaxAggregateInputType
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export type GetChatPersistenceMetaAggregateType<T extends ChatPersistenceMetaAggregateArgs> = {
|
|
118
|
+
[P in keyof T & keyof AggregateChatPersistenceMeta]: P extends '_count' | 'count'
|
|
119
|
+
? T[P] extends true
|
|
120
|
+
? number
|
|
121
|
+
: Prisma.GetScalarType<T[P], AggregateChatPersistenceMeta[P]>
|
|
122
|
+
: Prisma.GetScalarType<T[P], AggregateChatPersistenceMeta[P]>
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
export type ChatPersistenceMetaGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
129
|
+
where?: Prisma.ChatPersistenceMetaWhereInput
|
|
130
|
+
orderBy?: Prisma.ChatPersistenceMetaOrderByWithAggregationInput | Prisma.ChatPersistenceMetaOrderByWithAggregationInput[]
|
|
131
|
+
by: Prisma.ChatPersistenceMetaScalarFieldEnum[] | Prisma.ChatPersistenceMetaScalarFieldEnum
|
|
132
|
+
having?: Prisma.ChatPersistenceMetaScalarWhereWithAggregatesInput
|
|
133
|
+
take?: number
|
|
134
|
+
skip?: number
|
|
135
|
+
_count?: ChatPersistenceMetaCountAggregateInputType | true
|
|
136
|
+
_min?: ChatPersistenceMetaMinAggregateInputType
|
|
137
|
+
_max?: ChatPersistenceMetaMaxAggregateInputType
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
export type ChatPersistenceMetaGroupByOutputType = {
|
|
141
|
+
namespace: string
|
|
142
|
+
key: string
|
|
143
|
+
value: runtime.JsonValue
|
|
144
|
+
updatedAt: Date
|
|
145
|
+
_count: ChatPersistenceMetaCountAggregateOutputType | null
|
|
146
|
+
_min: ChatPersistenceMetaMinAggregateOutputType | null
|
|
147
|
+
_max: ChatPersistenceMetaMaxAggregateOutputType | null
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
export type GetChatPersistenceMetaGroupByPayload<T extends ChatPersistenceMetaGroupByArgs> = Prisma.PrismaPromise<
|
|
151
|
+
Array<
|
|
152
|
+
Prisma.PickEnumerable<ChatPersistenceMetaGroupByOutputType, T['by']> &
|
|
153
|
+
{
|
|
154
|
+
[P in ((keyof T) & (keyof ChatPersistenceMetaGroupByOutputType))]: P extends '_count'
|
|
155
|
+
? T[P] extends boolean
|
|
156
|
+
? number
|
|
157
|
+
: Prisma.GetScalarType<T[P], ChatPersistenceMetaGroupByOutputType[P]>
|
|
158
|
+
: Prisma.GetScalarType<T[P], ChatPersistenceMetaGroupByOutputType[P]>
|
|
159
|
+
}
|
|
160
|
+
>
|
|
161
|
+
>
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
export type ChatPersistenceMetaWhereInput = {
|
|
166
|
+
AND?: Prisma.ChatPersistenceMetaWhereInput | Prisma.ChatPersistenceMetaWhereInput[]
|
|
167
|
+
OR?: Prisma.ChatPersistenceMetaWhereInput[]
|
|
168
|
+
NOT?: Prisma.ChatPersistenceMetaWhereInput | Prisma.ChatPersistenceMetaWhereInput[]
|
|
169
|
+
namespace?: Prisma.StringFilter<"ChatPersistenceMeta"> | string
|
|
170
|
+
key?: Prisma.StringFilter<"ChatPersistenceMeta"> | string
|
|
171
|
+
value?: Prisma.JsonFilter<"ChatPersistenceMeta">
|
|
172
|
+
updatedAt?: Prisma.DateTimeFilter<"ChatPersistenceMeta"> | Date | string
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export type ChatPersistenceMetaOrderByWithRelationInput = {
|
|
176
|
+
namespace?: Prisma.SortOrder
|
|
177
|
+
key?: Prisma.SortOrder
|
|
178
|
+
value?: Prisma.SortOrder
|
|
179
|
+
updatedAt?: Prisma.SortOrder
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
export type ChatPersistenceMetaWhereUniqueInput = Prisma.AtLeast<{
|
|
183
|
+
namespace_key?: Prisma.ChatPersistenceMetaNamespaceKeyCompoundUniqueInput
|
|
184
|
+
AND?: Prisma.ChatPersistenceMetaWhereInput | Prisma.ChatPersistenceMetaWhereInput[]
|
|
185
|
+
OR?: Prisma.ChatPersistenceMetaWhereInput[]
|
|
186
|
+
NOT?: Prisma.ChatPersistenceMetaWhereInput | Prisma.ChatPersistenceMetaWhereInput[]
|
|
187
|
+
namespace?: Prisma.StringFilter<"ChatPersistenceMeta"> | string
|
|
188
|
+
key?: Prisma.StringFilter<"ChatPersistenceMeta"> | string
|
|
189
|
+
value?: Prisma.JsonFilter<"ChatPersistenceMeta">
|
|
190
|
+
updatedAt?: Prisma.DateTimeFilter<"ChatPersistenceMeta"> | Date | string
|
|
191
|
+
}, "namespace_key">
|
|
192
|
+
|
|
193
|
+
export type ChatPersistenceMetaOrderByWithAggregationInput = {
|
|
194
|
+
namespace?: Prisma.SortOrder
|
|
195
|
+
key?: Prisma.SortOrder
|
|
196
|
+
value?: Prisma.SortOrder
|
|
197
|
+
updatedAt?: Prisma.SortOrder
|
|
198
|
+
_count?: Prisma.ChatPersistenceMetaCountOrderByAggregateInput
|
|
199
|
+
_max?: Prisma.ChatPersistenceMetaMaxOrderByAggregateInput
|
|
200
|
+
_min?: Prisma.ChatPersistenceMetaMinOrderByAggregateInput
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
export type ChatPersistenceMetaScalarWhereWithAggregatesInput = {
|
|
204
|
+
AND?: Prisma.ChatPersistenceMetaScalarWhereWithAggregatesInput | Prisma.ChatPersistenceMetaScalarWhereWithAggregatesInput[]
|
|
205
|
+
OR?: Prisma.ChatPersistenceMetaScalarWhereWithAggregatesInput[]
|
|
206
|
+
NOT?: Prisma.ChatPersistenceMetaScalarWhereWithAggregatesInput | Prisma.ChatPersistenceMetaScalarWhereWithAggregatesInput[]
|
|
207
|
+
namespace?: Prisma.StringWithAggregatesFilter<"ChatPersistenceMeta"> | string
|
|
208
|
+
key?: Prisma.StringWithAggregatesFilter<"ChatPersistenceMeta"> | string
|
|
209
|
+
value?: Prisma.JsonWithAggregatesFilter<"ChatPersistenceMeta">
|
|
210
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"ChatPersistenceMeta"> | Date | string
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
export type ChatPersistenceMetaCreateInput = {
|
|
214
|
+
namespace: string
|
|
215
|
+
key: string
|
|
216
|
+
value: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
217
|
+
updatedAt?: Date | string
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
export type ChatPersistenceMetaUncheckedCreateInput = {
|
|
221
|
+
namespace: string
|
|
222
|
+
key: string
|
|
223
|
+
value: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
224
|
+
updatedAt?: Date | string
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
export type ChatPersistenceMetaUpdateInput = {
|
|
228
|
+
namespace?: Prisma.StringFieldUpdateOperationsInput | string
|
|
229
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string
|
|
230
|
+
value?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
231
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
export type ChatPersistenceMetaUncheckedUpdateInput = {
|
|
235
|
+
namespace?: Prisma.StringFieldUpdateOperationsInput | string
|
|
236
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string
|
|
237
|
+
value?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
238
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
export type ChatPersistenceMetaCreateManyInput = {
|
|
242
|
+
namespace: string
|
|
243
|
+
key: string
|
|
244
|
+
value: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
245
|
+
updatedAt?: Date | string
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
export type ChatPersistenceMetaUpdateManyMutationInput = {
|
|
249
|
+
namespace?: Prisma.StringFieldUpdateOperationsInput | string
|
|
250
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string
|
|
251
|
+
value?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
252
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
export type ChatPersistenceMetaUncheckedUpdateManyInput = {
|
|
256
|
+
namespace?: Prisma.StringFieldUpdateOperationsInput | string
|
|
257
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string
|
|
258
|
+
value?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
259
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
export type ChatPersistenceMetaNamespaceKeyCompoundUniqueInput = {
|
|
263
|
+
namespace: string
|
|
264
|
+
key: string
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
export type ChatPersistenceMetaCountOrderByAggregateInput = {
|
|
268
|
+
namespace?: Prisma.SortOrder
|
|
269
|
+
key?: Prisma.SortOrder
|
|
270
|
+
value?: Prisma.SortOrder
|
|
271
|
+
updatedAt?: Prisma.SortOrder
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
export type ChatPersistenceMetaMaxOrderByAggregateInput = {
|
|
275
|
+
namespace?: Prisma.SortOrder
|
|
276
|
+
key?: Prisma.SortOrder
|
|
277
|
+
updatedAt?: Prisma.SortOrder
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
export type ChatPersistenceMetaMinOrderByAggregateInput = {
|
|
281
|
+
namespace?: Prisma.SortOrder
|
|
282
|
+
key?: Prisma.SortOrder
|
|
283
|
+
updatedAt?: Prisma.SortOrder
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
export type ChatPersistenceMetaSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
289
|
+
namespace?: boolean
|
|
290
|
+
key?: boolean
|
|
291
|
+
value?: boolean
|
|
292
|
+
updatedAt?: boolean
|
|
293
|
+
}, ExtArgs["result"]["chatPersistenceMeta"]>
|
|
294
|
+
|
|
295
|
+
export type ChatPersistenceMetaSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
296
|
+
namespace?: boolean
|
|
297
|
+
key?: boolean
|
|
298
|
+
value?: boolean
|
|
299
|
+
updatedAt?: boolean
|
|
300
|
+
}, ExtArgs["result"]["chatPersistenceMeta"]>
|
|
301
|
+
|
|
302
|
+
export type ChatPersistenceMetaSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
303
|
+
namespace?: boolean
|
|
304
|
+
key?: boolean
|
|
305
|
+
value?: boolean
|
|
306
|
+
updatedAt?: boolean
|
|
307
|
+
}, ExtArgs["result"]["chatPersistenceMeta"]>
|
|
308
|
+
|
|
309
|
+
export type ChatPersistenceMetaSelectScalar = {
|
|
310
|
+
namespace?: boolean
|
|
311
|
+
key?: boolean
|
|
312
|
+
value?: boolean
|
|
313
|
+
updatedAt?: boolean
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
export type ChatPersistenceMetaOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"namespace" | "key" | "value" | "updatedAt", ExtArgs["result"]["chatPersistenceMeta"]>
|
|
317
|
+
|
|
318
|
+
export type $ChatPersistenceMetaPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
319
|
+
name: "ChatPersistenceMeta"
|
|
320
|
+
objects: {}
|
|
321
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
322
|
+
namespace: string
|
|
323
|
+
key: string
|
|
324
|
+
value: runtime.JsonValue
|
|
325
|
+
updatedAt: Date
|
|
326
|
+
}, ExtArgs["result"]["chatPersistenceMeta"]>
|
|
327
|
+
composites: {}
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
export type ChatPersistenceMetaGetPayload<S extends boolean | null | undefined | ChatPersistenceMetaDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ChatPersistenceMetaPayload, S>
|
|
331
|
+
|
|
332
|
+
export type ChatPersistenceMetaCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
333
|
+
Omit<ChatPersistenceMetaFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
334
|
+
select?: ChatPersistenceMetaCountAggregateInputType | true
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
export interface ChatPersistenceMetaDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
338
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ChatPersistenceMeta'], meta: { name: 'ChatPersistenceMeta' } }
|
|
339
|
+
/**
|
|
340
|
+
* Find zero or one ChatPersistenceMeta that matches the filter.
|
|
341
|
+
* @param {ChatPersistenceMetaFindUniqueArgs} args - Arguments to find a ChatPersistenceMeta
|
|
342
|
+
* @example
|
|
343
|
+
* // Get one ChatPersistenceMeta
|
|
344
|
+
* const chatPersistenceMeta = await prisma.chatPersistenceMeta.findUnique({
|
|
345
|
+
* where: {
|
|
346
|
+
* // ... provide filter here
|
|
347
|
+
* }
|
|
348
|
+
* })
|
|
349
|
+
*/
|
|
350
|
+
findUnique<T extends ChatPersistenceMetaFindUniqueArgs>(args: Prisma.SelectSubset<T, ChatPersistenceMetaFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ChatPersistenceMetaClient<runtime.Types.Result.GetResult<Prisma.$ChatPersistenceMetaPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* Find one ChatPersistenceMeta that matches the filter or throw an error with `error.code='P2025'`
|
|
354
|
+
* if no matches were found.
|
|
355
|
+
* @param {ChatPersistenceMetaFindUniqueOrThrowArgs} args - Arguments to find a ChatPersistenceMeta
|
|
356
|
+
* @example
|
|
357
|
+
* // Get one ChatPersistenceMeta
|
|
358
|
+
* const chatPersistenceMeta = await prisma.chatPersistenceMeta.findUniqueOrThrow({
|
|
359
|
+
* where: {
|
|
360
|
+
* // ... provide filter here
|
|
361
|
+
* }
|
|
362
|
+
* })
|
|
363
|
+
*/
|
|
364
|
+
findUniqueOrThrow<T extends ChatPersistenceMetaFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ChatPersistenceMetaFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ChatPersistenceMetaClient<runtime.Types.Result.GetResult<Prisma.$ChatPersistenceMetaPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* Find the first ChatPersistenceMeta that matches the filter.
|
|
368
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
369
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
370
|
+
* @param {ChatPersistenceMetaFindFirstArgs} args - Arguments to find a ChatPersistenceMeta
|
|
371
|
+
* @example
|
|
372
|
+
* // Get one ChatPersistenceMeta
|
|
373
|
+
* const chatPersistenceMeta = await prisma.chatPersistenceMeta.findFirst({
|
|
374
|
+
* where: {
|
|
375
|
+
* // ... provide filter here
|
|
376
|
+
* }
|
|
377
|
+
* })
|
|
378
|
+
*/
|
|
379
|
+
findFirst<T extends ChatPersistenceMetaFindFirstArgs>(args?: Prisma.SelectSubset<T, ChatPersistenceMetaFindFirstArgs<ExtArgs>>): Prisma.Prisma__ChatPersistenceMetaClient<runtime.Types.Result.GetResult<Prisma.$ChatPersistenceMetaPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* Find the first ChatPersistenceMeta that matches the filter or
|
|
383
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
384
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
385
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
386
|
+
* @param {ChatPersistenceMetaFindFirstOrThrowArgs} args - Arguments to find a ChatPersistenceMeta
|
|
387
|
+
* @example
|
|
388
|
+
* // Get one ChatPersistenceMeta
|
|
389
|
+
* const chatPersistenceMeta = await prisma.chatPersistenceMeta.findFirstOrThrow({
|
|
390
|
+
* where: {
|
|
391
|
+
* // ... provide filter here
|
|
392
|
+
* }
|
|
393
|
+
* })
|
|
394
|
+
*/
|
|
395
|
+
findFirstOrThrow<T extends ChatPersistenceMetaFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ChatPersistenceMetaFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ChatPersistenceMetaClient<runtime.Types.Result.GetResult<Prisma.$ChatPersistenceMetaPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* Find zero or more ChatPersistenceMetas that matches the filter.
|
|
399
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
400
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
401
|
+
* @param {ChatPersistenceMetaFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
402
|
+
* @example
|
|
403
|
+
* // Get all ChatPersistenceMetas
|
|
404
|
+
* const chatPersistenceMetas = await prisma.chatPersistenceMeta.findMany()
|
|
405
|
+
*
|
|
406
|
+
* // Get first 10 ChatPersistenceMetas
|
|
407
|
+
* const chatPersistenceMetas = await prisma.chatPersistenceMeta.findMany({ take: 10 })
|
|
408
|
+
*
|
|
409
|
+
* // Only select the `namespace`
|
|
410
|
+
* const chatPersistenceMetaWithNamespaceOnly = await prisma.chatPersistenceMeta.findMany({ select: { namespace: true } })
|
|
411
|
+
*
|
|
412
|
+
*/
|
|
413
|
+
findMany<T extends ChatPersistenceMetaFindManyArgs>(args?: Prisma.SelectSubset<T, ChatPersistenceMetaFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ChatPersistenceMetaPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* Create a ChatPersistenceMeta.
|
|
417
|
+
* @param {ChatPersistenceMetaCreateArgs} args - Arguments to create a ChatPersistenceMeta.
|
|
418
|
+
* @example
|
|
419
|
+
* // Create one ChatPersistenceMeta
|
|
420
|
+
* const ChatPersistenceMeta = await prisma.chatPersistenceMeta.create({
|
|
421
|
+
* data: {
|
|
422
|
+
* // ... data to create a ChatPersistenceMeta
|
|
423
|
+
* }
|
|
424
|
+
* })
|
|
425
|
+
*
|
|
426
|
+
*/
|
|
427
|
+
create<T extends ChatPersistenceMetaCreateArgs>(args: Prisma.SelectSubset<T, ChatPersistenceMetaCreateArgs<ExtArgs>>): Prisma.Prisma__ChatPersistenceMetaClient<runtime.Types.Result.GetResult<Prisma.$ChatPersistenceMetaPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* Create many ChatPersistenceMetas.
|
|
431
|
+
* @param {ChatPersistenceMetaCreateManyArgs} args - Arguments to create many ChatPersistenceMetas.
|
|
432
|
+
* @example
|
|
433
|
+
* // Create many ChatPersistenceMetas
|
|
434
|
+
* const chatPersistenceMeta = await prisma.chatPersistenceMeta.createMany({
|
|
435
|
+
* data: [
|
|
436
|
+
* // ... provide data here
|
|
437
|
+
* ]
|
|
438
|
+
* })
|
|
439
|
+
*
|
|
440
|
+
*/
|
|
441
|
+
createMany<T extends ChatPersistenceMetaCreateManyArgs>(args?: Prisma.SelectSubset<T, ChatPersistenceMetaCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
442
|
+
|
|
443
|
+
/**
|
|
444
|
+
* Create many ChatPersistenceMetas and returns the data saved in the database.
|
|
445
|
+
* @param {ChatPersistenceMetaCreateManyAndReturnArgs} args - Arguments to create many ChatPersistenceMetas.
|
|
446
|
+
* @example
|
|
447
|
+
* // Create many ChatPersistenceMetas
|
|
448
|
+
* const chatPersistenceMeta = await prisma.chatPersistenceMeta.createManyAndReturn({
|
|
449
|
+
* data: [
|
|
450
|
+
* // ... provide data here
|
|
451
|
+
* ]
|
|
452
|
+
* })
|
|
453
|
+
*
|
|
454
|
+
* // Create many ChatPersistenceMetas and only return the `namespace`
|
|
455
|
+
* const chatPersistenceMetaWithNamespaceOnly = await prisma.chatPersistenceMeta.createManyAndReturn({
|
|
456
|
+
* select: { namespace: true },
|
|
457
|
+
* data: [
|
|
458
|
+
* // ... provide data here
|
|
459
|
+
* ]
|
|
460
|
+
* })
|
|
461
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
462
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
463
|
+
*
|
|
464
|
+
*/
|
|
465
|
+
createManyAndReturn<T extends ChatPersistenceMetaCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ChatPersistenceMetaCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ChatPersistenceMetaPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
466
|
+
|
|
467
|
+
/**
|
|
468
|
+
* Delete a ChatPersistenceMeta.
|
|
469
|
+
* @param {ChatPersistenceMetaDeleteArgs} args - Arguments to delete one ChatPersistenceMeta.
|
|
470
|
+
* @example
|
|
471
|
+
* // Delete one ChatPersistenceMeta
|
|
472
|
+
* const ChatPersistenceMeta = await prisma.chatPersistenceMeta.delete({
|
|
473
|
+
* where: {
|
|
474
|
+
* // ... filter to delete one ChatPersistenceMeta
|
|
475
|
+
* }
|
|
476
|
+
* })
|
|
477
|
+
*
|
|
478
|
+
*/
|
|
479
|
+
delete<T extends ChatPersistenceMetaDeleteArgs>(args: Prisma.SelectSubset<T, ChatPersistenceMetaDeleteArgs<ExtArgs>>): Prisma.Prisma__ChatPersistenceMetaClient<runtime.Types.Result.GetResult<Prisma.$ChatPersistenceMetaPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
480
|
+
|
|
481
|
+
/**
|
|
482
|
+
* Update one ChatPersistenceMeta.
|
|
483
|
+
* @param {ChatPersistenceMetaUpdateArgs} args - Arguments to update one ChatPersistenceMeta.
|
|
484
|
+
* @example
|
|
485
|
+
* // Update one ChatPersistenceMeta
|
|
486
|
+
* const chatPersistenceMeta = await prisma.chatPersistenceMeta.update({
|
|
487
|
+
* where: {
|
|
488
|
+
* // ... provide filter here
|
|
489
|
+
* },
|
|
490
|
+
* data: {
|
|
491
|
+
* // ... provide data here
|
|
492
|
+
* }
|
|
493
|
+
* })
|
|
494
|
+
*
|
|
495
|
+
*/
|
|
496
|
+
update<T extends ChatPersistenceMetaUpdateArgs>(args: Prisma.SelectSubset<T, ChatPersistenceMetaUpdateArgs<ExtArgs>>): Prisma.Prisma__ChatPersistenceMetaClient<runtime.Types.Result.GetResult<Prisma.$ChatPersistenceMetaPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
497
|
+
|
|
498
|
+
/**
|
|
499
|
+
* Delete zero or more ChatPersistenceMetas.
|
|
500
|
+
* @param {ChatPersistenceMetaDeleteManyArgs} args - Arguments to filter ChatPersistenceMetas to delete.
|
|
501
|
+
* @example
|
|
502
|
+
* // Delete a few ChatPersistenceMetas
|
|
503
|
+
* const { count } = await prisma.chatPersistenceMeta.deleteMany({
|
|
504
|
+
* where: {
|
|
505
|
+
* // ... provide filter here
|
|
506
|
+
* }
|
|
507
|
+
* })
|
|
508
|
+
*
|
|
509
|
+
*/
|
|
510
|
+
deleteMany<T extends ChatPersistenceMetaDeleteManyArgs>(args?: Prisma.SelectSubset<T, ChatPersistenceMetaDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* Update zero or more ChatPersistenceMetas.
|
|
514
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
515
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
516
|
+
* @param {ChatPersistenceMetaUpdateManyArgs} args - Arguments to update one or more rows.
|
|
517
|
+
* @example
|
|
518
|
+
* // Update many ChatPersistenceMetas
|
|
519
|
+
* const chatPersistenceMeta = await prisma.chatPersistenceMeta.updateMany({
|
|
520
|
+
* where: {
|
|
521
|
+
* // ... provide filter here
|
|
522
|
+
* },
|
|
523
|
+
* data: {
|
|
524
|
+
* // ... provide data here
|
|
525
|
+
* }
|
|
526
|
+
* })
|
|
527
|
+
*
|
|
528
|
+
*/
|
|
529
|
+
updateMany<T extends ChatPersistenceMetaUpdateManyArgs>(args: Prisma.SelectSubset<T, ChatPersistenceMetaUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* Update zero or more ChatPersistenceMetas and returns the data updated in the database.
|
|
533
|
+
* @param {ChatPersistenceMetaUpdateManyAndReturnArgs} args - Arguments to update many ChatPersistenceMetas.
|
|
534
|
+
* @example
|
|
535
|
+
* // Update many ChatPersistenceMetas
|
|
536
|
+
* const chatPersistenceMeta = await prisma.chatPersistenceMeta.updateManyAndReturn({
|
|
537
|
+
* where: {
|
|
538
|
+
* // ... provide filter here
|
|
539
|
+
* },
|
|
540
|
+
* data: [
|
|
541
|
+
* // ... provide data here
|
|
542
|
+
* ]
|
|
543
|
+
* })
|
|
544
|
+
*
|
|
545
|
+
* // Update zero or more ChatPersistenceMetas and only return the `namespace`
|
|
546
|
+
* const chatPersistenceMetaWithNamespaceOnly = await prisma.chatPersistenceMeta.updateManyAndReturn({
|
|
547
|
+
* select: { namespace: true },
|
|
548
|
+
* where: {
|
|
549
|
+
* // ... provide filter here
|
|
550
|
+
* },
|
|
551
|
+
* data: [
|
|
552
|
+
* // ... provide data here
|
|
553
|
+
* ]
|
|
554
|
+
* })
|
|
555
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
556
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
557
|
+
*
|
|
558
|
+
*/
|
|
559
|
+
updateManyAndReturn<T extends ChatPersistenceMetaUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ChatPersistenceMetaUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ChatPersistenceMetaPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
560
|
+
|
|
561
|
+
/**
|
|
562
|
+
* Create or update one ChatPersistenceMeta.
|
|
563
|
+
* @param {ChatPersistenceMetaUpsertArgs} args - Arguments to update or create a ChatPersistenceMeta.
|
|
564
|
+
* @example
|
|
565
|
+
* // Update or create a ChatPersistenceMeta
|
|
566
|
+
* const chatPersistenceMeta = await prisma.chatPersistenceMeta.upsert({
|
|
567
|
+
* create: {
|
|
568
|
+
* // ... data to create a ChatPersistenceMeta
|
|
569
|
+
* },
|
|
570
|
+
* update: {
|
|
571
|
+
* // ... in case it already exists, update
|
|
572
|
+
* },
|
|
573
|
+
* where: {
|
|
574
|
+
* // ... the filter for the ChatPersistenceMeta we want to update
|
|
575
|
+
* }
|
|
576
|
+
* })
|
|
577
|
+
*/
|
|
578
|
+
upsert<T extends ChatPersistenceMetaUpsertArgs>(args: Prisma.SelectSubset<T, ChatPersistenceMetaUpsertArgs<ExtArgs>>): Prisma.Prisma__ChatPersistenceMetaClient<runtime.Types.Result.GetResult<Prisma.$ChatPersistenceMetaPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
/**
|
|
582
|
+
* Count the number of ChatPersistenceMetas.
|
|
583
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
584
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
585
|
+
* @param {ChatPersistenceMetaCountArgs} args - Arguments to filter ChatPersistenceMetas to count.
|
|
586
|
+
* @example
|
|
587
|
+
* // Count the number of ChatPersistenceMetas
|
|
588
|
+
* const count = await prisma.chatPersistenceMeta.count({
|
|
589
|
+
* where: {
|
|
590
|
+
* // ... the filter for the ChatPersistenceMetas we want to count
|
|
591
|
+
* }
|
|
592
|
+
* })
|
|
593
|
+
**/
|
|
594
|
+
count<T extends ChatPersistenceMetaCountArgs>(
|
|
595
|
+
args?: Prisma.Subset<T, ChatPersistenceMetaCountArgs>,
|
|
596
|
+
): Prisma.PrismaPromise<
|
|
597
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
598
|
+
? T['select'] extends true
|
|
599
|
+
? number
|
|
600
|
+
: Prisma.GetScalarType<T['select'], ChatPersistenceMetaCountAggregateOutputType>
|
|
601
|
+
: number
|
|
602
|
+
>
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* Allows you to perform aggregations operations on a ChatPersistenceMeta.
|
|
606
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
607
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
608
|
+
* @param {ChatPersistenceMetaAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
609
|
+
* @example
|
|
610
|
+
* // Ordered by age ascending
|
|
611
|
+
* // Where email contains prisma.io
|
|
612
|
+
* // Limited to the 10 users
|
|
613
|
+
* const aggregations = await prisma.user.aggregate({
|
|
614
|
+
* _avg: {
|
|
615
|
+
* age: true,
|
|
616
|
+
* },
|
|
617
|
+
* where: {
|
|
618
|
+
* email: {
|
|
619
|
+
* contains: "prisma.io",
|
|
620
|
+
* },
|
|
621
|
+
* },
|
|
622
|
+
* orderBy: {
|
|
623
|
+
* age: "asc",
|
|
624
|
+
* },
|
|
625
|
+
* take: 10,
|
|
626
|
+
* })
|
|
627
|
+
**/
|
|
628
|
+
aggregate<T extends ChatPersistenceMetaAggregateArgs>(args: Prisma.Subset<T, ChatPersistenceMetaAggregateArgs>): Prisma.PrismaPromise<GetChatPersistenceMetaAggregateType<T>>
|
|
629
|
+
|
|
630
|
+
/**
|
|
631
|
+
* Group by ChatPersistenceMeta.
|
|
632
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
633
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
634
|
+
* @param {ChatPersistenceMetaGroupByArgs} args - Group by arguments.
|
|
635
|
+
* @example
|
|
636
|
+
* // Group by city, order by createdAt, get count
|
|
637
|
+
* const result = await prisma.user.groupBy({
|
|
638
|
+
* by: ['city', 'createdAt'],
|
|
639
|
+
* orderBy: {
|
|
640
|
+
* createdAt: true
|
|
641
|
+
* },
|
|
642
|
+
* _count: {
|
|
643
|
+
* _all: true
|
|
644
|
+
* },
|
|
645
|
+
* })
|
|
646
|
+
*
|
|
647
|
+
**/
|
|
648
|
+
groupBy<
|
|
649
|
+
T extends ChatPersistenceMetaGroupByArgs,
|
|
650
|
+
HasSelectOrTake extends Prisma.Or<
|
|
651
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
652
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
653
|
+
>,
|
|
654
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
655
|
+
? { orderBy: ChatPersistenceMetaGroupByArgs['orderBy'] }
|
|
656
|
+
: { orderBy?: ChatPersistenceMetaGroupByArgs['orderBy'] },
|
|
657
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
658
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
659
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
660
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
661
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
662
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
663
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
664
|
+
? `Error: "by" must not be empty.`
|
|
665
|
+
: HavingValid extends Prisma.False
|
|
666
|
+
? {
|
|
667
|
+
[P in HavingFields]: P extends ByFields
|
|
668
|
+
? never
|
|
669
|
+
: P extends string
|
|
670
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
671
|
+
: [
|
|
672
|
+
Error,
|
|
673
|
+
'Field ',
|
|
674
|
+
P,
|
|
675
|
+
` in "having" needs to be provided in "by"`,
|
|
676
|
+
]
|
|
677
|
+
}[HavingFields]
|
|
678
|
+
: 'take' extends Prisma.Keys<T>
|
|
679
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
680
|
+
? ByValid extends Prisma.True
|
|
681
|
+
? {}
|
|
682
|
+
: {
|
|
683
|
+
[P in OrderFields]: P extends ByFields
|
|
684
|
+
? never
|
|
685
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
686
|
+
}[OrderFields]
|
|
687
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
688
|
+
: 'skip' extends Prisma.Keys<T>
|
|
689
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
690
|
+
? ByValid extends Prisma.True
|
|
691
|
+
? {}
|
|
692
|
+
: {
|
|
693
|
+
[P in OrderFields]: P extends ByFields
|
|
694
|
+
? never
|
|
695
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
696
|
+
}[OrderFields]
|
|
697
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
698
|
+
: ByValid extends Prisma.True
|
|
699
|
+
? {}
|
|
700
|
+
: {
|
|
701
|
+
[P in OrderFields]: P extends ByFields
|
|
702
|
+
? never
|
|
703
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
704
|
+
}[OrderFields]
|
|
705
|
+
>(args: Prisma.SubsetIntersection<T, ChatPersistenceMetaGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetChatPersistenceMetaGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
706
|
+
/**
|
|
707
|
+
* Fields of the ChatPersistenceMeta model
|
|
708
|
+
*/
|
|
709
|
+
readonly fields: ChatPersistenceMetaFieldRefs;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
/**
|
|
713
|
+
* The delegate class that acts as a "Promise-like" for ChatPersistenceMeta.
|
|
714
|
+
* Why is this prefixed with `Prisma__`?
|
|
715
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
716
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
717
|
+
*/
|
|
718
|
+
export interface Prisma__ChatPersistenceMetaClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
719
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
720
|
+
/**
|
|
721
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
722
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
723
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
724
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
725
|
+
*/
|
|
726
|
+
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>
|
|
727
|
+
/**
|
|
728
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
729
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
730
|
+
* @returns A Promise for the completion of the callback.
|
|
731
|
+
*/
|
|
732
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
733
|
+
/**
|
|
734
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
735
|
+
* resolved value cannot be modified from the callback.
|
|
736
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
737
|
+
* @returns A Promise for the completion of the callback.
|
|
738
|
+
*/
|
|
739
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
|
|
743
|
+
|
|
744
|
+
|
|
745
|
+
/**
|
|
746
|
+
* Fields of the ChatPersistenceMeta model
|
|
747
|
+
*/
|
|
748
|
+
export interface ChatPersistenceMetaFieldRefs {
|
|
749
|
+
readonly namespace: Prisma.FieldRef<"ChatPersistenceMeta", 'String'>
|
|
750
|
+
readonly key: Prisma.FieldRef<"ChatPersistenceMeta", 'String'>
|
|
751
|
+
readonly value: Prisma.FieldRef<"ChatPersistenceMeta", 'Json'>
|
|
752
|
+
readonly updatedAt: Prisma.FieldRef<"ChatPersistenceMeta", 'DateTime'>
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
|
|
756
|
+
// Custom InputTypes
|
|
757
|
+
/**
|
|
758
|
+
* ChatPersistenceMeta findUnique
|
|
759
|
+
*/
|
|
760
|
+
export type ChatPersistenceMetaFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
761
|
+
/**
|
|
762
|
+
* Select specific fields to fetch from the ChatPersistenceMeta
|
|
763
|
+
*/
|
|
764
|
+
select?: Prisma.ChatPersistenceMetaSelect<ExtArgs> | null
|
|
765
|
+
/**
|
|
766
|
+
* Omit specific fields from the ChatPersistenceMeta
|
|
767
|
+
*/
|
|
768
|
+
omit?: Prisma.ChatPersistenceMetaOmit<ExtArgs> | null
|
|
769
|
+
/**
|
|
770
|
+
* Filter, which ChatPersistenceMeta to fetch.
|
|
771
|
+
*/
|
|
772
|
+
where: Prisma.ChatPersistenceMetaWhereUniqueInput
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
/**
|
|
776
|
+
* ChatPersistenceMeta findUniqueOrThrow
|
|
777
|
+
*/
|
|
778
|
+
export type ChatPersistenceMetaFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
779
|
+
/**
|
|
780
|
+
* Select specific fields to fetch from the ChatPersistenceMeta
|
|
781
|
+
*/
|
|
782
|
+
select?: Prisma.ChatPersistenceMetaSelect<ExtArgs> | null
|
|
783
|
+
/**
|
|
784
|
+
* Omit specific fields from the ChatPersistenceMeta
|
|
785
|
+
*/
|
|
786
|
+
omit?: Prisma.ChatPersistenceMetaOmit<ExtArgs> | null
|
|
787
|
+
/**
|
|
788
|
+
* Filter, which ChatPersistenceMeta to fetch.
|
|
789
|
+
*/
|
|
790
|
+
where: Prisma.ChatPersistenceMetaWhereUniqueInput
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
/**
|
|
794
|
+
* ChatPersistenceMeta findFirst
|
|
795
|
+
*/
|
|
796
|
+
export type ChatPersistenceMetaFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
797
|
+
/**
|
|
798
|
+
* Select specific fields to fetch from the ChatPersistenceMeta
|
|
799
|
+
*/
|
|
800
|
+
select?: Prisma.ChatPersistenceMetaSelect<ExtArgs> | null
|
|
801
|
+
/**
|
|
802
|
+
* Omit specific fields from the ChatPersistenceMeta
|
|
803
|
+
*/
|
|
804
|
+
omit?: Prisma.ChatPersistenceMetaOmit<ExtArgs> | null
|
|
805
|
+
/**
|
|
806
|
+
* Filter, which ChatPersistenceMeta to fetch.
|
|
807
|
+
*/
|
|
808
|
+
where?: Prisma.ChatPersistenceMetaWhereInput
|
|
809
|
+
/**
|
|
810
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
811
|
+
*
|
|
812
|
+
* Determine the order of ChatPersistenceMetas to fetch.
|
|
813
|
+
*/
|
|
814
|
+
orderBy?: Prisma.ChatPersistenceMetaOrderByWithRelationInput | Prisma.ChatPersistenceMetaOrderByWithRelationInput[]
|
|
815
|
+
/**
|
|
816
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
817
|
+
*
|
|
818
|
+
* Sets the position for searching for ChatPersistenceMetas.
|
|
819
|
+
*/
|
|
820
|
+
cursor?: Prisma.ChatPersistenceMetaWhereUniqueInput
|
|
821
|
+
/**
|
|
822
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
823
|
+
*
|
|
824
|
+
* Take `±n` ChatPersistenceMetas from the position of the cursor.
|
|
825
|
+
*/
|
|
826
|
+
take?: number
|
|
827
|
+
/**
|
|
828
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
829
|
+
*
|
|
830
|
+
* Skip the first `n` ChatPersistenceMetas.
|
|
831
|
+
*/
|
|
832
|
+
skip?: number
|
|
833
|
+
/**
|
|
834
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
835
|
+
*
|
|
836
|
+
* Filter by unique combinations of ChatPersistenceMetas.
|
|
837
|
+
*/
|
|
838
|
+
distinct?: Prisma.ChatPersistenceMetaScalarFieldEnum | Prisma.ChatPersistenceMetaScalarFieldEnum[]
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
/**
|
|
842
|
+
* ChatPersistenceMeta findFirstOrThrow
|
|
843
|
+
*/
|
|
844
|
+
export type ChatPersistenceMetaFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
845
|
+
/**
|
|
846
|
+
* Select specific fields to fetch from the ChatPersistenceMeta
|
|
847
|
+
*/
|
|
848
|
+
select?: Prisma.ChatPersistenceMetaSelect<ExtArgs> | null
|
|
849
|
+
/**
|
|
850
|
+
* Omit specific fields from the ChatPersistenceMeta
|
|
851
|
+
*/
|
|
852
|
+
omit?: Prisma.ChatPersistenceMetaOmit<ExtArgs> | null
|
|
853
|
+
/**
|
|
854
|
+
* Filter, which ChatPersistenceMeta to fetch.
|
|
855
|
+
*/
|
|
856
|
+
where?: Prisma.ChatPersistenceMetaWhereInput
|
|
857
|
+
/**
|
|
858
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
859
|
+
*
|
|
860
|
+
* Determine the order of ChatPersistenceMetas to fetch.
|
|
861
|
+
*/
|
|
862
|
+
orderBy?: Prisma.ChatPersistenceMetaOrderByWithRelationInput | Prisma.ChatPersistenceMetaOrderByWithRelationInput[]
|
|
863
|
+
/**
|
|
864
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
865
|
+
*
|
|
866
|
+
* Sets the position for searching for ChatPersistenceMetas.
|
|
867
|
+
*/
|
|
868
|
+
cursor?: Prisma.ChatPersistenceMetaWhereUniqueInput
|
|
869
|
+
/**
|
|
870
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
871
|
+
*
|
|
872
|
+
* Take `±n` ChatPersistenceMetas from the position of the cursor.
|
|
873
|
+
*/
|
|
874
|
+
take?: number
|
|
875
|
+
/**
|
|
876
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
877
|
+
*
|
|
878
|
+
* Skip the first `n` ChatPersistenceMetas.
|
|
879
|
+
*/
|
|
880
|
+
skip?: number
|
|
881
|
+
/**
|
|
882
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
883
|
+
*
|
|
884
|
+
* Filter by unique combinations of ChatPersistenceMetas.
|
|
885
|
+
*/
|
|
886
|
+
distinct?: Prisma.ChatPersistenceMetaScalarFieldEnum | Prisma.ChatPersistenceMetaScalarFieldEnum[]
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
/**
|
|
890
|
+
* ChatPersistenceMeta findMany
|
|
891
|
+
*/
|
|
892
|
+
export type ChatPersistenceMetaFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
893
|
+
/**
|
|
894
|
+
* Select specific fields to fetch from the ChatPersistenceMeta
|
|
895
|
+
*/
|
|
896
|
+
select?: Prisma.ChatPersistenceMetaSelect<ExtArgs> | null
|
|
897
|
+
/**
|
|
898
|
+
* Omit specific fields from the ChatPersistenceMeta
|
|
899
|
+
*/
|
|
900
|
+
omit?: Prisma.ChatPersistenceMetaOmit<ExtArgs> | null
|
|
901
|
+
/**
|
|
902
|
+
* Filter, which ChatPersistenceMetas to fetch.
|
|
903
|
+
*/
|
|
904
|
+
where?: Prisma.ChatPersistenceMetaWhereInput
|
|
905
|
+
/**
|
|
906
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
907
|
+
*
|
|
908
|
+
* Determine the order of ChatPersistenceMetas to fetch.
|
|
909
|
+
*/
|
|
910
|
+
orderBy?: Prisma.ChatPersistenceMetaOrderByWithRelationInput | Prisma.ChatPersistenceMetaOrderByWithRelationInput[]
|
|
911
|
+
/**
|
|
912
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
913
|
+
*
|
|
914
|
+
* Sets the position for listing ChatPersistenceMetas.
|
|
915
|
+
*/
|
|
916
|
+
cursor?: Prisma.ChatPersistenceMetaWhereUniqueInput
|
|
917
|
+
/**
|
|
918
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
919
|
+
*
|
|
920
|
+
* Take `±n` ChatPersistenceMetas 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` ChatPersistenceMetas.
|
|
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 ChatPersistenceMetas.
|
|
933
|
+
*/
|
|
934
|
+
distinct?: Prisma.ChatPersistenceMetaScalarFieldEnum | Prisma.ChatPersistenceMetaScalarFieldEnum[]
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
/**
|
|
938
|
+
* ChatPersistenceMeta create
|
|
939
|
+
*/
|
|
940
|
+
export type ChatPersistenceMetaCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
941
|
+
/**
|
|
942
|
+
* Select specific fields to fetch from the ChatPersistenceMeta
|
|
943
|
+
*/
|
|
944
|
+
select?: Prisma.ChatPersistenceMetaSelect<ExtArgs> | null
|
|
945
|
+
/**
|
|
946
|
+
* Omit specific fields from the ChatPersistenceMeta
|
|
947
|
+
*/
|
|
948
|
+
omit?: Prisma.ChatPersistenceMetaOmit<ExtArgs> | null
|
|
949
|
+
/**
|
|
950
|
+
* The data needed to create a ChatPersistenceMeta.
|
|
951
|
+
*/
|
|
952
|
+
data: Prisma.XOR<Prisma.ChatPersistenceMetaCreateInput, Prisma.ChatPersistenceMetaUncheckedCreateInput>
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
/**
|
|
956
|
+
* ChatPersistenceMeta createMany
|
|
957
|
+
*/
|
|
958
|
+
export type ChatPersistenceMetaCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
959
|
+
/**
|
|
960
|
+
* The data used to create many ChatPersistenceMetas.
|
|
961
|
+
*/
|
|
962
|
+
data: Prisma.ChatPersistenceMetaCreateManyInput | Prisma.ChatPersistenceMetaCreateManyInput[]
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* ChatPersistenceMeta createManyAndReturn
|
|
967
|
+
*/
|
|
968
|
+
export type ChatPersistenceMetaCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
969
|
+
/**
|
|
970
|
+
* Select specific fields to fetch from the ChatPersistenceMeta
|
|
971
|
+
*/
|
|
972
|
+
select?: Prisma.ChatPersistenceMetaSelectCreateManyAndReturn<ExtArgs> | null
|
|
973
|
+
/**
|
|
974
|
+
* Omit specific fields from the ChatPersistenceMeta
|
|
975
|
+
*/
|
|
976
|
+
omit?: Prisma.ChatPersistenceMetaOmit<ExtArgs> | null
|
|
977
|
+
/**
|
|
978
|
+
* The data used to create many ChatPersistenceMetas.
|
|
979
|
+
*/
|
|
980
|
+
data: Prisma.ChatPersistenceMetaCreateManyInput | Prisma.ChatPersistenceMetaCreateManyInput[]
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
/**
|
|
984
|
+
* ChatPersistenceMeta update
|
|
985
|
+
*/
|
|
986
|
+
export type ChatPersistenceMetaUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
987
|
+
/**
|
|
988
|
+
* Select specific fields to fetch from the ChatPersistenceMeta
|
|
989
|
+
*/
|
|
990
|
+
select?: Prisma.ChatPersistenceMetaSelect<ExtArgs> | null
|
|
991
|
+
/**
|
|
992
|
+
* Omit specific fields from the ChatPersistenceMeta
|
|
993
|
+
*/
|
|
994
|
+
omit?: Prisma.ChatPersistenceMetaOmit<ExtArgs> | null
|
|
995
|
+
/**
|
|
996
|
+
* The data needed to update a ChatPersistenceMeta.
|
|
997
|
+
*/
|
|
998
|
+
data: Prisma.XOR<Prisma.ChatPersistenceMetaUpdateInput, Prisma.ChatPersistenceMetaUncheckedUpdateInput>
|
|
999
|
+
/**
|
|
1000
|
+
* Choose, which ChatPersistenceMeta to update.
|
|
1001
|
+
*/
|
|
1002
|
+
where: Prisma.ChatPersistenceMetaWhereUniqueInput
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
/**
|
|
1006
|
+
* ChatPersistenceMeta updateMany
|
|
1007
|
+
*/
|
|
1008
|
+
export type ChatPersistenceMetaUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1009
|
+
/**
|
|
1010
|
+
* The data used to update ChatPersistenceMetas.
|
|
1011
|
+
*/
|
|
1012
|
+
data: Prisma.XOR<Prisma.ChatPersistenceMetaUpdateManyMutationInput, Prisma.ChatPersistenceMetaUncheckedUpdateManyInput>
|
|
1013
|
+
/**
|
|
1014
|
+
* Filter which ChatPersistenceMetas to update
|
|
1015
|
+
*/
|
|
1016
|
+
where?: Prisma.ChatPersistenceMetaWhereInput
|
|
1017
|
+
/**
|
|
1018
|
+
* Limit how many ChatPersistenceMetas to update.
|
|
1019
|
+
*/
|
|
1020
|
+
limit?: number
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
/**
|
|
1024
|
+
* ChatPersistenceMeta updateManyAndReturn
|
|
1025
|
+
*/
|
|
1026
|
+
export type ChatPersistenceMetaUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1027
|
+
/**
|
|
1028
|
+
* Select specific fields to fetch from the ChatPersistenceMeta
|
|
1029
|
+
*/
|
|
1030
|
+
select?: Prisma.ChatPersistenceMetaSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1031
|
+
/**
|
|
1032
|
+
* Omit specific fields from the ChatPersistenceMeta
|
|
1033
|
+
*/
|
|
1034
|
+
omit?: Prisma.ChatPersistenceMetaOmit<ExtArgs> | null
|
|
1035
|
+
/**
|
|
1036
|
+
* The data used to update ChatPersistenceMetas.
|
|
1037
|
+
*/
|
|
1038
|
+
data: Prisma.XOR<Prisma.ChatPersistenceMetaUpdateManyMutationInput, Prisma.ChatPersistenceMetaUncheckedUpdateManyInput>
|
|
1039
|
+
/**
|
|
1040
|
+
* Filter which ChatPersistenceMetas to update
|
|
1041
|
+
*/
|
|
1042
|
+
where?: Prisma.ChatPersistenceMetaWhereInput
|
|
1043
|
+
/**
|
|
1044
|
+
* Limit how many ChatPersistenceMetas to update.
|
|
1045
|
+
*/
|
|
1046
|
+
limit?: number
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
/**
|
|
1050
|
+
* ChatPersistenceMeta upsert
|
|
1051
|
+
*/
|
|
1052
|
+
export type ChatPersistenceMetaUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1053
|
+
/**
|
|
1054
|
+
* Select specific fields to fetch from the ChatPersistenceMeta
|
|
1055
|
+
*/
|
|
1056
|
+
select?: Prisma.ChatPersistenceMetaSelect<ExtArgs> | null
|
|
1057
|
+
/**
|
|
1058
|
+
* Omit specific fields from the ChatPersistenceMeta
|
|
1059
|
+
*/
|
|
1060
|
+
omit?: Prisma.ChatPersistenceMetaOmit<ExtArgs> | null
|
|
1061
|
+
/**
|
|
1062
|
+
* The filter to search for the ChatPersistenceMeta to update in case it exists.
|
|
1063
|
+
*/
|
|
1064
|
+
where: Prisma.ChatPersistenceMetaWhereUniqueInput
|
|
1065
|
+
/**
|
|
1066
|
+
* In case the ChatPersistenceMeta found by the `where` argument doesn't exist, create a new ChatPersistenceMeta with this data.
|
|
1067
|
+
*/
|
|
1068
|
+
create: Prisma.XOR<Prisma.ChatPersistenceMetaCreateInput, Prisma.ChatPersistenceMetaUncheckedCreateInput>
|
|
1069
|
+
/**
|
|
1070
|
+
* In case the ChatPersistenceMeta was found with the provided `where` argument, update it with this data.
|
|
1071
|
+
*/
|
|
1072
|
+
update: Prisma.XOR<Prisma.ChatPersistenceMetaUpdateInput, Prisma.ChatPersistenceMetaUncheckedUpdateInput>
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
/**
|
|
1076
|
+
* ChatPersistenceMeta delete
|
|
1077
|
+
*/
|
|
1078
|
+
export type ChatPersistenceMetaDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1079
|
+
/**
|
|
1080
|
+
* Select specific fields to fetch from the ChatPersistenceMeta
|
|
1081
|
+
*/
|
|
1082
|
+
select?: Prisma.ChatPersistenceMetaSelect<ExtArgs> | null
|
|
1083
|
+
/**
|
|
1084
|
+
* Omit specific fields from the ChatPersistenceMeta
|
|
1085
|
+
*/
|
|
1086
|
+
omit?: Prisma.ChatPersistenceMetaOmit<ExtArgs> | null
|
|
1087
|
+
/**
|
|
1088
|
+
* Filter which ChatPersistenceMeta to delete.
|
|
1089
|
+
*/
|
|
1090
|
+
where: Prisma.ChatPersistenceMetaWhereUniqueInput
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
/**
|
|
1094
|
+
* ChatPersistenceMeta deleteMany
|
|
1095
|
+
*/
|
|
1096
|
+
export type ChatPersistenceMetaDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1097
|
+
/**
|
|
1098
|
+
* Filter which ChatPersistenceMetas to delete
|
|
1099
|
+
*/
|
|
1100
|
+
where?: Prisma.ChatPersistenceMetaWhereInput
|
|
1101
|
+
/**
|
|
1102
|
+
* Limit how many ChatPersistenceMetas to delete.
|
|
1103
|
+
*/
|
|
1104
|
+
limit?: number
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
/**
|
|
1108
|
+
* ChatPersistenceMeta without action
|
|
1109
|
+
*/
|
|
1110
|
+
export type ChatPersistenceMetaDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1111
|
+
/**
|
|
1112
|
+
* Select specific fields to fetch from the ChatPersistenceMeta
|
|
1113
|
+
*/
|
|
1114
|
+
select?: Prisma.ChatPersistenceMetaSelect<ExtArgs> | null
|
|
1115
|
+
/**
|
|
1116
|
+
* Omit specific fields from the ChatPersistenceMeta
|
|
1117
|
+
*/
|
|
1118
|
+
omit?: Prisma.ChatPersistenceMetaOmit<ExtArgs> | null
|
|
1119
|
+
}
|