@allbluecn/database 0.10.1 → 0.12.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/generated/internal/class.ts +4 -4
- package/generated/internal/prismaNamespace.ts +4 -1
- package/generated/internal/prismaNamespaceBrowser.ts +4 -1
- package/generated/models/Label.ts +199 -3
- package/generated/models/Plan.ts +77 -1
- package/generated/models/Project.ts +264 -0
- package/index.ts +14 -17
- package/migrations/20261029000000_plan_install_blob_quota/migration.sql +3 -0
- package/migrations/20261029000001_label_project_ownership/migration.sql +16 -0
- package/package.json +29 -21
- package/pglite-init.ts +75 -0
- package/schema.prisma +12 -1
- package/LICENSE +0 -661
- package/desktop-init.ts +0 -162
- package/generated-sqlite/browser.ts +0 -499
- package/generated-sqlite/client.ts +0 -523
- package/generated-sqlite/commonInputTypes.ts +0 -722
- package/generated-sqlite/enums.ts +0 -15
- package/generated-sqlite/internal/class.ts +0 -1154
- package/generated-sqlite/internal/prismaNamespace.ts +0 -9574
- package/generated-sqlite/internal/prismaNamespaceBrowser.ts +0 -1759
- package/generated-sqlite/models/AgentConversation.ts +0 -1647
- package/generated-sqlite/models/AgentMessage.ts +0 -1406
- package/generated-sqlite/models/AiProvider.ts +0 -1605
- package/generated-sqlite/models/AiProviderConfig.ts +0 -1610
- package/generated-sqlite/models/AiStreamChunk.ts +0 -1157
- package/generated-sqlite/models/AiUsageLog.ts +0 -1905
- package/generated-sqlite/models/AnyHubApp.ts +0 -1908
- package/generated-sqlite/models/AnyHubMarketApp.ts +0 -1997
- package/generated-sqlite/models/AnyHubPermission.ts +0 -1419
- package/generated-sqlite/models/AnyHubRecommendation.ts +0 -1867
- package/generated-sqlite/models/AnyHubRecommender.ts +0 -1467
- package/generated-sqlite/models/ArticleFavorite.ts +0 -1349
- package/generated-sqlite/models/AuditLog.ts +0 -1287
- package/generated-sqlite/models/Blob.ts +0 -1425
- package/generated-sqlite/models/Block.ts +0 -1648
- package/generated-sqlite/models/BlockComponent.ts +0 -1730
- package/generated-sqlite/models/BlockInstance.ts +0 -2039
- package/generated-sqlite/models/BookmarkCategory.ts +0 -1667
- package/generated-sqlite/models/BusinessAgentBinding.ts +0 -1549
- package/generated-sqlite/models/ChatInterrupt.ts +0 -1736
- package/generated-sqlite/models/ChatMessage.ts +0 -1464
- package/generated-sqlite/models/ChatPersistenceMeta.ts +0 -1119
- package/generated-sqlite/models/ChatRun.ts +0 -1802
- package/generated-sqlite/models/ChatThread.ts +0 -2417
- package/generated-sqlite/models/CodeSnippet.ts +0 -1552
- package/generated-sqlite/models/Comment.ts +0 -2201
- package/generated-sqlite/models/CommentIgnore.ts +0 -1426
- package/generated-sqlite/models/ComplianceExport.ts +0 -1343
- package/generated-sqlite/models/Component.ts +0 -2132
- package/generated-sqlite/models/ComponentInstance.ts +0 -2097
- package/generated-sqlite/models/CustomRole.ts +0 -1209
- package/generated-sqlite/models/Design.ts +0 -2497
- package/generated-sqlite/models/DesignPage.ts +0 -2398
- package/generated-sqlite/models/DesignVersion.ts +0 -2117
- package/generated-sqlite/models/DesktopSetting.ts +0 -1057
- package/generated-sqlite/models/DeveloperLog.ts +0 -1281
- package/generated-sqlite/models/DictionaryTerm.ts +0 -1639
- package/generated-sqlite/models/EmailLog.ts +0 -1343
- package/generated-sqlite/models/EmailPreference.ts +0 -1255
- package/generated-sqlite/models/EmailSubscriber.ts +0 -1231
- package/generated-sqlite/models/EmailVerificationToken.ts +0 -1377
- package/generated-sqlite/models/GenerationRun.ts +0 -1732
- package/generated-sqlite/models/HarnessPlugin.ts +0 -1666
- package/generated-sqlite/models/HarnessWorkspace.ts +0 -1647
- package/generated-sqlite/models/IndustryCompliance.ts +0 -1794
- package/generated-sqlite/models/InvitationCode.ts +0 -1471
- package/generated-sqlite/models/InvitationUse.ts +0 -1420
- package/generated-sqlite/models/Invoice.ts +0 -1707
- package/generated-sqlite/models/Iteration.ts +0 -1874
- package/generated-sqlite/models/IterationAutoSchedule.ts +0 -1483
- package/generated-sqlite/models/KnowledgeBase.ts +0 -2238
- package/generated-sqlite/models/KnowledgeDocument.ts +0 -2450
- package/generated-sqlite/models/KnowledgeShareRecord.ts +0 -1349
- package/generated-sqlite/models/LegalRegulation.ts +0 -1905
- package/generated-sqlite/models/LicenseActivation.ts +0 -1203
- package/generated-sqlite/models/LicenseKey.ts +0 -1443
- package/generated-sqlite/models/LoginLog.ts +0 -1447
- package/generated-sqlite/models/NotificationPreference.ts +0 -1313
- package/generated-sqlite/models/OAuthProviderConfig.ts +0 -1225
- package/generated-sqlite/models/PageVersion.ts +0 -1520
- package/generated-sqlite/models/PasswordResetToken.ts +0 -1377
- package/generated-sqlite/models/Plan.ts +0 -2174
- package/generated-sqlite/models/Project.ts +0 -2628
- package/generated-sqlite/models/ProjectActivity.ts +0 -1578
- package/generated-sqlite/models/ProjectKnowledgeBase.ts +0 -1426
- package/generated-sqlite/models/ProjectMember.ts +0 -1508
- package/generated-sqlite/models/ProviderEvent.ts +0 -1225
- package/generated-sqlite/models/Reference.ts +0 -1175
- package/generated-sqlite/models/Review.ts +0 -1903
- package/generated-sqlite/models/ReviewComment.ts +0 -1899
- package/generated-sqlite/models/RoleAssignment.ts +0 -1125
- package/generated-sqlite/models/SandboxInstance.ts +0 -1283
- package/generated-sqlite/models/Share.ts +0 -1674
- package/generated-sqlite/models/ShareVersion.ts +0 -1385
- package/generated-sqlite/models/SsoMapping.ts +0 -1181
- package/generated-sqlite/models/SsoProvider.ts +0 -1266
- package/generated-sqlite/models/Story.ts +0 -3263
- package/generated-sqlite/models/Subscription.ts +0 -2137
- package/generated-sqlite/models/SystemPromptTemplate.ts +0 -1581
- package/generated-sqlite/models/SystemPromptVersion.ts +0 -1456
- package/generated-sqlite/models/SystemSetting.ts +0 -1215
- package/generated-sqlite/models/TeamInvitation.ts +0 -1758
- package/generated-sqlite/models/TeamJoinRequest.ts +0 -1793
- package/generated-sqlite/models/TeamMembership.ts +0 -1433
- package/generated-sqlite/models/Template.ts +0 -1389
- package/generated-sqlite/models/TemplateBlock.ts +0 -1660
- package/generated-sqlite/models/ThirdPartyDependency.ts +0 -1471
- package/generated-sqlite/models/UsageRecord.ts +0 -1498
- package/generated-sqlite/models/User.ts +0 -21247
- package/generated-sqlite/models/UserAgent.ts +0 -2146
- package/generated-sqlite/models/UserSkill.ts +0 -1453
- package/generated-sqlite/models/WebsiteBookmark.ts +0 -2215
- package/generated-sqlite/models/Workspace.ts +0 -2341
- package/generated-sqlite/models/WorkspaceFile.ts +0 -1532
- package/generated-sqlite/models/WorkspaceKnowledgeBase.ts +0 -1426
- package/generated-sqlite/models/WorkspaceQuickDoc.ts +0 -2025
- package/generated-sqlite/models.ts +0 -107
- package/schema.sqlite.prisma +0 -2043
|
@@ -1,523 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// biome-ignore-all lint: generated file
|
|
5
|
-
// @ts-nocheck
|
|
6
|
-
/*
|
|
7
|
-
* This file should be your main import to use Prisma. Through it you get access to all the models, enums, and input types.
|
|
8
|
-
* If you're looking for something you can import in the client-side of your application, please refer to the `browser.ts` file instead.
|
|
9
|
-
*
|
|
10
|
-
* 🟢 You can import this file directly.
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
import * as process from 'node:process'
|
|
14
|
-
import * as path from 'node:path'
|
|
15
|
-
import { fileURLToPath } from 'node:url'
|
|
16
|
-
globalThis['__dirname'] = path.dirname(fileURLToPath(import.meta.url))
|
|
17
|
-
|
|
18
|
-
import * as runtime from "@prisma/client/runtime/client"
|
|
19
|
-
import * as $Enums from "./enums.ts"
|
|
20
|
-
import * as $Class from "./internal/class.ts"
|
|
21
|
-
import * as Prisma from "./internal/prismaNamespace.ts"
|
|
22
|
-
|
|
23
|
-
export * as $Enums from './enums.ts'
|
|
24
|
-
export * from "./enums.ts"
|
|
25
|
-
/**
|
|
26
|
-
* ## Prisma Client
|
|
27
|
-
*
|
|
28
|
-
* Type-safe database client for TypeScript
|
|
29
|
-
* @example
|
|
30
|
-
* ```
|
|
31
|
-
* const prisma = new PrismaClient({
|
|
32
|
-
* adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL })
|
|
33
|
-
* })
|
|
34
|
-
* // Fetch zero or more SystemSettings
|
|
35
|
-
* const systemSettings = await prisma.systemSetting.findMany()
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* Read more in our [docs](https://pris.ly/d/client).
|
|
39
|
-
*/
|
|
40
|
-
export const PrismaClient = $Class.getPrismaClientClass()
|
|
41
|
-
export type PrismaClient<LogOpts extends Prisma.LogLevel = never, OmitOpts extends Prisma.PrismaClientOptions["omit"] = Prisma.PrismaClientOptions["omit"], ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = $Class.PrismaClient<LogOpts, OmitOpts, ExtArgs>
|
|
42
|
-
export { Prisma }
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Model SystemSetting
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
|
-
export type SystemSetting = Prisma.SystemSettingModel
|
|
49
|
-
/**
|
|
50
|
-
* Model User
|
|
51
|
-
*
|
|
52
|
-
*/
|
|
53
|
-
export type User = Prisma.UserModel
|
|
54
|
-
/**
|
|
55
|
-
* Model Project
|
|
56
|
-
*
|
|
57
|
-
*/
|
|
58
|
-
export type Project = Prisma.ProjectModel
|
|
59
|
-
/**
|
|
60
|
-
* Model ProjectMember
|
|
61
|
-
*
|
|
62
|
-
*/
|
|
63
|
-
export type ProjectMember = Prisma.ProjectMemberModel
|
|
64
|
-
/**
|
|
65
|
-
* Model Workspace
|
|
66
|
-
*
|
|
67
|
-
*/
|
|
68
|
-
export type Workspace = Prisma.WorkspaceModel
|
|
69
|
-
/**
|
|
70
|
-
* Model TeamMembership
|
|
71
|
-
*
|
|
72
|
-
*/
|
|
73
|
-
export type TeamMembership = Prisma.TeamMembershipModel
|
|
74
|
-
/**
|
|
75
|
-
* Model TeamInvitation
|
|
76
|
-
*
|
|
77
|
-
*/
|
|
78
|
-
export type TeamInvitation = Prisma.TeamInvitationModel
|
|
79
|
-
/**
|
|
80
|
-
* Model TeamJoinRequest
|
|
81
|
-
*
|
|
82
|
-
*/
|
|
83
|
-
export type TeamJoinRequest = Prisma.TeamJoinRequestModel
|
|
84
|
-
/**
|
|
85
|
-
* Model ProjectActivity
|
|
86
|
-
*
|
|
87
|
-
*/
|
|
88
|
-
export type ProjectActivity = Prisma.ProjectActivityModel
|
|
89
|
-
/**
|
|
90
|
-
* Model ChatThread
|
|
91
|
-
*
|
|
92
|
-
*/
|
|
93
|
-
export type ChatThread = Prisma.ChatThreadModel
|
|
94
|
-
/**
|
|
95
|
-
* Model ChatMessage
|
|
96
|
-
*
|
|
97
|
-
*/
|
|
98
|
-
export type ChatMessage = Prisma.ChatMessageModel
|
|
99
|
-
/**
|
|
100
|
-
* Model ChatRun
|
|
101
|
-
*
|
|
102
|
-
*/
|
|
103
|
-
export type ChatRun = Prisma.ChatRunModel
|
|
104
|
-
/**
|
|
105
|
-
* Model ChatInterrupt
|
|
106
|
-
*
|
|
107
|
-
*/
|
|
108
|
-
export type ChatInterrupt = Prisma.ChatInterruptModel
|
|
109
|
-
/**
|
|
110
|
-
* Model ChatPersistenceMeta
|
|
111
|
-
*
|
|
112
|
-
*/
|
|
113
|
-
export type ChatPersistenceMeta = Prisma.ChatPersistenceMetaModel
|
|
114
|
-
/**
|
|
115
|
-
* Model HarnessPlugin
|
|
116
|
-
*
|
|
117
|
-
*/
|
|
118
|
-
export type HarnessPlugin = Prisma.HarnessPluginModel
|
|
119
|
-
/**
|
|
120
|
-
* Model SystemPromptTemplate
|
|
121
|
-
*
|
|
122
|
-
*/
|
|
123
|
-
export type SystemPromptTemplate = Prisma.SystemPromptTemplateModel
|
|
124
|
-
/**
|
|
125
|
-
* Model SystemPromptVersion
|
|
126
|
-
*
|
|
127
|
-
*/
|
|
128
|
-
export type SystemPromptVersion = Prisma.SystemPromptVersionModel
|
|
129
|
-
/**
|
|
130
|
-
* Model BusinessAgentBinding
|
|
131
|
-
*
|
|
132
|
-
*/
|
|
133
|
-
export type BusinessAgentBinding = Prisma.BusinessAgentBindingModel
|
|
134
|
-
/**
|
|
135
|
-
* Model GenerationRun
|
|
136
|
-
*
|
|
137
|
-
*/
|
|
138
|
-
export type GenerationRun = Prisma.GenerationRunModel
|
|
139
|
-
/**
|
|
140
|
-
* Model LoginLog
|
|
141
|
-
*
|
|
142
|
-
*/
|
|
143
|
-
export type LoginLog = Prisma.LoginLogModel
|
|
144
|
-
/**
|
|
145
|
-
* Model InvitationCode
|
|
146
|
-
*
|
|
147
|
-
*/
|
|
148
|
-
export type InvitationCode = Prisma.InvitationCodeModel
|
|
149
|
-
/**
|
|
150
|
-
* Model InvitationUse
|
|
151
|
-
*
|
|
152
|
-
*/
|
|
153
|
-
export type InvitationUse = Prisma.InvitationUseModel
|
|
154
|
-
/**
|
|
155
|
-
* Model PasswordResetToken
|
|
156
|
-
*
|
|
157
|
-
*/
|
|
158
|
-
export type PasswordResetToken = Prisma.PasswordResetTokenModel
|
|
159
|
-
/**
|
|
160
|
-
* Model EmailVerificationToken
|
|
161
|
-
*
|
|
162
|
-
*/
|
|
163
|
-
export type EmailVerificationToken = Prisma.EmailVerificationTokenModel
|
|
164
|
-
/**
|
|
165
|
-
* Model EmailLog
|
|
166
|
-
*
|
|
167
|
-
*/
|
|
168
|
-
export type EmailLog = Prisma.EmailLogModel
|
|
169
|
-
/**
|
|
170
|
-
* Model EmailPreference
|
|
171
|
-
*
|
|
172
|
-
*/
|
|
173
|
-
export type EmailPreference = Prisma.EmailPreferenceModel
|
|
174
|
-
/**
|
|
175
|
-
* Model OAuthProviderConfig
|
|
176
|
-
*
|
|
177
|
-
*/
|
|
178
|
-
export type OAuthProviderConfig = Prisma.OAuthProviderConfigModel
|
|
179
|
-
/**
|
|
180
|
-
* Model EmailSubscriber
|
|
181
|
-
*
|
|
182
|
-
*/
|
|
183
|
-
export type EmailSubscriber = Prisma.EmailSubscriberModel
|
|
184
|
-
/**
|
|
185
|
-
* Model KnowledgeBase
|
|
186
|
-
*
|
|
187
|
-
*/
|
|
188
|
-
export type KnowledgeBase = Prisma.KnowledgeBaseModel
|
|
189
|
-
/**
|
|
190
|
-
* Model ProjectKnowledgeBase
|
|
191
|
-
*
|
|
192
|
-
*/
|
|
193
|
-
export type ProjectKnowledgeBase = Prisma.ProjectKnowledgeBaseModel
|
|
194
|
-
/**
|
|
195
|
-
* Model WorkspaceKnowledgeBase
|
|
196
|
-
*
|
|
197
|
-
*/
|
|
198
|
-
export type WorkspaceKnowledgeBase = Prisma.WorkspaceKnowledgeBaseModel
|
|
199
|
-
/**
|
|
200
|
-
* Model WorkspaceQuickDoc
|
|
201
|
-
*
|
|
202
|
-
*/
|
|
203
|
-
export type WorkspaceQuickDoc = Prisma.WorkspaceQuickDocModel
|
|
204
|
-
/**
|
|
205
|
-
* Model KnowledgeDocument
|
|
206
|
-
*
|
|
207
|
-
*/
|
|
208
|
-
export type KnowledgeDocument = Prisma.KnowledgeDocumentModel
|
|
209
|
-
/**
|
|
210
|
-
* Model Design
|
|
211
|
-
*
|
|
212
|
-
*/
|
|
213
|
-
export type Design = Prisma.DesignModel
|
|
214
|
-
/**
|
|
215
|
-
* Model AgentConversation
|
|
216
|
-
*
|
|
217
|
-
*/
|
|
218
|
-
export type AgentConversation = Prisma.AgentConversationModel
|
|
219
|
-
/**
|
|
220
|
-
* Model AgentMessage
|
|
221
|
-
*
|
|
222
|
-
*/
|
|
223
|
-
export type AgentMessage = Prisma.AgentMessageModel
|
|
224
|
-
/**
|
|
225
|
-
* Model Component
|
|
226
|
-
*
|
|
227
|
-
*/
|
|
228
|
-
export type Component = Prisma.ComponentModel
|
|
229
|
-
/**
|
|
230
|
-
* Model Block
|
|
231
|
-
*
|
|
232
|
-
*/
|
|
233
|
-
export type Block = Prisma.BlockModel
|
|
234
|
-
/**
|
|
235
|
-
* Model BlockComponent
|
|
236
|
-
*
|
|
237
|
-
*/
|
|
238
|
-
export type BlockComponent = Prisma.BlockComponentModel
|
|
239
|
-
/**
|
|
240
|
-
* Model Template
|
|
241
|
-
*
|
|
242
|
-
*/
|
|
243
|
-
export type Template = Prisma.TemplateModel
|
|
244
|
-
/**
|
|
245
|
-
* Model TemplateBlock
|
|
246
|
-
*
|
|
247
|
-
*/
|
|
248
|
-
export type TemplateBlock = Prisma.TemplateBlockModel
|
|
249
|
-
/**
|
|
250
|
-
* Model DesignPage
|
|
251
|
-
*
|
|
252
|
-
*/
|
|
253
|
-
export type DesignPage = Prisma.DesignPageModel
|
|
254
|
-
/**
|
|
255
|
-
* Model ComponentInstance
|
|
256
|
-
*
|
|
257
|
-
*/
|
|
258
|
-
export type ComponentInstance = Prisma.ComponentInstanceModel
|
|
259
|
-
/**
|
|
260
|
-
* Model BlockInstance
|
|
261
|
-
*
|
|
262
|
-
*/
|
|
263
|
-
export type BlockInstance = Prisma.BlockInstanceModel
|
|
264
|
-
/**
|
|
265
|
-
* Model DesignVersion
|
|
266
|
-
*
|
|
267
|
-
*/
|
|
268
|
-
export type DesignVersion = Prisma.DesignVersionModel
|
|
269
|
-
/**
|
|
270
|
-
* Model PageVersion
|
|
271
|
-
*
|
|
272
|
-
*/
|
|
273
|
-
export type PageVersion = Prisma.PageVersionModel
|
|
274
|
-
/**
|
|
275
|
-
* Model Review
|
|
276
|
-
*
|
|
277
|
-
*/
|
|
278
|
-
export type Review = Prisma.ReviewModel
|
|
279
|
-
/**
|
|
280
|
-
* Model ReviewComment
|
|
281
|
-
*
|
|
282
|
-
*/
|
|
283
|
-
export type ReviewComment = Prisma.ReviewCommentModel
|
|
284
|
-
/**
|
|
285
|
-
* Model Comment
|
|
286
|
-
*
|
|
287
|
-
*/
|
|
288
|
-
export type Comment = Prisma.CommentModel
|
|
289
|
-
/**
|
|
290
|
-
* Model CommentIgnore
|
|
291
|
-
*
|
|
292
|
-
*/
|
|
293
|
-
export type CommentIgnore = Prisma.CommentIgnoreModel
|
|
294
|
-
/**
|
|
295
|
-
* Model Share
|
|
296
|
-
*
|
|
297
|
-
*/
|
|
298
|
-
export type Share = Prisma.ShareModel
|
|
299
|
-
/**
|
|
300
|
-
* Model Reference
|
|
301
|
-
*
|
|
302
|
-
*/
|
|
303
|
-
export type Reference = Prisma.ReferenceModel
|
|
304
|
-
/**
|
|
305
|
-
* Model ShareVersion
|
|
306
|
-
*
|
|
307
|
-
*/
|
|
308
|
-
export type ShareVersion = Prisma.ShareVersionModel
|
|
309
|
-
/**
|
|
310
|
-
* Model AnyHubApp
|
|
311
|
-
*
|
|
312
|
-
*/
|
|
313
|
-
export type AnyHubApp = Prisma.AnyHubAppModel
|
|
314
|
-
/**
|
|
315
|
-
* Model AnyHubPermission
|
|
316
|
-
*
|
|
317
|
-
*/
|
|
318
|
-
export type AnyHubPermission = Prisma.AnyHubPermissionModel
|
|
319
|
-
/**
|
|
320
|
-
* Model AnyHubMarketApp
|
|
321
|
-
*
|
|
322
|
-
*/
|
|
323
|
-
export type AnyHubMarketApp = Prisma.AnyHubMarketAppModel
|
|
324
|
-
/**
|
|
325
|
-
* Model AnyHubRecommendation
|
|
326
|
-
*
|
|
327
|
-
*/
|
|
328
|
-
export type AnyHubRecommendation = Prisma.AnyHubRecommendationModel
|
|
329
|
-
/**
|
|
330
|
-
* Model AnyHubRecommender
|
|
331
|
-
*
|
|
332
|
-
*/
|
|
333
|
-
export type AnyHubRecommender = Prisma.AnyHubRecommenderModel
|
|
334
|
-
/**
|
|
335
|
-
* Model AiProvider
|
|
336
|
-
*
|
|
337
|
-
*/
|
|
338
|
-
export type AiProvider = Prisma.AiProviderModel
|
|
339
|
-
/**
|
|
340
|
-
* Model AiProviderConfig
|
|
341
|
-
*
|
|
342
|
-
*/
|
|
343
|
-
export type AiProviderConfig = Prisma.AiProviderConfigModel
|
|
344
|
-
/**
|
|
345
|
-
* Model ThirdPartyDependency
|
|
346
|
-
*
|
|
347
|
-
*/
|
|
348
|
-
export type ThirdPartyDependency = Prisma.ThirdPartyDependencyModel
|
|
349
|
-
/**
|
|
350
|
-
* Model LegalRegulation
|
|
351
|
-
*
|
|
352
|
-
*/
|
|
353
|
-
export type LegalRegulation = Prisma.LegalRegulationModel
|
|
354
|
-
/**
|
|
355
|
-
* Model IndustryCompliance
|
|
356
|
-
*
|
|
357
|
-
*/
|
|
358
|
-
export type IndustryCompliance = Prisma.IndustryComplianceModel
|
|
359
|
-
/**
|
|
360
|
-
* Model DictionaryTerm
|
|
361
|
-
*
|
|
362
|
-
*/
|
|
363
|
-
export type DictionaryTerm = Prisma.DictionaryTermModel
|
|
364
|
-
/**
|
|
365
|
-
* Model WebsiteBookmark
|
|
366
|
-
*
|
|
367
|
-
*/
|
|
368
|
-
export type WebsiteBookmark = Prisma.WebsiteBookmarkModel
|
|
369
|
-
/**
|
|
370
|
-
* Model BookmarkCategory
|
|
371
|
-
*
|
|
372
|
-
*/
|
|
373
|
-
export type BookmarkCategory = Prisma.BookmarkCategoryModel
|
|
374
|
-
/**
|
|
375
|
-
* Model KnowledgeShareRecord
|
|
376
|
-
*
|
|
377
|
-
*/
|
|
378
|
-
export type KnowledgeShareRecord = Prisma.KnowledgeShareRecordModel
|
|
379
|
-
/**
|
|
380
|
-
* Model ArticleFavorite
|
|
381
|
-
*
|
|
382
|
-
*/
|
|
383
|
-
export type ArticleFavorite = Prisma.ArticleFavoriteModel
|
|
384
|
-
/**
|
|
385
|
-
* Model Plan
|
|
386
|
-
* 订阅计划定义(seed 数据)
|
|
387
|
-
*/
|
|
388
|
-
export type Plan = Prisma.PlanModel
|
|
389
|
-
/**
|
|
390
|
-
* Model Subscription
|
|
391
|
-
* 订阅记录(User 级,一人一订阅)
|
|
392
|
-
*/
|
|
393
|
-
export type Subscription = Prisma.SubscriptionModel
|
|
394
|
-
/**
|
|
395
|
-
* Model UsageRecord
|
|
396
|
-
* 用量记录(按月聚合,用于额度判断)
|
|
397
|
-
*/
|
|
398
|
-
export type UsageRecord = Prisma.UsageRecordModel
|
|
399
|
-
/**
|
|
400
|
-
* Model AiUsageLog
|
|
401
|
-
* AI 用量明细(按次扣减 + 成本审计)
|
|
402
|
-
*/
|
|
403
|
-
export type AiUsageLog = Prisma.AiUsageLogModel
|
|
404
|
-
/**
|
|
405
|
-
* Model Invoice
|
|
406
|
-
* 账单记录(Webhook 同步)
|
|
407
|
-
*/
|
|
408
|
-
export type Invoice = Prisma.InvoiceModel
|
|
409
|
-
/**
|
|
410
|
-
* Model ProviderEvent
|
|
411
|
-
* Provider Webhook 事件幂等记录
|
|
412
|
-
*/
|
|
413
|
-
export type ProviderEvent = Prisma.ProviderEventModel
|
|
414
|
-
/**
|
|
415
|
-
* Model LicenseKey
|
|
416
|
-
*
|
|
417
|
-
*/
|
|
418
|
-
export type LicenseKey = Prisma.LicenseKeyModel
|
|
419
|
-
/**
|
|
420
|
-
* Model LicenseActivation
|
|
421
|
-
*
|
|
422
|
-
*/
|
|
423
|
-
export type LicenseActivation = Prisma.LicenseActivationModel
|
|
424
|
-
/**
|
|
425
|
-
* Model AuditLog
|
|
426
|
-
*
|
|
427
|
-
*/
|
|
428
|
-
export type AuditLog = Prisma.AuditLogModel
|
|
429
|
-
/**
|
|
430
|
-
* Model SsoProvider
|
|
431
|
-
*
|
|
432
|
-
*/
|
|
433
|
-
export type SsoProvider = Prisma.SsoProviderModel
|
|
434
|
-
/**
|
|
435
|
-
* Model SsoMapping
|
|
436
|
-
*
|
|
437
|
-
*/
|
|
438
|
-
export type SsoMapping = Prisma.SsoMappingModel
|
|
439
|
-
/**
|
|
440
|
-
* Model CustomRole
|
|
441
|
-
*
|
|
442
|
-
*/
|
|
443
|
-
export type CustomRole = Prisma.CustomRoleModel
|
|
444
|
-
/**
|
|
445
|
-
* Model RoleAssignment
|
|
446
|
-
*
|
|
447
|
-
*/
|
|
448
|
-
export type RoleAssignment = Prisma.RoleAssignmentModel
|
|
449
|
-
/**
|
|
450
|
-
* Model ComplianceExport
|
|
451
|
-
*
|
|
452
|
-
*/
|
|
453
|
-
export type ComplianceExport = Prisma.ComplianceExportModel
|
|
454
|
-
/**
|
|
455
|
-
* Model UserAgent
|
|
456
|
-
*
|
|
457
|
-
*/
|
|
458
|
-
export type UserAgent = Prisma.UserAgentModel
|
|
459
|
-
/**
|
|
460
|
-
* Model UserSkill
|
|
461
|
-
*
|
|
462
|
-
*/
|
|
463
|
-
export type UserSkill = Prisma.UserSkillModel
|
|
464
|
-
/**
|
|
465
|
-
* Model DeveloperLog
|
|
466
|
-
*
|
|
467
|
-
*/
|
|
468
|
-
export type DeveloperLog = Prisma.DeveloperLogModel
|
|
469
|
-
/**
|
|
470
|
-
* Model Story
|
|
471
|
-
*
|
|
472
|
-
*/
|
|
473
|
-
export type Story = Prisma.StoryModel
|
|
474
|
-
/**
|
|
475
|
-
* Model Iteration
|
|
476
|
-
*
|
|
477
|
-
*/
|
|
478
|
-
export type Iteration = Prisma.IterationModel
|
|
479
|
-
/**
|
|
480
|
-
* Model IterationAutoSchedule
|
|
481
|
-
*
|
|
482
|
-
*/
|
|
483
|
-
export type IterationAutoSchedule = Prisma.IterationAutoScheduleModel
|
|
484
|
-
/**
|
|
485
|
-
* Model NotificationPreference
|
|
486
|
-
*
|
|
487
|
-
*/
|
|
488
|
-
export type NotificationPreference = Prisma.NotificationPreferenceModel
|
|
489
|
-
/**
|
|
490
|
-
* Model CodeSnippet
|
|
491
|
-
*
|
|
492
|
-
*/
|
|
493
|
-
export type CodeSnippet = Prisma.CodeSnippetModel
|
|
494
|
-
/**
|
|
495
|
-
* Model SandboxInstance
|
|
496
|
-
*
|
|
497
|
-
*/
|
|
498
|
-
export type SandboxInstance = Prisma.SandboxInstanceModel
|
|
499
|
-
/**
|
|
500
|
-
* Model AiStreamChunk
|
|
501
|
-
*
|
|
502
|
-
*/
|
|
503
|
-
export type AiStreamChunk = Prisma.AiStreamChunkModel
|
|
504
|
-
/**
|
|
505
|
-
* Model DesktopSetting
|
|
506
|
-
*
|
|
507
|
-
*/
|
|
508
|
-
export type DesktopSetting = Prisma.DesktopSettingModel
|
|
509
|
-
/**
|
|
510
|
-
* Model HarnessWorkspace
|
|
511
|
-
* Harness 工作区(云端持久化文件区 + 业务数据视图入口)
|
|
512
|
-
*/
|
|
513
|
-
export type HarnessWorkspace = Prisma.HarnessWorkspaceModel
|
|
514
|
-
/**
|
|
515
|
-
* Model WorkspaceFile
|
|
516
|
-
* 工作区文件(上传文件 + AI 生成物 + 沙箱产出)
|
|
517
|
-
*/
|
|
518
|
-
export type WorkspaceFile = Prisma.WorkspaceFileModel
|
|
519
|
-
/**
|
|
520
|
-
* Model Blob
|
|
521
|
-
*
|
|
522
|
-
*/
|
|
523
|
-
export type Blob = Prisma.BlobModel
|