@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.
Files changed (119) hide show
  1. package/generated/internal/class.ts +4 -4
  2. package/generated/internal/prismaNamespace.ts +4 -1
  3. package/generated/internal/prismaNamespaceBrowser.ts +4 -1
  4. package/generated/models/Label.ts +199 -3
  5. package/generated/models/Plan.ts +77 -1
  6. package/generated/models/Project.ts +264 -0
  7. package/index.ts +14 -17
  8. package/migrations/20261029000000_plan_install_blob_quota/migration.sql +3 -0
  9. package/migrations/20261029000001_label_project_ownership/migration.sql +16 -0
  10. package/package.json +29 -21
  11. package/pglite-init.ts +75 -0
  12. package/schema.prisma +12 -1
  13. package/LICENSE +0 -661
  14. package/desktop-init.ts +0 -162
  15. package/generated-sqlite/browser.ts +0 -499
  16. package/generated-sqlite/client.ts +0 -523
  17. package/generated-sqlite/commonInputTypes.ts +0 -722
  18. package/generated-sqlite/enums.ts +0 -15
  19. package/generated-sqlite/internal/class.ts +0 -1154
  20. package/generated-sqlite/internal/prismaNamespace.ts +0 -9574
  21. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +0 -1759
  22. package/generated-sqlite/models/AgentConversation.ts +0 -1647
  23. package/generated-sqlite/models/AgentMessage.ts +0 -1406
  24. package/generated-sqlite/models/AiProvider.ts +0 -1605
  25. package/generated-sqlite/models/AiProviderConfig.ts +0 -1610
  26. package/generated-sqlite/models/AiStreamChunk.ts +0 -1157
  27. package/generated-sqlite/models/AiUsageLog.ts +0 -1905
  28. package/generated-sqlite/models/AnyHubApp.ts +0 -1908
  29. package/generated-sqlite/models/AnyHubMarketApp.ts +0 -1997
  30. package/generated-sqlite/models/AnyHubPermission.ts +0 -1419
  31. package/generated-sqlite/models/AnyHubRecommendation.ts +0 -1867
  32. package/generated-sqlite/models/AnyHubRecommender.ts +0 -1467
  33. package/generated-sqlite/models/ArticleFavorite.ts +0 -1349
  34. package/generated-sqlite/models/AuditLog.ts +0 -1287
  35. package/generated-sqlite/models/Blob.ts +0 -1425
  36. package/generated-sqlite/models/Block.ts +0 -1648
  37. package/generated-sqlite/models/BlockComponent.ts +0 -1730
  38. package/generated-sqlite/models/BlockInstance.ts +0 -2039
  39. package/generated-sqlite/models/BookmarkCategory.ts +0 -1667
  40. package/generated-sqlite/models/BusinessAgentBinding.ts +0 -1549
  41. package/generated-sqlite/models/ChatInterrupt.ts +0 -1736
  42. package/generated-sqlite/models/ChatMessage.ts +0 -1464
  43. package/generated-sqlite/models/ChatPersistenceMeta.ts +0 -1119
  44. package/generated-sqlite/models/ChatRun.ts +0 -1802
  45. package/generated-sqlite/models/ChatThread.ts +0 -2417
  46. package/generated-sqlite/models/CodeSnippet.ts +0 -1552
  47. package/generated-sqlite/models/Comment.ts +0 -2201
  48. package/generated-sqlite/models/CommentIgnore.ts +0 -1426
  49. package/generated-sqlite/models/ComplianceExport.ts +0 -1343
  50. package/generated-sqlite/models/Component.ts +0 -2132
  51. package/generated-sqlite/models/ComponentInstance.ts +0 -2097
  52. package/generated-sqlite/models/CustomRole.ts +0 -1209
  53. package/generated-sqlite/models/Design.ts +0 -2497
  54. package/generated-sqlite/models/DesignPage.ts +0 -2398
  55. package/generated-sqlite/models/DesignVersion.ts +0 -2117
  56. package/generated-sqlite/models/DesktopSetting.ts +0 -1057
  57. package/generated-sqlite/models/DeveloperLog.ts +0 -1281
  58. package/generated-sqlite/models/DictionaryTerm.ts +0 -1639
  59. package/generated-sqlite/models/EmailLog.ts +0 -1343
  60. package/generated-sqlite/models/EmailPreference.ts +0 -1255
  61. package/generated-sqlite/models/EmailSubscriber.ts +0 -1231
  62. package/generated-sqlite/models/EmailVerificationToken.ts +0 -1377
  63. package/generated-sqlite/models/GenerationRun.ts +0 -1732
  64. package/generated-sqlite/models/HarnessPlugin.ts +0 -1666
  65. package/generated-sqlite/models/HarnessWorkspace.ts +0 -1647
  66. package/generated-sqlite/models/IndustryCompliance.ts +0 -1794
  67. package/generated-sqlite/models/InvitationCode.ts +0 -1471
  68. package/generated-sqlite/models/InvitationUse.ts +0 -1420
  69. package/generated-sqlite/models/Invoice.ts +0 -1707
  70. package/generated-sqlite/models/Iteration.ts +0 -1874
  71. package/generated-sqlite/models/IterationAutoSchedule.ts +0 -1483
  72. package/generated-sqlite/models/KnowledgeBase.ts +0 -2238
  73. package/generated-sqlite/models/KnowledgeDocument.ts +0 -2450
  74. package/generated-sqlite/models/KnowledgeShareRecord.ts +0 -1349
  75. package/generated-sqlite/models/LegalRegulation.ts +0 -1905
  76. package/generated-sqlite/models/LicenseActivation.ts +0 -1203
  77. package/generated-sqlite/models/LicenseKey.ts +0 -1443
  78. package/generated-sqlite/models/LoginLog.ts +0 -1447
  79. package/generated-sqlite/models/NotificationPreference.ts +0 -1313
  80. package/generated-sqlite/models/OAuthProviderConfig.ts +0 -1225
  81. package/generated-sqlite/models/PageVersion.ts +0 -1520
  82. package/generated-sqlite/models/PasswordResetToken.ts +0 -1377
  83. package/generated-sqlite/models/Plan.ts +0 -2174
  84. package/generated-sqlite/models/Project.ts +0 -2628
  85. package/generated-sqlite/models/ProjectActivity.ts +0 -1578
  86. package/generated-sqlite/models/ProjectKnowledgeBase.ts +0 -1426
  87. package/generated-sqlite/models/ProjectMember.ts +0 -1508
  88. package/generated-sqlite/models/ProviderEvent.ts +0 -1225
  89. package/generated-sqlite/models/Reference.ts +0 -1175
  90. package/generated-sqlite/models/Review.ts +0 -1903
  91. package/generated-sqlite/models/ReviewComment.ts +0 -1899
  92. package/generated-sqlite/models/RoleAssignment.ts +0 -1125
  93. package/generated-sqlite/models/SandboxInstance.ts +0 -1283
  94. package/generated-sqlite/models/Share.ts +0 -1674
  95. package/generated-sqlite/models/ShareVersion.ts +0 -1385
  96. package/generated-sqlite/models/SsoMapping.ts +0 -1181
  97. package/generated-sqlite/models/SsoProvider.ts +0 -1266
  98. package/generated-sqlite/models/Story.ts +0 -3263
  99. package/generated-sqlite/models/Subscription.ts +0 -2137
  100. package/generated-sqlite/models/SystemPromptTemplate.ts +0 -1581
  101. package/generated-sqlite/models/SystemPromptVersion.ts +0 -1456
  102. package/generated-sqlite/models/SystemSetting.ts +0 -1215
  103. package/generated-sqlite/models/TeamInvitation.ts +0 -1758
  104. package/generated-sqlite/models/TeamJoinRequest.ts +0 -1793
  105. package/generated-sqlite/models/TeamMembership.ts +0 -1433
  106. package/generated-sqlite/models/Template.ts +0 -1389
  107. package/generated-sqlite/models/TemplateBlock.ts +0 -1660
  108. package/generated-sqlite/models/ThirdPartyDependency.ts +0 -1471
  109. package/generated-sqlite/models/UsageRecord.ts +0 -1498
  110. package/generated-sqlite/models/User.ts +0 -21247
  111. package/generated-sqlite/models/UserAgent.ts +0 -2146
  112. package/generated-sqlite/models/UserSkill.ts +0 -1453
  113. package/generated-sqlite/models/WebsiteBookmark.ts +0 -2215
  114. package/generated-sqlite/models/Workspace.ts +0 -2341
  115. package/generated-sqlite/models/WorkspaceFile.ts +0 -1532
  116. package/generated-sqlite/models/WorkspaceKnowledgeBase.ts +0 -1426
  117. package/generated-sqlite/models/WorkspaceQuickDoc.ts +0 -2025
  118. package/generated-sqlite/models.ts +0 -107
  119. package/schema.sqlite.prisma +0 -2043
@@ -1,1759 +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
- * WARNING: This is an internal file that is subject to change!
8
- *
9
- * 🛑 Under no circumstances should you import this file directly! 🛑
10
- *
11
- * All exports from this file are wrapped under a `Prisma` namespace object in the browser.ts file.
12
- * While this enables partial backward compatibility, it is not part of the stable public API.
13
- *
14
- * If you are looking for your Models, Enums, and Input Types, please import them from the respective
15
- * model files in the `model` directory!
16
- */
17
-
18
- import * as runtime from "@prisma/client/runtime/index-browser"
19
-
20
- export type * from '../models.ts'
21
- export type * from './prismaNamespace.ts'
22
-
23
- export const Decimal = runtime.Decimal
24
-
25
-
26
- export const NullTypes = {
27
- DbNull: runtime.NullTypes.DbNull as (new (secret: never) => typeof runtime.DbNull),
28
- JsonNull: runtime.NullTypes.JsonNull as (new (secret: never) => typeof runtime.JsonNull),
29
- AnyNull: runtime.NullTypes.AnyNull as (new (secret: never) => typeof runtime.AnyNull),
30
- }
31
- /**
32
- * Helper for filtering JSON entries that have `null` on the database (empty on the db)
33
- *
34
- * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
35
- */
36
- export const DbNull = runtime.DbNull
37
-
38
- /**
39
- * Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
40
- *
41
- * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
42
- */
43
- export const JsonNull = runtime.JsonNull
44
-
45
- /**
46
- * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
47
- *
48
- * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
49
- */
50
- export const AnyNull = runtime.AnyNull
51
-
52
-
53
- export const ModelName = {
54
- SystemSetting: 'SystemSetting',
55
- User: 'User',
56
- Project: 'Project',
57
- ProjectMember: 'ProjectMember',
58
- Workspace: 'Workspace',
59
- TeamMembership: 'TeamMembership',
60
- TeamInvitation: 'TeamInvitation',
61
- TeamJoinRequest: 'TeamJoinRequest',
62
- ProjectActivity: 'ProjectActivity',
63
- ChatThread: 'ChatThread',
64
- ChatMessage: 'ChatMessage',
65
- ChatRun: 'ChatRun',
66
- ChatInterrupt: 'ChatInterrupt',
67
- ChatPersistenceMeta: 'ChatPersistenceMeta',
68
- HarnessPlugin: 'HarnessPlugin',
69
- SystemPromptTemplate: 'SystemPromptTemplate',
70
- SystemPromptVersion: 'SystemPromptVersion',
71
- BusinessAgentBinding: 'BusinessAgentBinding',
72
- GenerationRun: 'GenerationRun',
73
- LoginLog: 'LoginLog',
74
- InvitationCode: 'InvitationCode',
75
- InvitationUse: 'InvitationUse',
76
- PasswordResetToken: 'PasswordResetToken',
77
- EmailVerificationToken: 'EmailVerificationToken',
78
- EmailLog: 'EmailLog',
79
- EmailPreference: 'EmailPreference',
80
- OAuthProviderConfig: 'OAuthProviderConfig',
81
- EmailSubscriber: 'EmailSubscriber',
82
- KnowledgeBase: 'KnowledgeBase',
83
- ProjectKnowledgeBase: 'ProjectKnowledgeBase',
84
- WorkspaceKnowledgeBase: 'WorkspaceKnowledgeBase',
85
- WorkspaceQuickDoc: 'WorkspaceQuickDoc',
86
- KnowledgeDocument: 'KnowledgeDocument',
87
- Design: 'Design',
88
- AgentConversation: 'AgentConversation',
89
- AgentMessage: 'AgentMessage',
90
- Component: 'Component',
91
- Block: 'Block',
92
- BlockComponent: 'BlockComponent',
93
- Template: 'Template',
94
- TemplateBlock: 'TemplateBlock',
95
- DesignPage: 'DesignPage',
96
- ComponentInstance: 'ComponentInstance',
97
- BlockInstance: 'BlockInstance',
98
- DesignVersion: 'DesignVersion',
99
- PageVersion: 'PageVersion',
100
- Review: 'Review',
101
- ReviewComment: 'ReviewComment',
102
- Comment: 'Comment',
103
- CommentIgnore: 'CommentIgnore',
104
- Share: 'Share',
105
- Reference: 'Reference',
106
- ShareVersion: 'ShareVersion',
107
- AnyHubApp: 'AnyHubApp',
108
- AnyHubPermission: 'AnyHubPermission',
109
- AnyHubMarketApp: 'AnyHubMarketApp',
110
- AnyHubRecommendation: 'AnyHubRecommendation',
111
- AnyHubRecommender: 'AnyHubRecommender',
112
- AiProvider: 'AiProvider',
113
- AiProviderConfig: 'AiProviderConfig',
114
- ThirdPartyDependency: 'ThirdPartyDependency',
115
- LegalRegulation: 'LegalRegulation',
116
- IndustryCompliance: 'IndustryCompliance',
117
- DictionaryTerm: 'DictionaryTerm',
118
- WebsiteBookmark: 'WebsiteBookmark',
119
- BookmarkCategory: 'BookmarkCategory',
120
- KnowledgeShareRecord: 'KnowledgeShareRecord',
121
- ArticleFavorite: 'ArticleFavorite',
122
- Plan: 'Plan',
123
- Subscription: 'Subscription',
124
- UsageRecord: 'UsageRecord',
125
- AiUsageLog: 'AiUsageLog',
126
- Invoice: 'Invoice',
127
- ProviderEvent: 'ProviderEvent',
128
- LicenseKey: 'LicenseKey',
129
- LicenseActivation: 'LicenseActivation',
130
- AuditLog: 'AuditLog',
131
- SsoProvider: 'SsoProvider',
132
- SsoMapping: 'SsoMapping',
133
- CustomRole: 'CustomRole',
134
- RoleAssignment: 'RoleAssignment',
135
- ComplianceExport: 'ComplianceExport',
136
- UserAgent: 'UserAgent',
137
- UserSkill: 'UserSkill',
138
- DeveloperLog: 'DeveloperLog',
139
- Story: 'Story',
140
- Iteration: 'Iteration',
141
- IterationAutoSchedule: 'IterationAutoSchedule',
142
- NotificationPreference: 'NotificationPreference',
143
- CodeSnippet: 'CodeSnippet',
144
- SandboxInstance: 'SandboxInstance',
145
- AiStreamChunk: 'AiStreamChunk',
146
- DesktopSetting: 'DesktopSetting',
147
- HarnessWorkspace: 'HarnessWorkspace',
148
- WorkspaceFile: 'WorkspaceFile',
149
- Blob: 'Blob'
150
- } as const
151
-
152
- export type ModelName = (typeof ModelName)[keyof typeof ModelName]
153
-
154
- /*
155
- * Enums
156
- */
157
-
158
- export const TransactionIsolationLevel = runtime.makeStrictEnum({
159
- Serializable: 'Serializable'
160
- } as const)
161
-
162
- export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]
163
-
164
-
165
- export const SystemSettingScalarFieldEnum = {
166
- id: 'id',
167
- key: 'key',
168
- value: 'value',
169
- category: 'category',
170
- desc: 'desc',
171
- createdAt: 'createdAt',
172
- updatedAt: 'updatedAt'
173
- } as const
174
-
175
- export type SystemSettingScalarFieldEnum = (typeof SystemSettingScalarFieldEnum)[keyof typeof SystemSettingScalarFieldEnum]
176
-
177
-
178
- export const UserScalarFieldEnum = {
179
- id: 'id',
180
- email: 'email',
181
- username: 'username',
182
- password: 'password',
183
- emailVerified: 'emailVerified',
184
- image: 'image',
185
- role: 'role',
186
- status: 'status',
187
- tokenVersion: 'tokenVersion',
188
- createdAt: 'createdAt',
189
- updatedAt: 'updatedAt',
190
- lastLoginAt: 'lastLoginAt',
191
- avatarConfig: 'avatarConfig',
192
- bgShape: 'bgShape',
193
- bgColor: 'bgColor',
194
- aiProvider: 'aiProvider',
195
- aiApiKey: 'aiApiKey',
196
- aiModel: 'aiModel',
197
- aiSourceMode: 'aiSourceMode',
198
- locale: 'locale',
199
- storyDisplayOptions: 'storyDisplayOptions',
200
- timezone: 'timezone',
201
- preferredCurrency: 'preferredCurrency',
202
- defaultWorkspaceId: 'defaultWorkspaceId'
203
- } as const
204
-
205
- export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]
206
-
207
-
208
- export const ProjectScalarFieldEnum = {
209
- id: 'id',
210
- displayId: 'displayId',
211
- name: 'name',
212
- description: 'description',
213
- icon: 'icon',
214
- timezone: 'timezone',
215
- ownerId: 'ownerId',
216
- workspaceId: 'workspaceId',
217
- createdAt: 'createdAt',
218
- updatedAt: 'updatedAt'
219
- } as const
220
-
221
- export type ProjectScalarFieldEnum = (typeof ProjectScalarFieldEnum)[keyof typeof ProjectScalarFieldEnum]
222
-
223
-
224
- export const ProjectMemberScalarFieldEnum = {
225
- id: 'id',
226
- projectId: 'projectId',
227
- userId: 'userId',
228
- role: 'role',
229
- status: 'status',
230
- joinedAt: 'joinedAt'
231
- } as const
232
-
233
- export type ProjectMemberScalarFieldEnum = (typeof ProjectMemberScalarFieldEnum)[keyof typeof ProjectMemberScalarFieldEnum]
234
-
235
-
236
- export const WorkspaceScalarFieldEnum = {
237
- id: 'id',
238
- name: 'name',
239
- icon: 'icon',
240
- description: 'description',
241
- pinnedToSidebar: 'pinnedToSidebar',
242
- ownerId: 'ownerId',
243
- createdAt: 'createdAt',
244
- updatedAt: 'updatedAt'
245
- } as const
246
-
247
- export type WorkspaceScalarFieldEnum = (typeof WorkspaceScalarFieldEnum)[keyof typeof WorkspaceScalarFieldEnum]
248
-
249
-
250
- export const TeamMembershipScalarFieldEnum = {
251
- id: 'id',
252
- ownerId: 'ownerId',
253
- memberId: 'memberId',
254
- seatType: 'seatType',
255
- joinedAt: 'joinedAt'
256
- } as const
257
-
258
- export type TeamMembershipScalarFieldEnum = (typeof TeamMembershipScalarFieldEnum)[keyof typeof TeamMembershipScalarFieldEnum]
259
-
260
-
261
- export const TeamInvitationScalarFieldEnum = {
262
- id: 'id',
263
- ownerId: 'ownerId',
264
- email: 'email',
265
- seatType: 'seatType',
266
- token: 'token',
267
- channel: 'channel',
268
- status: 'status',
269
- expiresAt: 'expiresAt',
270
- createdAt: 'createdAt',
271
- acceptedBy: 'acceptedBy',
272
- applicantEmail: 'applicantEmail',
273
- message: 'message'
274
- } as const
275
-
276
- export type TeamInvitationScalarFieldEnum = (typeof TeamInvitationScalarFieldEnum)[keyof typeof TeamInvitationScalarFieldEnum]
277
-
278
-
279
- export const TeamJoinRequestScalarFieldEnum = {
280
- id: 'id',
281
- invitationId: 'invitationId',
282
- ownerId: 'ownerId',
283
- userId: 'userId',
284
- email: 'email',
285
- status: 'status',
286
- seatType: 'seatType',
287
- createdAt: 'createdAt',
288
- processedAt: 'processedAt'
289
- } as const
290
-
291
- export type TeamJoinRequestScalarFieldEnum = (typeof TeamJoinRequestScalarFieldEnum)[keyof typeof TeamJoinRequestScalarFieldEnum]
292
-
293
-
294
- export const ProjectActivityScalarFieldEnum = {
295
- id: 'id',
296
- projectId: 'projectId',
297
- userId: 'userId',
298
- action: 'action',
299
- targetType: 'targetType',
300
- targetId: 'targetId',
301
- metadata: 'metadata',
302
- createdAt: 'createdAt'
303
- } as const
304
-
305
- export type ProjectActivityScalarFieldEnum = (typeof ProjectActivityScalarFieldEnum)[keyof typeof ProjectActivityScalarFieldEnum]
306
-
307
-
308
- export const ChatThreadScalarFieldEnum = {
309
- id: 'id',
310
- userId: 'userId',
311
- title: 'title',
312
- isArchived: 'isArchived',
313
- sandboxPolicy: 'sandboxPolicy',
314
- createdAt: 'createdAt',
315
- updatedAt: 'updatedAt',
316
- agentId: 'agentId',
317
- workspaceId: 'workspaceId'
318
- } as const
319
-
320
- export type ChatThreadScalarFieldEnum = (typeof ChatThreadScalarFieldEnum)[keyof typeof ChatThreadScalarFieldEnum]
321
-
322
-
323
- export const ChatMessageScalarFieldEnum = {
324
- id: 'id',
325
- threadId: 'threadId',
326
- role: 'role',
327
- content: 'content',
328
- parts: 'parts',
329
- thinking: 'thinking',
330
- citations: 'citations',
331
- toolCallId: 'toolCallId',
332
- createdAt: 'createdAt'
333
- } as const
334
-
335
- export type ChatMessageScalarFieldEnum = (typeof ChatMessageScalarFieldEnum)[keyof typeof ChatMessageScalarFieldEnum]
336
-
337
-
338
- export const ChatRunScalarFieldEnum = {
339
- id: 'id',
340
- threadId: 'threadId',
341
- userId: 'userId',
342
- status: 'status',
343
- startedAt: 'startedAt',
344
- finishedAt: 'finishedAt',
345
- detachedSince: 'detachedSince',
346
- usage: 'usage',
347
- error: 'error',
348
- sandboxKey: 'sandboxKey',
349
- cancelRequested: 'cancelRequested',
350
- driverEpoch: 'driverEpoch'
351
- } as const
352
-
353
- export type ChatRunScalarFieldEnum = (typeof ChatRunScalarFieldEnum)[keyof typeof ChatRunScalarFieldEnum]
354
-
355
-
356
- export const ChatInterruptScalarFieldEnum = {
357
- id: 'id',
358
- runId: 'runId',
359
- threadId: 'threadId',
360
- userId: 'userId',
361
- kind: 'kind',
362
- toolName: 'toolName',
363
- state: 'state',
364
- payload: 'payload',
365
- resolution: 'resolution',
366
- requestedAt: 'requestedAt',
367
- createdAt: 'createdAt',
368
- resolvedAt: 'resolvedAt'
369
- } as const
370
-
371
- export type ChatInterruptScalarFieldEnum = (typeof ChatInterruptScalarFieldEnum)[keyof typeof ChatInterruptScalarFieldEnum]
372
-
373
-
374
- export const ChatPersistenceMetaScalarFieldEnum = {
375
- namespace: 'namespace',
376
- key: 'key',
377
- value: 'value',
378
- updatedAt: 'updatedAt'
379
- } as const
380
-
381
- export type ChatPersistenceMetaScalarFieldEnum = (typeof ChatPersistenceMetaScalarFieldEnum)[keyof typeof ChatPersistenceMetaScalarFieldEnum]
382
-
383
-
384
- export const HarnessPluginScalarFieldEnum = {
385
- id: 'id',
386
- userId: 'userId',
387
- name: 'name',
388
- purpose: 'purpose',
389
- codeHost: 'codeHost',
390
- codeClient: 'codeClient',
391
- tools: 'tools',
392
- version: 'version',
393
- status: 'status',
394
- lastError: 'lastError',
395
- createdAt: 'createdAt',
396
- updatedAt: 'updatedAt',
397
- isDeleted: 'isDeleted'
398
- } as const
399
-
400
- export type HarnessPluginScalarFieldEnum = (typeof HarnessPluginScalarFieldEnum)[keyof typeof HarnessPluginScalarFieldEnum]
401
-
402
-
403
- export const SystemPromptTemplateScalarFieldEnum = {
404
- id: 'id',
405
- key: 'key',
406
- name: 'name',
407
- description: 'description',
408
- sections: 'sections',
409
- variables: 'variables',
410
- version: 'version',
411
- isActive: 'isActive',
412
- isProtected: 'isProtected',
413
- updatedBy: 'updatedBy',
414
- createdAt: 'createdAt',
415
- updatedAt: 'updatedAt'
416
- } as const
417
-
418
- export type SystemPromptTemplateScalarFieldEnum = (typeof SystemPromptTemplateScalarFieldEnum)[keyof typeof SystemPromptTemplateScalarFieldEnum]
419
-
420
-
421
- export const SystemPromptVersionScalarFieldEnum = {
422
- id: 'id',
423
- templateId: 'templateId',
424
- version: 'version',
425
- sections: 'sections',
426
- note: 'note',
427
- createdBy: 'createdBy',
428
- createdAt: 'createdAt'
429
- } as const
430
-
431
- export type SystemPromptVersionScalarFieldEnum = (typeof SystemPromptVersionScalarFieldEnum)[keyof typeof SystemPromptVersionScalarFieldEnum]
432
-
433
-
434
- export const BusinessAgentBindingScalarFieldEnum = {
435
- id: 'id',
436
- userId: 'userId',
437
- bizKey: 'bizKey',
438
- agentId: 'agentId',
439
- workspaceId: 'workspaceId',
440
- createdAt: 'createdAt',
441
- updatedAt: 'updatedAt'
442
- } as const
443
-
444
- export type BusinessAgentBindingScalarFieldEnum = (typeof BusinessAgentBindingScalarFieldEnum)[keyof typeof BusinessAgentBindingScalarFieldEnum]
445
-
446
-
447
- export const GenerationRunScalarFieldEnum = {
448
- id: 'id',
449
- threadId: 'threadId',
450
- userId: 'userId',
451
- kind: 'kind',
452
- status: 'status',
453
- input: 'input',
454
- result: 'result',
455
- artifactId: 'artifactId',
456
- activity: 'activity',
457
- provider: 'provider',
458
- model: 'model',
459
- artifacts: 'artifacts',
460
- usage: 'usage',
461
- error: 'error',
462
- startedAt: 'startedAt',
463
- finishedAt: 'finishedAt',
464
- linkedTarget: 'linkedTarget'
465
- } as const
466
-
467
- export type GenerationRunScalarFieldEnum = (typeof GenerationRunScalarFieldEnum)[keyof typeof GenerationRunScalarFieldEnum]
468
-
469
-
470
- export const LoginLogScalarFieldEnum = {
471
- id: 'id',
472
- userId: 'userId',
473
- ip: 'ip',
474
- userAgent: 'userAgent',
475
- location: 'location',
476
- success: 'success',
477
- message: 'message',
478
- createdAt: 'createdAt'
479
- } as const
480
-
481
- export type LoginLogScalarFieldEnum = (typeof LoginLogScalarFieldEnum)[keyof typeof LoginLogScalarFieldEnum]
482
-
483
-
484
- export const InvitationCodeScalarFieldEnum = {
485
- id: 'id',
486
- code: 'code',
487
- maxUses: 'maxUses',
488
- usedCount: 'usedCount',
489
- expiresAt: 'expiresAt',
490
- createdAt: 'createdAt',
491
- createdById: 'createdById',
492
- disabledAt: 'disabledAt'
493
- } as const
494
-
495
- export type InvitationCodeScalarFieldEnum = (typeof InvitationCodeScalarFieldEnum)[keyof typeof InvitationCodeScalarFieldEnum]
496
-
497
-
498
- export const InvitationUseScalarFieldEnum = {
499
- id: 'id',
500
- codeId: 'codeId',
501
- userId: 'userId',
502
- usedAt: 'usedAt'
503
- } as const
504
-
505
- export type InvitationUseScalarFieldEnum = (typeof InvitationUseScalarFieldEnum)[keyof typeof InvitationUseScalarFieldEnum]
506
-
507
-
508
- export const PasswordResetTokenScalarFieldEnum = {
509
- id: 'id',
510
- token: 'token',
511
- userId: 'userId',
512
- expiresAt: 'expiresAt',
513
- usedAt: 'usedAt',
514
- createdAt: 'createdAt'
515
- } as const
516
-
517
- export type PasswordResetTokenScalarFieldEnum = (typeof PasswordResetTokenScalarFieldEnum)[keyof typeof PasswordResetTokenScalarFieldEnum]
518
-
519
-
520
- export const EmailVerificationTokenScalarFieldEnum = {
521
- id: 'id',
522
- token: 'token',
523
- userId: 'userId',
524
- expiresAt: 'expiresAt',
525
- usedAt: 'usedAt',
526
- createdAt: 'createdAt'
527
- } as const
528
-
529
- export type EmailVerificationTokenScalarFieldEnum = (typeof EmailVerificationTokenScalarFieldEnum)[keyof typeof EmailVerificationTokenScalarFieldEnum]
530
-
531
-
532
- export const EmailLogScalarFieldEnum = {
533
- id: 'id',
534
- to: 'to',
535
- templateKey: 'templateKey',
536
- category: 'category',
537
- status: 'status',
538
- provider: 'provider',
539
- messageId: 'messageId',
540
- dedupeKey: 'dedupeKey',
541
- error: 'error',
542
- userId: 'userId',
543
- createdAt: 'createdAt',
544
- sentAt: 'sentAt'
545
- } as const
546
-
547
- export type EmailLogScalarFieldEnum = (typeof EmailLogScalarFieldEnum)[keyof typeof EmailLogScalarFieldEnum]
548
-
549
-
550
- export const EmailPreferenceScalarFieldEnum = {
551
- userId: 'userId',
552
- unsubscribedAll: 'unsubscribedAll',
553
- unsubscribedCategories: 'unsubscribedCategories',
554
- suppressed: 'suppressed'
555
- } as const
556
-
557
- export type EmailPreferenceScalarFieldEnum = (typeof EmailPreferenceScalarFieldEnum)[keyof typeof EmailPreferenceScalarFieldEnum]
558
-
559
-
560
- export const OAuthProviderConfigScalarFieldEnum = {
561
- id: 'id',
562
- provider: 'provider',
563
- clientId: 'clientId',
564
- clientSecret: 'clientSecret',
565
- enabled: 'enabled',
566
- extra: 'extra',
567
- createdAt: 'createdAt',
568
- updatedAt: 'updatedAt'
569
- } as const
570
-
571
- export type OAuthProviderConfigScalarFieldEnum = (typeof OAuthProviderConfigScalarFieldEnum)[keyof typeof OAuthProviderConfigScalarFieldEnum]
572
-
573
-
574
- export const EmailSubscriberScalarFieldEnum = {
575
- id: 'id',
576
- email: 'email',
577
- locale: 'locale',
578
- confirmToken: 'confirmToken',
579
- confirmedAt: 'confirmedAt',
580
- unsubscribedAt: 'unsubscribedAt',
581
- source: 'source',
582
- createdAt: 'createdAt'
583
- } as const
584
-
585
- export type EmailSubscriberScalarFieldEnum = (typeof EmailSubscriberScalarFieldEnum)[keyof typeof EmailSubscriberScalarFieldEnum]
586
-
587
-
588
- export const KnowledgeBaseScalarFieldEnum = {
589
- id: 'id',
590
- name: 'name',
591
- description: 'description',
592
- icon: 'icon',
593
- tags: 'tags',
594
- visibility: 'visibility',
595
- userId: 'userId',
596
- workspaceId: 'workspaceId',
597
- pinnedToSidebar: 'pinnedToSidebar',
598
- isDeleted: 'isDeleted',
599
- createdAt: 'createdAt',
600
- updatedAt: 'updatedAt'
601
- } as const
602
-
603
- export type KnowledgeBaseScalarFieldEnum = (typeof KnowledgeBaseScalarFieldEnum)[keyof typeof KnowledgeBaseScalarFieldEnum]
604
-
605
-
606
- export const ProjectKnowledgeBaseScalarFieldEnum = {
607
- id: 'id',
608
- projectId: 'projectId',
609
- kbId: 'kbId',
610
- createdAt: 'createdAt'
611
- } as const
612
-
613
- export type ProjectKnowledgeBaseScalarFieldEnum = (typeof ProjectKnowledgeBaseScalarFieldEnum)[keyof typeof ProjectKnowledgeBaseScalarFieldEnum]
614
-
615
-
616
- export const WorkspaceKnowledgeBaseScalarFieldEnum = {
617
- id: 'id',
618
- workspaceId: 'workspaceId',
619
- kbId: 'kbId',
620
- createdAt: 'createdAt'
621
- } as const
622
-
623
- export type WorkspaceKnowledgeBaseScalarFieldEnum = (typeof WorkspaceKnowledgeBaseScalarFieldEnum)[keyof typeof WorkspaceKnowledgeBaseScalarFieldEnum]
624
-
625
-
626
- export const WorkspaceQuickDocScalarFieldEnum = {
627
- id: 'id',
628
- workspaceId: 'workspaceId',
629
- docId: 'docId',
630
- externalGroup: 'externalGroup',
631
- externalId: 'externalId',
632
- displayTitle: 'displayTitle',
633
- columnIndex: 'columnIndex',
634
- sortOrder: 'sortOrder',
635
- label: 'label',
636
- icon: 'icon',
637
- createdBy: 'createdBy',
638
- createdAt: 'createdAt',
639
- updatedAt: 'updatedAt'
640
- } as const
641
-
642
- export type WorkspaceQuickDocScalarFieldEnum = (typeof WorkspaceQuickDocScalarFieldEnum)[keyof typeof WorkspaceQuickDocScalarFieldEnum]
643
-
644
-
645
- export const KnowledgeDocumentScalarFieldEnum = {
646
- id: 'id',
647
- kbId: 'kbId',
648
- parentId: 'parentId',
649
- title: 'title',
650
- type: 'type',
651
- content: 'content',
652
- icon: 'icon',
653
- isHomepage: 'isHomepage',
654
- sortOrder: 'sortOrder',
655
- isDeleted: 'isDeleted',
656
- createdBy: 'createdBy',
657
- tags: 'tags',
658
- properties: 'properties',
659
- createdAt: 'createdAt',
660
- updatedAt: 'updatedAt'
661
- } as const
662
-
663
- export type KnowledgeDocumentScalarFieldEnum = (typeof KnowledgeDocumentScalarFieldEnum)[keyof typeof KnowledgeDocumentScalarFieldEnum]
664
-
665
-
666
- export const DesignScalarFieldEnum = {
667
- id: 'id',
668
- icon: 'icon',
669
- name: 'name',
670
- description: 'description',
671
- kind: 'kind',
672
- settings: 'settings',
673
- userId: 'userId',
674
- isDeleted: 'isDeleted',
675
- deletedAt: 'deletedAt',
676
- createdAt: 'createdAt',
677
- updatedAt: 'updatedAt'
678
- } as const
679
-
680
- export type DesignScalarFieldEnum = (typeof DesignScalarFieldEnum)[keyof typeof DesignScalarFieldEnum]
681
-
682
-
683
- export const AgentConversationScalarFieldEnum = {
684
- id: 'id',
685
- userId: 'userId',
686
- designId: 'designId',
687
- title: 'title',
688
- createdAt: 'createdAt',
689
- updatedAt: 'updatedAt'
690
- } as const
691
-
692
- export type AgentConversationScalarFieldEnum = (typeof AgentConversationScalarFieldEnum)[keyof typeof AgentConversationScalarFieldEnum]
693
-
694
-
695
- export const AgentMessageScalarFieldEnum = {
696
- id: 'id',
697
- conversationId: 'conversationId',
698
- role: 'role',
699
- content: 'content',
700
- components: 'components',
701
- isError: 'isError',
702
- createdAt: 'createdAt'
703
- } as const
704
-
705
- export type AgentMessageScalarFieldEnum = (typeof AgentMessageScalarFieldEnum)[keyof typeof AgentMessageScalarFieldEnum]
706
-
707
-
708
- export const ComponentScalarFieldEnum = {
709
- id: 'id',
710
- name: 'name',
711
- description: 'description',
712
- type: 'type',
713
- category: 'category',
714
- subCategory: 'subCategory',
715
- path: 'path',
716
- defaultWidth: 'defaultWidth',
717
- defaultHeight: 'defaultHeight',
718
- prototypeKey: 'prototypeKey',
719
- config: 'config',
720
- defaultProps: 'defaultProps',
721
- defaultStyle: 'defaultStyle',
722
- preview: 'preview',
723
- version: 'version',
724
- sortOrder: 'sortOrder',
725
- source: 'source',
726
- sourceId: 'sourceId',
727
- isHidden: 'isHidden',
728
- isDeleted: 'isDeleted',
729
- createdAt: 'createdAt',
730
- updatedAt: 'updatedAt',
731
- tags: 'tags'
732
- } as const
733
-
734
- export type ComponentScalarFieldEnum = (typeof ComponentScalarFieldEnum)[keyof typeof ComponentScalarFieldEnum]
735
-
736
-
737
- export const BlockScalarFieldEnum = {
738
- id: 'id',
739
- name: 'name',
740
- description: 'description',
741
- category: 'category',
742
- isDeleted: 'isDeleted',
743
- createdAt: 'createdAt',
744
- updatedAt: 'updatedAt'
745
- } as const
746
-
747
- export type BlockScalarFieldEnum = (typeof BlockScalarFieldEnum)[keyof typeof BlockScalarFieldEnum]
748
-
749
-
750
- export const BlockComponentScalarFieldEnum = {
751
- id: 'id',
752
- blockId: 'blockId',
753
- componentId: 'componentId',
754
- x: 'x',
755
- y: 'y',
756
- width: 'width',
757
- height: 'height',
758
- zIndex: 'zIndex',
759
- propsOverride: 'propsOverride',
760
- styleOverride: 'styleOverride'
761
- } as const
762
-
763
- export type BlockComponentScalarFieldEnum = (typeof BlockComponentScalarFieldEnum)[keyof typeof BlockComponentScalarFieldEnum]
764
-
765
-
766
- export const TemplateScalarFieldEnum = {
767
- id: 'id',
768
- name: 'name',
769
- description: 'description',
770
- category: 'category',
771
- isDeleted: 'isDeleted',
772
- createdAt: 'createdAt',
773
- updatedAt: 'updatedAt'
774
- } as const
775
-
776
- export type TemplateScalarFieldEnum = (typeof TemplateScalarFieldEnum)[keyof typeof TemplateScalarFieldEnum]
777
-
778
-
779
- export const TemplateBlockScalarFieldEnum = {
780
- id: 'id',
781
- templateId: 'templateId',
782
- blockId: 'blockId',
783
- order: 'order',
784
- x: 'x',
785
- y: 'y',
786
- width: 'width',
787
- height: 'height'
788
- } as const
789
-
790
- export type TemplateBlockScalarFieldEnum = (typeof TemplateBlockScalarFieldEnum)[keyof typeof TemplateBlockScalarFieldEnum]
791
-
792
-
793
- export const DesignPageScalarFieldEnum = {
794
- id: 'id',
795
- designId: 'designId',
796
- parentId: 'parentId',
797
- name: 'name',
798
- order: 'order',
799
- type: 'type',
800
- canvas: 'canvas',
801
- content: 'content',
802
- version: 'version',
803
- createdAt: 'createdAt',
804
- updatedAt: 'updatedAt'
805
- } as const
806
-
807
- export type DesignPageScalarFieldEnum = (typeof DesignPageScalarFieldEnum)[keyof typeof DesignPageScalarFieldEnum]
808
-
809
-
810
- export const ComponentInstanceScalarFieldEnum = {
811
- id: 'id',
812
- pageId: 'pageId',
813
- componentId: 'componentId',
814
- blockInstanceId: 'blockInstanceId',
815
- name: 'name',
816
- x: 'x',
817
- y: 'y',
818
- width: 'width',
819
- height: 'height',
820
- zIndex: 'zIndex',
821
- props: 'props',
822
- style: 'style',
823
- createdAt: 'createdAt',
824
- updatedAt: 'updatedAt'
825
- } as const
826
-
827
- export type ComponentInstanceScalarFieldEnum = (typeof ComponentInstanceScalarFieldEnum)[keyof typeof ComponentInstanceScalarFieldEnum]
828
-
829
-
830
- export const BlockInstanceScalarFieldEnum = {
831
- id: 'id',
832
- pageId: 'pageId',
833
- blockId: 'blockId',
834
- name: 'name',
835
- x: 'x',
836
- y: 'y',
837
- width: 'width',
838
- height: 'height',
839
- zIndex: 'zIndex',
840
- props: 'props',
841
- style: 'style',
842
- createdAt: 'createdAt',
843
- updatedAt: 'updatedAt'
844
- } as const
845
-
846
- export type BlockInstanceScalarFieldEnum = (typeof BlockInstanceScalarFieldEnum)[keyof typeof BlockInstanceScalarFieldEnum]
847
-
848
-
849
- export const DesignVersionScalarFieldEnum = {
850
- id: 'id',
851
- designId: 'designId',
852
- major: 'major',
853
- minor: 'minor',
854
- patch: 'patch',
855
- versionLabel: 'versionLabel',
856
- parentVersion: 'parentVersion',
857
- pageVersions: 'pageVersions',
858
- notes: 'notes',
859
- userId: 'userId',
860
- createdAt: 'createdAt',
861
- updatedAt: 'updatedAt'
862
- } as const
863
-
864
- export type DesignVersionScalarFieldEnum = (typeof DesignVersionScalarFieldEnum)[keyof typeof DesignVersionScalarFieldEnum]
865
-
866
-
867
- export const PageVersionScalarFieldEnum = {
868
- id: 'id',
869
- pageId: 'pageId',
870
- version: 'version',
871
- notes: 'notes',
872
- canvas: 'canvas',
873
- content: 'content',
874
- restoredFromVersion: 'restoredFromVersion',
875
- fromDesignVersionId: 'fromDesignVersionId',
876
- createdAt: 'createdAt'
877
- } as const
878
-
879
- export type PageVersionScalarFieldEnum = (typeof PageVersionScalarFieldEnum)[keyof typeof PageVersionScalarFieldEnum]
880
-
881
-
882
- export const ReviewScalarFieldEnum = {
883
- id: 'id',
884
- designId: 'designId',
885
- versionId: 'versionId',
886
- status: 'status',
887
- reviewerId: 'reviewerId',
888
- notes: 'notes',
889
- createdAt: 'createdAt',
890
- completedAt: 'completedAt'
891
- } as const
892
-
893
- export type ReviewScalarFieldEnum = (typeof ReviewScalarFieldEnum)[keyof typeof ReviewScalarFieldEnum]
894
-
895
-
896
- export const ReviewCommentScalarFieldEnum = {
897
- id: 'id',
898
- reviewId: 'reviewId',
899
- userId: 'userId',
900
- content: 'content',
901
- pageId: 'pageId',
902
- elementId: 'elementId',
903
- parentId: 'parentId',
904
- createdAt: 'createdAt'
905
- } as const
906
-
907
- export type ReviewCommentScalarFieldEnum = (typeof ReviewCommentScalarFieldEnum)[keyof typeof ReviewCommentScalarFieldEnum]
908
-
909
-
910
- export const CommentScalarFieldEnum = {
911
- id: 'id',
912
- designId: 'designId',
913
- pageId: 'pageId',
914
- elementId: 'elementId',
915
- userId: 'userId',
916
- content: 'content',
917
- parentId: 'parentId',
918
- position: 'position',
919
- resolved: 'resolved',
920
- createdAt: 'createdAt',
921
- updatedAt: 'updatedAt'
922
- } as const
923
-
924
- export type CommentScalarFieldEnum = (typeof CommentScalarFieldEnum)[keyof typeof CommentScalarFieldEnum]
925
-
926
-
927
- export const CommentIgnoreScalarFieldEnum = {
928
- id: 'id',
929
- userId: 'userId',
930
- commentId: 'commentId',
931
- createdAt: 'createdAt'
932
- } as const
933
-
934
- export type CommentIgnoreScalarFieldEnum = (typeof CommentIgnoreScalarFieldEnum)[keyof typeof CommentIgnoreScalarFieldEnum]
935
-
936
-
937
- export const ShareScalarFieldEnum = {
938
- id: 'id',
939
- designId: 'designId',
940
- token: 'token',
941
- type: 'type',
942
- status: 'status',
943
- password: 'password',
944
- hasPassword: 'hasPassword',
945
- expiresAt: 'expiresAt',
946
- createdAt: 'createdAt',
947
- updatedAt: 'updatedAt'
948
- } as const
949
-
950
- export type ShareScalarFieldEnum = (typeof ShareScalarFieldEnum)[keyof typeof ShareScalarFieldEnum]
951
-
952
-
953
- export const ReferenceScalarFieldEnum = {
954
- id: 'id',
955
- sourceModule: 'sourceModule',
956
- sourceEntityId: 'sourceEntityId',
957
- targetModule: 'targetModule',
958
- targetEntityId: 'targetEntityId',
959
- createdAt: 'createdAt'
960
- } as const
961
-
962
- export type ReferenceScalarFieldEnum = (typeof ReferenceScalarFieldEnum)[keyof typeof ReferenceScalarFieldEnum]
963
-
964
-
965
- export const ShareVersionScalarFieldEnum = {
966
- id: 'id',
967
- shareId: 'shareId',
968
- versionId: 'versionId'
969
- } as const
970
-
971
- export type ShareVersionScalarFieldEnum = (typeof ShareVersionScalarFieldEnum)[keyof typeof ShareVersionScalarFieldEnum]
972
-
973
-
974
- export const AnyHubAppScalarFieldEnum = {
975
- id: 'id',
976
- name: 'name',
977
- displayName: 'displayName',
978
- description: 'description',
979
- version: 'version',
980
- source: 'source',
981
- url: 'url',
982
- localPath: 'localPath',
983
- proxyBasePath: 'proxyBasePath',
984
- iconUrl: 'iconUrl',
985
- pinned: 'pinned',
986
- status: 'status',
987
- userId: 'userId',
988
- githubUrl: 'githubUrl',
989
- createdAt: 'createdAt',
990
- updatedAt: 'updatedAt'
991
- } as const
992
-
993
- export type AnyHubAppScalarFieldEnum = (typeof AnyHubAppScalarFieldEnum)[keyof typeof AnyHubAppScalarFieldEnum]
994
-
995
-
996
- export const AnyHubPermissionScalarFieldEnum = {
997
- id: 'id',
998
- appId: 'appId',
999
- capability: 'capability',
1000
- granted: 'granted',
1001
- userId: 'userId',
1002
- createdAt: 'createdAt',
1003
- updatedAt: 'updatedAt'
1004
- } as const
1005
-
1006
- export type AnyHubPermissionScalarFieldEnum = (typeof AnyHubPermissionScalarFieldEnum)[keyof typeof AnyHubPermissionScalarFieldEnum]
1007
-
1008
-
1009
- export const AnyHubMarketAppScalarFieldEnum = {
1010
- id: 'id',
1011
- name: 'name',
1012
- displayName: 'displayName',
1013
- description: 'description',
1014
- entryUrl: 'entryUrl',
1015
- icon: 'icon',
1016
- iconType: 'iconType',
1017
- logo: 'logo',
1018
- category: 'category',
1019
- tags: 'tags',
1020
- downloads: 'downloads',
1021
- capabilities: 'capabilities',
1022
- status: 'status',
1023
- publishedAt: 'publishedAt',
1024
- userId: 'userId',
1025
- recommendationId: 'recommendationId',
1026
- createdAt: 'createdAt',
1027
- updatedAt: 'updatedAt'
1028
- } as const
1029
-
1030
- export type AnyHubMarketAppScalarFieldEnum = (typeof AnyHubMarketAppScalarFieldEnum)[keyof typeof AnyHubMarketAppScalarFieldEnum]
1031
-
1032
-
1033
- export const AnyHubRecommendationScalarFieldEnum = {
1034
- id: 'id',
1035
- githubUrl: 'githubUrl',
1036
- name: 'name',
1037
- displayName: 'displayName',
1038
- description: 'description',
1039
- status: 'status',
1040
- reviewedBy: 'reviewedBy',
1041
- reviewedAt: 'reviewedAt',
1042
- marketplaceAppId: 'marketplaceAppId',
1043
- createdAt: 'createdAt',
1044
- updatedAt: 'updatedAt'
1045
- } as const
1046
-
1047
- export type AnyHubRecommendationScalarFieldEnum = (typeof AnyHubRecommendationScalarFieldEnum)[keyof typeof AnyHubRecommendationScalarFieldEnum]
1048
-
1049
-
1050
- export const AnyHubRecommenderScalarFieldEnum = {
1051
- id: 'id',
1052
- recommendationId: 'recommendationId',
1053
- userId: 'userId',
1054
- reason: 'reason',
1055
- createdAt: 'createdAt'
1056
- } as const
1057
-
1058
- export type AnyHubRecommenderScalarFieldEnum = (typeof AnyHubRecommenderScalarFieldEnum)[keyof typeof AnyHubRecommenderScalarFieldEnum]
1059
-
1060
-
1061
- export const AiProviderScalarFieldEnum = {
1062
- id: 'id',
1063
- providerId: 'providerId',
1064
- displayName: 'displayName',
1065
- brandName: 'brandName',
1066
- description: 'description',
1067
- category: 'category',
1068
- adapterKind: 'adapterKind',
1069
- defaultBaseUrl: 'defaultBaseUrl',
1070
- keyUrl: 'keyUrl',
1071
- docsUrl: 'docsUrl',
1072
- keyPlaceholder: 'keyPlaceholder',
1073
- iconSlug: 'iconSlug',
1074
- brandColor: 'brandColor',
1075
- badge: 'badge',
1076
- isLocal: 'isLocal',
1077
- enabled: 'enabled',
1078
- models: 'models',
1079
- sortOrder: 'sortOrder',
1080
- createdAt: 'createdAt',
1081
- updatedAt: 'updatedAt'
1082
- } as const
1083
-
1084
- export type AiProviderScalarFieldEnum = (typeof AiProviderScalarFieldEnum)[keyof typeof AiProviderScalarFieldEnum]
1085
-
1086
-
1087
- export const AiProviderConfigScalarFieldEnum = {
1088
- id: 'id',
1089
- userId: 'userId',
1090
- providerId: 'providerId',
1091
- apiKey: 'apiKey',
1092
- baseUrl: 'baseUrl',
1093
- voiceApiKey: 'voiceApiKey',
1094
- voiceBaseUrl: 'voiceBaseUrl',
1095
- enabled: 'enabled',
1096
- models: 'models',
1097
- customModels: 'customModels',
1098
- agentMeta: 'agentMeta',
1099
- createdAt: 'createdAt',
1100
- updatedAt: 'updatedAt'
1101
- } as const
1102
-
1103
- export type AiProviderConfigScalarFieldEnum = (typeof AiProviderConfigScalarFieldEnum)[keyof typeof AiProviderConfigScalarFieldEnum]
1104
-
1105
-
1106
- export const ThirdPartyDependencyScalarFieldEnum = {
1107
- id: 'id',
1108
- name: 'name',
1109
- displayName: 'displayName',
1110
- description: 'description',
1111
- homepage: 'homepage',
1112
- category: 'category',
1113
- isWatched: 'isWatched',
1114
- priority: 'priority',
1115
- latestVersion: 'latestVersion',
1116
- latestChangelog: 'latestChangelog',
1117
- lastSyncAt: 'lastSyncAt',
1118
- notes: 'notes',
1119
- sortOrder: 'sortOrder',
1120
- createdAt: 'createdAt',
1121
- updatedAt: 'updatedAt'
1122
- } as const
1123
-
1124
- export type ThirdPartyDependencyScalarFieldEnum = (typeof ThirdPartyDependencyScalarFieldEnum)[keyof typeof ThirdPartyDependencyScalarFieldEnum]
1125
-
1126
-
1127
- export const LegalRegulationScalarFieldEnum = {
1128
- id: 'id',
1129
- canonicalId: 'canonicalId',
1130
- title: 'title',
1131
- code: 'code',
1132
- jurisdiction: 'jurisdiction',
1133
- region: 'region',
1134
- country: 'country',
1135
- category: 'category',
1136
- issuingAuthority: 'issuingAuthority',
1137
- effectiveDate: 'effectiveDate',
1138
- summary: 'summary',
1139
- content: 'content',
1140
- sourceUrl: 'sourceUrl',
1141
- likeCount: 'likeCount',
1142
- tags: 'tags',
1143
- visibility: 'visibility',
1144
- userId: 'userId',
1145
- isDeleted: 'isDeleted',
1146
- createdAt: 'createdAt',
1147
- updatedAt: 'updatedAt'
1148
- } as const
1149
-
1150
- export type LegalRegulationScalarFieldEnum = (typeof LegalRegulationScalarFieldEnum)[keyof typeof LegalRegulationScalarFieldEnum]
1151
-
1152
-
1153
- export const IndustryComplianceScalarFieldEnum = {
1154
- id: 'id',
1155
- canonicalId: 'canonicalId',
1156
- title: 'title',
1157
- industry: 'industry',
1158
- regulatoryBody: 'regulatoryBody',
1159
- region: 'region',
1160
- summary: 'summary',
1161
- content: 'content',
1162
- requirements: 'requirements',
1163
- sourceUrl: 'sourceUrl',
1164
- likeCount: 'likeCount',
1165
- tags: 'tags',
1166
- visibility: 'visibility',
1167
- userId: 'userId',
1168
- isDeleted: 'isDeleted',
1169
- createdAt: 'createdAt',
1170
- updatedAt: 'updatedAt'
1171
- } as const
1172
-
1173
- export type IndustryComplianceScalarFieldEnum = (typeof IndustryComplianceScalarFieldEnum)[keyof typeof IndustryComplianceScalarFieldEnum]
1174
-
1175
-
1176
- export const DictionaryTermScalarFieldEnum = {
1177
- id: 'id',
1178
- canonicalId: 'canonicalId',
1179
- title: 'title',
1180
- industry: 'industry',
1181
- definition: 'definition',
1182
- aliases: 'aliases',
1183
- examples: 'examples',
1184
- referenceUrl: 'referenceUrl',
1185
- tags: 'tags',
1186
- visibility: 'visibility',
1187
- userId: 'userId',
1188
- isDeleted: 'isDeleted',
1189
- createdAt: 'createdAt',
1190
- updatedAt: 'updatedAt'
1191
- } as const
1192
-
1193
- export type DictionaryTermScalarFieldEnum = (typeof DictionaryTermScalarFieldEnum)[keyof typeof DictionaryTermScalarFieldEnum]
1194
-
1195
-
1196
- export const WebsiteBookmarkScalarFieldEnum = {
1197
- id: 'id',
1198
- canonicalId: 'canonicalId',
1199
- title: 'title',
1200
- url: 'url',
1201
- categoryId: 'categoryId',
1202
- summary: 'summary',
1203
- faviconUrl: 'faviconUrl',
1204
- faviconSyncedAt: 'faviconSyncedAt',
1205
- isGithub: 'isGithub',
1206
- githubOwner: 'githubOwner',
1207
- githubRepo: 'githubRepo',
1208
- githubStars: 'githubStars',
1209
- githubLatestVersion: 'githubLatestVersion',
1210
- githubVersionDate: 'githubVersionDate',
1211
- githubRepoUpdatedAt: 'githubRepoUpdatedAt',
1212
- githubSyncedAt: 'githubSyncedAt',
1213
- tags: 'tags',
1214
- visibility: 'visibility',
1215
- userId: 'userId',
1216
- isDeleted: 'isDeleted',
1217
- createdAt: 'createdAt',
1218
- updatedAt: 'updatedAt'
1219
- } as const
1220
-
1221
- export type WebsiteBookmarkScalarFieldEnum = (typeof WebsiteBookmarkScalarFieldEnum)[keyof typeof WebsiteBookmarkScalarFieldEnum]
1222
-
1223
-
1224
- export const BookmarkCategoryScalarFieldEnum = {
1225
- id: 'id',
1226
- name: 'name',
1227
- icon: 'icon',
1228
- sortOrder: 'sortOrder',
1229
- isDefault: 'isDefault',
1230
- userId: 'userId',
1231
- createdAt: 'createdAt',
1232
- updatedAt: 'updatedAt'
1233
- } as const
1234
-
1235
- export type BookmarkCategoryScalarFieldEnum = (typeof BookmarkCategoryScalarFieldEnum)[keyof typeof BookmarkCategoryScalarFieldEnum]
1236
-
1237
-
1238
- export const KnowledgeShareRecordScalarFieldEnum = {
1239
- id: 'id',
1240
- entityType: 'entityType',
1241
- canonicalId: 'canonicalId',
1242
- userId: 'userId',
1243
- sharedAt: 'sharedAt'
1244
- } as const
1245
-
1246
- export type KnowledgeShareRecordScalarFieldEnum = (typeof KnowledgeShareRecordScalarFieldEnum)[keyof typeof KnowledgeShareRecordScalarFieldEnum]
1247
-
1248
-
1249
- export const ArticleFavoriteScalarFieldEnum = {
1250
- id: 'id',
1251
- entityType: 'entityType',
1252
- entityId: 'entityId',
1253
- userId: 'userId',
1254
- createdAt: 'createdAt'
1255
- } as const
1256
-
1257
- export type ArticleFavoriteScalarFieldEnum = (typeof ArticleFavoriteScalarFieldEnum)[keyof typeof ArticleFavoriteScalarFieldEnum]
1258
-
1259
-
1260
- export const PlanScalarFieldEnum = {
1261
- id: 'id',
1262
- name: 'name',
1263
- displayName: 'displayName',
1264
- description: 'description',
1265
- priceMonthly: 'priceMonthly',
1266
- priceYearly: 'priceYearly',
1267
- currency: 'currency',
1268
- maxSeats: 'maxSeats',
1269
- maxGuestSeats: 'maxGuestSeats',
1270
- maxWorkspaces: 'maxWorkspaces',
1271
- aiQuotaMonthly: 'aiQuotaMonthly',
1272
- features: 'features',
1273
- isPublic: 'isPublic',
1274
- sortOrder: 'sortOrder',
1275
- createdAt: 'createdAt',
1276
- updatedAt: 'updatedAt',
1277
- providerPriceIdUsd: 'providerPriceIdUsd',
1278
- providerPriceIdCny: 'providerPriceIdCny',
1279
- providerPriceIdUsdYearly: 'providerPriceIdUsdYearly',
1280
- providerPriceIdCnyYearly: 'providerPriceIdCnyYearly',
1281
- seatPriceMonthly: 'seatPriceMonthly',
1282
- providerSeatPriceIdUsd: 'providerSeatPriceIdUsd',
1283
- providerSeatPriceIdCny: 'providerSeatPriceIdCny',
1284
- agentQuota: 'agentQuota',
1285
- skillQuota: 'skillQuota',
1286
- sandboxMinutesMonthly: 'sandboxMinutesMonthly',
1287
- mediaGenerationsMonthly: 'mediaGenerationsMonthly',
1288
- galleryStorageMb: 'galleryStorageMb'
1289
- } as const
1290
-
1291
- export type PlanScalarFieldEnum = (typeof PlanScalarFieldEnum)[keyof typeof PlanScalarFieldEnum]
1292
-
1293
-
1294
- export const SubscriptionScalarFieldEnum = {
1295
- id: 'id',
1296
- userId: 'userId',
1297
- planId: 'planId',
1298
- status: 'status',
1299
- addonSeats: 'addonSeats',
1300
- provider: 'provider',
1301
- providerCustomerId: 'providerCustomerId',
1302
- providerSubscriptionId: 'providerSubscriptionId',
1303
- providerPriceId: 'providerPriceId',
1304
- providerSeatSubscriptionId: 'providerSeatSubscriptionId',
1305
- currentPeriodStart: 'currentPeriodStart',
1306
- currentPeriodEnd: 'currentPeriodEnd',
1307
- cancelAtPeriodEnd: 'cancelAtPeriodEnd',
1308
- canceledAt: 'canceledAt',
1309
- trialEndsAt: 'trialEndsAt',
1310
- createdAt: 'createdAt',
1311
- updatedAt: 'updatedAt'
1312
- } as const
1313
-
1314
- export type SubscriptionScalarFieldEnum = (typeof SubscriptionScalarFieldEnum)[keyof typeof SubscriptionScalarFieldEnum]
1315
-
1316
-
1317
- export const UsageRecordScalarFieldEnum = {
1318
- id: 'id',
1319
- workspaceId: 'workspaceId',
1320
- metric: 'metric',
1321
- period: 'period',
1322
- count: 'count',
1323
- resetAt: 'resetAt',
1324
- createdAt: 'createdAt',
1325
- updatedAt: 'updatedAt'
1326
- } as const
1327
-
1328
- export type UsageRecordScalarFieldEnum = (typeof UsageRecordScalarFieldEnum)[keyof typeof UsageRecordScalarFieldEnum]
1329
-
1330
-
1331
- export const AiUsageLogScalarFieldEnum = {
1332
- id: 'id',
1333
- workspaceId: 'workspaceId',
1334
- userId: 'userId',
1335
- source: 'source',
1336
- activity: 'activity',
1337
- provider: 'provider',
1338
- model: 'model',
1339
- inputTokens: 'inputTokens',
1340
- outputTokens: 'outputTokens',
1341
- costUsd: 'costUsd',
1342
- success: 'success',
1343
- errorMessage: 'errorMessage',
1344
- durationMs: 'durationMs',
1345
- createdAt: 'createdAt'
1346
- } as const
1347
-
1348
- export type AiUsageLogScalarFieldEnum = (typeof AiUsageLogScalarFieldEnum)[keyof typeof AiUsageLogScalarFieldEnum]
1349
-
1350
-
1351
- export const InvoiceScalarFieldEnum = {
1352
- id: 'id',
1353
- subscriptionId: 'subscriptionId',
1354
- providerInvoiceId: 'providerInvoiceId',
1355
- providerEventId: 'providerEventId',
1356
- amountDue: 'amountDue',
1357
- amountPaid: 'amountPaid',
1358
- currency: 'currency',
1359
- status: 'status',
1360
- pdfUrl: 'pdfUrl',
1361
- hostedInvoiceUrl: 'hostedInvoiceUrl',
1362
- periodStart: 'periodStart',
1363
- periodEnd: 'periodEnd',
1364
- paidAt: 'paidAt',
1365
- createdAt: 'createdAt'
1366
- } as const
1367
-
1368
- export type InvoiceScalarFieldEnum = (typeof InvoiceScalarFieldEnum)[keyof typeof InvoiceScalarFieldEnum]
1369
-
1370
-
1371
- export const ProviderEventScalarFieldEnum = {
1372
- id: 'id',
1373
- providerEventId: 'providerEventId',
1374
- type: 'type',
1375
- status: 'status',
1376
- payload: 'payload',
1377
- errorMessage: 'errorMessage',
1378
- processedAt: 'processedAt',
1379
- createdAt: 'createdAt'
1380
- } as const
1381
-
1382
- export type ProviderEventScalarFieldEnum = (typeof ProviderEventScalarFieldEnum)[keyof typeof ProviderEventScalarFieldEnum]
1383
-
1384
-
1385
- export const LicenseKeyScalarFieldEnum = {
1386
- id: 'id',
1387
- key: 'key',
1388
- signature: 'signature',
1389
- payload: 'payload',
1390
- customerId: 'customerId',
1391
- customerName: 'customerName',
1392
- customerEmail: 'customerEmail',
1393
- plan: 'plan',
1394
- seats: 'seats',
1395
- features: 'features',
1396
- issuedAt: 'issuedAt',
1397
- expiresAt: 'expiresAt',
1398
- revokedAt: 'revokedAt',
1399
- issuedById: 'issuedById'
1400
- } as const
1401
-
1402
- export type LicenseKeyScalarFieldEnum = (typeof LicenseKeyScalarFieldEnum)[keyof typeof LicenseKeyScalarFieldEnum]
1403
-
1404
-
1405
- export const LicenseActivationScalarFieldEnum = {
1406
- id: 'id',
1407
- licenseId: 'licenseId',
1408
- instanceId: 'instanceId',
1409
- fingerprint: 'fingerprint',
1410
- activatedAt: 'activatedAt',
1411
- lastSeenAt: 'lastSeenAt',
1412
- revokedAt: 'revokedAt'
1413
- } as const
1414
-
1415
- export type LicenseActivationScalarFieldEnum = (typeof LicenseActivationScalarFieldEnum)[keyof typeof LicenseActivationScalarFieldEnum]
1416
-
1417
-
1418
- export const AuditLogScalarFieldEnum = {
1419
- id: 'id',
1420
- workspaceId: 'workspaceId',
1421
- userId: 'userId',
1422
- action: 'action',
1423
- resourceType: 'resourceType',
1424
- resourceId: 'resourceId',
1425
- metadata: 'metadata',
1426
- ip: 'ip',
1427
- userAgent: 'userAgent',
1428
- createdAt: 'createdAt'
1429
- } as const
1430
-
1431
- export type AuditLogScalarFieldEnum = (typeof AuditLogScalarFieldEnum)[keyof typeof AuditLogScalarFieldEnum]
1432
-
1433
-
1434
- export const SsoProviderScalarFieldEnum = {
1435
- id: 'id',
1436
- workspaceId: 'workspaceId',
1437
- type: 'type',
1438
- name: 'name',
1439
- config: 'config',
1440
- domain: 'domain',
1441
- enabled: 'enabled',
1442
- createdAt: 'createdAt',
1443
- updatedAt: 'updatedAt'
1444
- } as const
1445
-
1446
- export type SsoProviderScalarFieldEnum = (typeof SsoProviderScalarFieldEnum)[keyof typeof SsoProviderScalarFieldEnum]
1447
-
1448
-
1449
- export const SsoMappingScalarFieldEnum = {
1450
- id: 'id',
1451
- providerId: 'providerId',
1452
- externalId: 'externalId',
1453
- userId: 'userId',
1454
- email: 'email',
1455
- createdAt: 'createdAt'
1456
- } as const
1457
-
1458
- export type SsoMappingScalarFieldEnum = (typeof SsoMappingScalarFieldEnum)[keyof typeof SsoMappingScalarFieldEnum]
1459
-
1460
-
1461
- export const CustomRoleScalarFieldEnum = {
1462
- id: 'id',
1463
- workspaceId: 'workspaceId',
1464
- name: 'name',
1465
- permissions: 'permissions',
1466
- isSystem: 'isSystem',
1467
- createdAt: 'createdAt',
1468
- updatedAt: 'updatedAt'
1469
- } as const
1470
-
1471
- export type CustomRoleScalarFieldEnum = (typeof CustomRoleScalarFieldEnum)[keyof typeof CustomRoleScalarFieldEnum]
1472
-
1473
-
1474
- export const RoleAssignmentScalarFieldEnum = {
1475
- id: 'id',
1476
- roleId: 'roleId',
1477
- userId: 'userId',
1478
- createdAt: 'createdAt'
1479
- } as const
1480
-
1481
- export type RoleAssignmentScalarFieldEnum = (typeof RoleAssignmentScalarFieldEnum)[keyof typeof RoleAssignmentScalarFieldEnum]
1482
-
1483
-
1484
- export const ComplianceExportScalarFieldEnum = {
1485
- id: 'id',
1486
- type: 'type',
1487
- scope: 'scope',
1488
- targetId: 'targetId',
1489
- status: 'status',
1490
- downloadUrl: 'downloadUrl',
1491
- expiresAt: 'expiresAt',
1492
- error: 'error',
1493
- content: 'content',
1494
- requestedBy: 'requestedBy',
1495
- createdAt: 'createdAt',
1496
- completedAt: 'completedAt'
1497
- } as const
1498
-
1499
- export type ComplianceExportScalarFieldEnum = (typeof ComplianceExportScalarFieldEnum)[keyof typeof ComplianceExportScalarFieldEnum]
1500
-
1501
-
1502
- export const UserAgentScalarFieldEnum = {
1503
- id: 'id',
1504
- userId: 'userId',
1505
- name: 'name',
1506
- description: 'description',
1507
- avatarEmoji: 'avatarEmoji',
1508
- systemPrompt: 'systemPrompt',
1509
- allowedTools: 'allowedTools',
1510
- model: 'model',
1511
- temperature: 'temperature',
1512
- greeting: 'greeting',
1513
- suggestedPrompts: 'suggestedPrompts',
1514
- knowledgeBaseIds: 'knowledgeBaseIds',
1515
- createdAt: 'createdAt',
1516
- updatedAt: 'updatedAt',
1517
- isDeleted: 'isDeleted',
1518
- isDefault: 'isDefault',
1519
- harnessKind: 'harnessKind'
1520
- } as const
1521
-
1522
- export type UserAgentScalarFieldEnum = (typeof UserAgentScalarFieldEnum)[keyof typeof UserAgentScalarFieldEnum]
1523
-
1524
-
1525
- export const UserSkillScalarFieldEnum = {
1526
- id: 'id',
1527
- userId: 'userId',
1528
- name: 'name',
1529
- title: 'title',
1530
- template: 'template',
1531
- createdAt: 'createdAt',
1532
- updatedAt: 'updatedAt',
1533
- isDeleted: 'isDeleted'
1534
- } as const
1535
-
1536
- export type UserSkillScalarFieldEnum = (typeof UserSkillScalarFieldEnum)[keyof typeof UserSkillScalarFieldEnum]
1537
-
1538
-
1539
- export const DeveloperLogScalarFieldEnum = {
1540
- id: 'id',
1541
- date: 'date',
1542
- year: 'year',
1543
- title: 'title',
1544
- desc: 'desc',
1545
- tags: 'tags',
1546
- commitSha: 'commitSha',
1547
- createdAt: 'createdAt',
1548
- updatedAt: 'updatedAt',
1549
- isDeleted: 'isDeleted'
1550
- } as const
1551
-
1552
- export type DeveloperLogScalarFieldEnum = (typeof DeveloperLogScalarFieldEnum)[keyof typeof DeveloperLogScalarFieldEnum]
1553
-
1554
-
1555
- export const StoryScalarFieldEnum = {
1556
- id: 'id',
1557
- sequenceId: 'sequenceId',
1558
- boardOrder: 'boardOrder',
1559
- identifier: 'identifier',
1560
- projectId: 'projectId',
1561
- name: 'name',
1562
- description: 'description',
1563
- state: 'state',
1564
- priority: 'priority',
1565
- archived: 'archived',
1566
- archivedAt: 'archivedAt',
1567
- assigneeId: 'assigneeId',
1568
- startDate: 'startDate',
1569
- targetDate: 'targetDate',
1570
- createdById: 'createdById',
1571
- updatedById: 'updatedById',
1572
- parentId: 'parentId',
1573
- iterationId: 'iterationId',
1574
- createdAt: 'createdAt',
1575
- updatedAt: 'updatedAt'
1576
- } as const
1577
-
1578
- export type StoryScalarFieldEnum = (typeof StoryScalarFieldEnum)[keyof typeof StoryScalarFieldEnum]
1579
-
1580
-
1581
- export const IterationScalarFieldEnum = {
1582
- id: 'id',
1583
- projectId: 'projectId',
1584
- name: 'name',
1585
- description: 'description',
1586
- startDate: 'startDate',
1587
- endDate: 'endDate',
1588
- archived: 'archived',
1589
- archivedAt: 'archivedAt',
1590
- createdById: 'createdById',
1591
- createdAt: 'createdAt',
1592
- updatedAt: 'updatedAt'
1593
- } as const
1594
-
1595
- export type IterationScalarFieldEnum = (typeof IterationScalarFieldEnum)[keyof typeof IterationScalarFieldEnum]
1596
-
1597
-
1598
- export const IterationAutoScheduleScalarFieldEnum = {
1599
- projectId: 'projectId',
1600
- enabled: 'enabled',
1601
- title: 'title',
1602
- durationDays: 'durationDays',
1603
- cooldownDays: 'cooldownDays',
1604
- startsOn: 'startsOn',
1605
- futureCount: 'futureCount',
1606
- autoRollover: 'autoRollover',
1607
- lastSeq: 'lastSeq'
1608
- } as const
1609
-
1610
- export type IterationAutoScheduleScalarFieldEnum = (typeof IterationAutoScheduleScalarFieldEnum)[keyof typeof IterationAutoScheduleScalarFieldEnum]
1611
-
1612
-
1613
- export const NotificationPreferenceScalarFieldEnum = {
1614
- userId: 'userId',
1615
- categories: 'categories',
1616
- emailCategories: 'emailCategories',
1617
- dndEnabled: 'dndEnabled',
1618
- dndStart: 'dndStart',
1619
- dndEnd: 'dndEnd'
1620
- } as const
1621
-
1622
- export type NotificationPreferenceScalarFieldEnum = (typeof NotificationPreferenceScalarFieldEnum)[keyof typeof NotificationPreferenceScalarFieldEnum]
1623
-
1624
-
1625
- export const CodeSnippetScalarFieldEnum = {
1626
- id: 'id',
1627
- userId: 'userId',
1628
- name: 'name',
1629
- title: 'title',
1630
- description: 'description',
1631
- params: 'params',
1632
- code: 'code',
1633
- enabled: 'enabled',
1634
- createdAt: 'createdAt',
1635
- updatedAt: 'updatedAt',
1636
- isDeleted: 'isDeleted'
1637
- } as const
1638
-
1639
- export type CodeSnippetScalarFieldEnum = (typeof CodeSnippetScalarFieldEnum)[keyof typeof CodeSnippetScalarFieldEnum]
1640
-
1641
-
1642
- export const SandboxInstanceScalarFieldEnum = {
1643
- key: 'key',
1644
- provider: 'provider',
1645
- providerSandboxId: 'providerSandboxId',
1646
- latestSnapshotId: 'latestSnapshotId',
1647
- threadId: 'threadId',
1648
- latestRunId: 'latestRunId',
1649
- updatedAt: 'updatedAt',
1650
- createdAt: 'createdAt'
1651
- } as const
1652
-
1653
- export type SandboxInstanceScalarFieldEnum = (typeof SandboxInstanceScalarFieldEnum)[keyof typeof SandboxInstanceScalarFieldEnum]
1654
-
1655
-
1656
- export const AiStreamChunkScalarFieldEnum = {
1657
- id: 'id',
1658
- runId: 'runId',
1659
- chunk: 'chunk',
1660
- createdAt: 'createdAt'
1661
- } as const
1662
-
1663
- export type AiStreamChunkScalarFieldEnum = (typeof AiStreamChunkScalarFieldEnum)[keyof typeof AiStreamChunkScalarFieldEnum]
1664
-
1665
-
1666
- export const DesktopSettingScalarFieldEnum = {
1667
- key: 'key',
1668
- value: 'value'
1669
- } as const
1670
-
1671
- export type DesktopSettingScalarFieldEnum = (typeof DesktopSettingScalarFieldEnum)[keyof typeof DesktopSettingScalarFieldEnum]
1672
-
1673
-
1674
- export const HarnessWorkspaceScalarFieldEnum = {
1675
- id: 'id',
1676
- name: 'name',
1677
- ownerId: 'ownerId',
1678
- kind: 'kind',
1679
- createdAt: 'createdAt',
1680
- updatedAt: 'updatedAt'
1681
- } as const
1682
-
1683
- export type HarnessWorkspaceScalarFieldEnum = (typeof HarnessWorkspaceScalarFieldEnum)[keyof typeof HarnessWorkspaceScalarFieldEnum]
1684
-
1685
-
1686
- export const WorkspaceFileScalarFieldEnum = {
1687
- id: 'id',
1688
- workspaceId: 'workspaceId',
1689
- path: 'path',
1690
- mimeType: 'mimeType',
1691
- size: 'size',
1692
- content: 'content',
1693
- source: 'source',
1694
- createdAt: 'createdAt',
1695
- updatedAt: 'updatedAt'
1696
- } as const
1697
-
1698
- export type WorkspaceFileScalarFieldEnum = (typeof WorkspaceFileScalarFieldEnum)[keyof typeof WorkspaceFileScalarFieldEnum]
1699
-
1700
-
1701
- export const BlobScalarFieldEnum = {
1702
- id: 'id',
1703
- mimeType: 'mimeType',
1704
- bytes: 'bytes',
1705
- size: 'size',
1706
- userId: 'userId',
1707
- createdAt: 'createdAt'
1708
- } as const
1709
-
1710
- export type BlobScalarFieldEnum = (typeof BlobScalarFieldEnum)[keyof typeof BlobScalarFieldEnum]
1711
-
1712
-
1713
- export const SortOrder = {
1714
- asc: 'asc',
1715
- desc: 'desc'
1716
- } as const
1717
-
1718
- export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]
1719
-
1720
-
1721
- export const NullableJsonNullValueInput = {
1722
- DbNull: DbNull,
1723
- JsonNull: JsonNull
1724
- } as const
1725
-
1726
- export type NullableJsonNullValueInput = (typeof NullableJsonNullValueInput)[keyof typeof NullableJsonNullValueInput]
1727
-
1728
-
1729
- export const JsonNullValueInput = {
1730
- JsonNull: JsonNull
1731
- } as const
1732
-
1733
- export type JsonNullValueInput = (typeof JsonNullValueInput)[keyof typeof JsonNullValueInput]
1734
-
1735
-
1736
- export const NullsOrder = {
1737
- first: 'first',
1738
- last: 'last'
1739
- } as const
1740
-
1741
- export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]
1742
-
1743
-
1744
- export const JsonNullValueFilter = {
1745
- DbNull: DbNull,
1746
- JsonNull: JsonNull,
1747
- AnyNull: AnyNull
1748
- } as const
1749
-
1750
- export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter]
1751
-
1752
-
1753
- export const QueryMode = {
1754
- default: 'default',
1755
- insensitive: 'insensitive'
1756
- } as const
1757
-
1758
- export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode]
1759
-