@allbluecn/database 0.11.0 → 0.12.1

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 (111) hide show
  1. package/index.ts +19 -17
  2. package/migrations/20261030000000_sync_overlay/migration.sql +152 -0
  3. package/package.json +29 -21
  4. package/pglite-init.ts +92 -0
  5. package/LICENSE +0 -661
  6. package/desktop-init.ts +0 -162
  7. package/generated-sqlite/browser.ts +0 -499
  8. package/generated-sqlite/client.ts +0 -523
  9. package/generated-sqlite/commonInputTypes.ts +0 -722
  10. package/generated-sqlite/enums.ts +0 -15
  11. package/generated-sqlite/internal/class.ts +0 -1154
  12. package/generated-sqlite/internal/prismaNamespace.ts +0 -9576
  13. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +0 -1761
  14. package/generated-sqlite/models/AgentConversation.ts +0 -1647
  15. package/generated-sqlite/models/AgentMessage.ts +0 -1406
  16. package/generated-sqlite/models/AiProvider.ts +0 -1605
  17. package/generated-sqlite/models/AiProviderConfig.ts +0 -1610
  18. package/generated-sqlite/models/AiStreamChunk.ts +0 -1157
  19. package/generated-sqlite/models/AiUsageLog.ts +0 -1905
  20. package/generated-sqlite/models/AnyHubApp.ts +0 -1908
  21. package/generated-sqlite/models/AnyHubMarketApp.ts +0 -1997
  22. package/generated-sqlite/models/AnyHubPermission.ts +0 -1419
  23. package/generated-sqlite/models/AnyHubRecommendation.ts +0 -1867
  24. package/generated-sqlite/models/AnyHubRecommender.ts +0 -1467
  25. package/generated-sqlite/models/ArticleFavorite.ts +0 -1349
  26. package/generated-sqlite/models/AuditLog.ts +0 -1287
  27. package/generated-sqlite/models/Blob.ts +0 -1425
  28. package/generated-sqlite/models/Block.ts +0 -1648
  29. package/generated-sqlite/models/BlockComponent.ts +0 -1730
  30. package/generated-sqlite/models/BlockInstance.ts +0 -2039
  31. package/generated-sqlite/models/BookmarkCategory.ts +0 -1667
  32. package/generated-sqlite/models/BusinessAgentBinding.ts +0 -1549
  33. package/generated-sqlite/models/ChatInterrupt.ts +0 -1736
  34. package/generated-sqlite/models/ChatMessage.ts +0 -1464
  35. package/generated-sqlite/models/ChatPersistenceMeta.ts +0 -1119
  36. package/generated-sqlite/models/ChatRun.ts +0 -1802
  37. package/generated-sqlite/models/ChatThread.ts +0 -2417
  38. package/generated-sqlite/models/CodeSnippet.ts +0 -1552
  39. package/generated-sqlite/models/Comment.ts +0 -2201
  40. package/generated-sqlite/models/CommentIgnore.ts +0 -1426
  41. package/generated-sqlite/models/ComplianceExport.ts +0 -1343
  42. package/generated-sqlite/models/Component.ts +0 -2132
  43. package/generated-sqlite/models/ComponentInstance.ts +0 -2097
  44. package/generated-sqlite/models/CustomRole.ts +0 -1209
  45. package/generated-sqlite/models/Design.ts +0 -2497
  46. package/generated-sqlite/models/DesignPage.ts +0 -2398
  47. package/generated-sqlite/models/DesignVersion.ts +0 -2117
  48. package/generated-sqlite/models/DesktopSetting.ts +0 -1057
  49. package/generated-sqlite/models/DeveloperLog.ts +0 -1281
  50. package/generated-sqlite/models/DictionaryTerm.ts +0 -1639
  51. package/generated-sqlite/models/EmailLog.ts +0 -1343
  52. package/generated-sqlite/models/EmailPreference.ts +0 -1255
  53. package/generated-sqlite/models/EmailSubscriber.ts +0 -1231
  54. package/generated-sqlite/models/EmailVerificationToken.ts +0 -1377
  55. package/generated-sqlite/models/GenerationRun.ts +0 -1732
  56. package/generated-sqlite/models/HarnessPlugin.ts +0 -1666
  57. package/generated-sqlite/models/HarnessWorkspace.ts +0 -1647
  58. package/generated-sqlite/models/IndustryCompliance.ts +0 -1794
  59. package/generated-sqlite/models/InvitationCode.ts +0 -1471
  60. package/generated-sqlite/models/InvitationUse.ts +0 -1420
  61. package/generated-sqlite/models/Invoice.ts +0 -1707
  62. package/generated-sqlite/models/Iteration.ts +0 -1874
  63. package/generated-sqlite/models/IterationAutoSchedule.ts +0 -1483
  64. package/generated-sqlite/models/KnowledgeBase.ts +0 -2238
  65. package/generated-sqlite/models/KnowledgeDocument.ts +0 -2450
  66. package/generated-sqlite/models/KnowledgeShareRecord.ts +0 -1349
  67. package/generated-sqlite/models/LegalRegulation.ts +0 -1905
  68. package/generated-sqlite/models/LicenseActivation.ts +0 -1203
  69. package/generated-sqlite/models/LicenseKey.ts +0 -1443
  70. package/generated-sqlite/models/LoginLog.ts +0 -1447
  71. package/generated-sqlite/models/NotificationPreference.ts +0 -1313
  72. package/generated-sqlite/models/OAuthProviderConfig.ts +0 -1225
  73. package/generated-sqlite/models/PageVersion.ts +0 -1520
  74. package/generated-sqlite/models/PasswordResetToken.ts +0 -1377
  75. package/generated-sqlite/models/Plan.ts +0 -2250
  76. package/generated-sqlite/models/Project.ts +0 -2628
  77. package/generated-sqlite/models/ProjectActivity.ts +0 -1578
  78. package/generated-sqlite/models/ProjectKnowledgeBase.ts +0 -1426
  79. package/generated-sqlite/models/ProjectMember.ts +0 -1508
  80. package/generated-sqlite/models/ProviderEvent.ts +0 -1225
  81. package/generated-sqlite/models/Reference.ts +0 -1175
  82. package/generated-sqlite/models/Review.ts +0 -1903
  83. package/generated-sqlite/models/ReviewComment.ts +0 -1899
  84. package/generated-sqlite/models/RoleAssignment.ts +0 -1125
  85. package/generated-sqlite/models/SandboxInstance.ts +0 -1283
  86. package/generated-sqlite/models/Share.ts +0 -1674
  87. package/generated-sqlite/models/ShareVersion.ts +0 -1385
  88. package/generated-sqlite/models/SsoMapping.ts +0 -1181
  89. package/generated-sqlite/models/SsoProvider.ts +0 -1266
  90. package/generated-sqlite/models/Story.ts +0 -3263
  91. package/generated-sqlite/models/Subscription.ts +0 -2137
  92. package/generated-sqlite/models/SystemPromptTemplate.ts +0 -1581
  93. package/generated-sqlite/models/SystemPromptVersion.ts +0 -1456
  94. package/generated-sqlite/models/SystemSetting.ts +0 -1215
  95. package/generated-sqlite/models/TeamInvitation.ts +0 -1758
  96. package/generated-sqlite/models/TeamJoinRequest.ts +0 -1793
  97. package/generated-sqlite/models/TeamMembership.ts +0 -1433
  98. package/generated-sqlite/models/Template.ts +0 -1389
  99. package/generated-sqlite/models/TemplateBlock.ts +0 -1660
  100. package/generated-sqlite/models/ThirdPartyDependency.ts +0 -1471
  101. package/generated-sqlite/models/UsageRecord.ts +0 -1498
  102. package/generated-sqlite/models/User.ts +0 -21247
  103. package/generated-sqlite/models/UserAgent.ts +0 -2146
  104. package/generated-sqlite/models/UserSkill.ts +0 -1453
  105. package/generated-sqlite/models/WebsiteBookmark.ts +0 -2215
  106. package/generated-sqlite/models/Workspace.ts +0 -2341
  107. package/generated-sqlite/models/WorkspaceFile.ts +0 -1532
  108. package/generated-sqlite/models/WorkspaceKnowledgeBase.ts +0 -1426
  109. package/generated-sqlite/models/WorkspaceQuickDoc.ts +0 -2025
  110. package/generated-sqlite/models.ts +0 -107
  111. package/schema.sqlite.prisma +0 -2045
@@ -1,1761 +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
- installQuota: 'installQuota',
1290
- blobStorageMb: 'blobStorageMb'
1291
- } as const
1292
-
1293
- export type PlanScalarFieldEnum = (typeof PlanScalarFieldEnum)[keyof typeof PlanScalarFieldEnum]
1294
-
1295
-
1296
- export const SubscriptionScalarFieldEnum = {
1297
- id: 'id',
1298
- userId: 'userId',
1299
- planId: 'planId',
1300
- status: 'status',
1301
- addonSeats: 'addonSeats',
1302
- provider: 'provider',
1303
- providerCustomerId: 'providerCustomerId',
1304
- providerSubscriptionId: 'providerSubscriptionId',
1305
- providerPriceId: 'providerPriceId',
1306
- providerSeatSubscriptionId: 'providerSeatSubscriptionId',
1307
- currentPeriodStart: 'currentPeriodStart',
1308
- currentPeriodEnd: 'currentPeriodEnd',
1309
- cancelAtPeriodEnd: 'cancelAtPeriodEnd',
1310
- canceledAt: 'canceledAt',
1311
- trialEndsAt: 'trialEndsAt',
1312
- createdAt: 'createdAt',
1313
- updatedAt: 'updatedAt'
1314
- } as const
1315
-
1316
- export type SubscriptionScalarFieldEnum = (typeof SubscriptionScalarFieldEnum)[keyof typeof SubscriptionScalarFieldEnum]
1317
-
1318
-
1319
- export const UsageRecordScalarFieldEnum = {
1320
- id: 'id',
1321
- workspaceId: 'workspaceId',
1322
- metric: 'metric',
1323
- period: 'period',
1324
- count: 'count',
1325
- resetAt: 'resetAt',
1326
- createdAt: 'createdAt',
1327
- updatedAt: 'updatedAt'
1328
- } as const
1329
-
1330
- export type UsageRecordScalarFieldEnum = (typeof UsageRecordScalarFieldEnum)[keyof typeof UsageRecordScalarFieldEnum]
1331
-
1332
-
1333
- export const AiUsageLogScalarFieldEnum = {
1334
- id: 'id',
1335
- workspaceId: 'workspaceId',
1336
- userId: 'userId',
1337
- source: 'source',
1338
- activity: 'activity',
1339
- provider: 'provider',
1340
- model: 'model',
1341
- inputTokens: 'inputTokens',
1342
- outputTokens: 'outputTokens',
1343
- costUsd: 'costUsd',
1344
- success: 'success',
1345
- errorMessage: 'errorMessage',
1346
- durationMs: 'durationMs',
1347
- createdAt: 'createdAt'
1348
- } as const
1349
-
1350
- export type AiUsageLogScalarFieldEnum = (typeof AiUsageLogScalarFieldEnum)[keyof typeof AiUsageLogScalarFieldEnum]
1351
-
1352
-
1353
- export const InvoiceScalarFieldEnum = {
1354
- id: 'id',
1355
- subscriptionId: 'subscriptionId',
1356
- providerInvoiceId: 'providerInvoiceId',
1357
- providerEventId: 'providerEventId',
1358
- amountDue: 'amountDue',
1359
- amountPaid: 'amountPaid',
1360
- currency: 'currency',
1361
- status: 'status',
1362
- pdfUrl: 'pdfUrl',
1363
- hostedInvoiceUrl: 'hostedInvoiceUrl',
1364
- periodStart: 'periodStart',
1365
- periodEnd: 'periodEnd',
1366
- paidAt: 'paidAt',
1367
- createdAt: 'createdAt'
1368
- } as const
1369
-
1370
- export type InvoiceScalarFieldEnum = (typeof InvoiceScalarFieldEnum)[keyof typeof InvoiceScalarFieldEnum]
1371
-
1372
-
1373
- export const ProviderEventScalarFieldEnum = {
1374
- id: 'id',
1375
- providerEventId: 'providerEventId',
1376
- type: 'type',
1377
- status: 'status',
1378
- payload: 'payload',
1379
- errorMessage: 'errorMessage',
1380
- processedAt: 'processedAt',
1381
- createdAt: 'createdAt'
1382
- } as const
1383
-
1384
- export type ProviderEventScalarFieldEnum = (typeof ProviderEventScalarFieldEnum)[keyof typeof ProviderEventScalarFieldEnum]
1385
-
1386
-
1387
- export const LicenseKeyScalarFieldEnum = {
1388
- id: 'id',
1389
- key: 'key',
1390
- signature: 'signature',
1391
- payload: 'payload',
1392
- customerId: 'customerId',
1393
- customerName: 'customerName',
1394
- customerEmail: 'customerEmail',
1395
- plan: 'plan',
1396
- seats: 'seats',
1397
- features: 'features',
1398
- issuedAt: 'issuedAt',
1399
- expiresAt: 'expiresAt',
1400
- revokedAt: 'revokedAt',
1401
- issuedById: 'issuedById'
1402
- } as const
1403
-
1404
- export type LicenseKeyScalarFieldEnum = (typeof LicenseKeyScalarFieldEnum)[keyof typeof LicenseKeyScalarFieldEnum]
1405
-
1406
-
1407
- export const LicenseActivationScalarFieldEnum = {
1408
- id: 'id',
1409
- licenseId: 'licenseId',
1410
- instanceId: 'instanceId',
1411
- fingerprint: 'fingerprint',
1412
- activatedAt: 'activatedAt',
1413
- lastSeenAt: 'lastSeenAt',
1414
- revokedAt: 'revokedAt'
1415
- } as const
1416
-
1417
- export type LicenseActivationScalarFieldEnum = (typeof LicenseActivationScalarFieldEnum)[keyof typeof LicenseActivationScalarFieldEnum]
1418
-
1419
-
1420
- export const AuditLogScalarFieldEnum = {
1421
- id: 'id',
1422
- workspaceId: 'workspaceId',
1423
- userId: 'userId',
1424
- action: 'action',
1425
- resourceType: 'resourceType',
1426
- resourceId: 'resourceId',
1427
- metadata: 'metadata',
1428
- ip: 'ip',
1429
- userAgent: 'userAgent',
1430
- createdAt: 'createdAt'
1431
- } as const
1432
-
1433
- export type AuditLogScalarFieldEnum = (typeof AuditLogScalarFieldEnum)[keyof typeof AuditLogScalarFieldEnum]
1434
-
1435
-
1436
- export const SsoProviderScalarFieldEnum = {
1437
- id: 'id',
1438
- workspaceId: 'workspaceId',
1439
- type: 'type',
1440
- name: 'name',
1441
- config: 'config',
1442
- domain: 'domain',
1443
- enabled: 'enabled',
1444
- createdAt: 'createdAt',
1445
- updatedAt: 'updatedAt'
1446
- } as const
1447
-
1448
- export type SsoProviderScalarFieldEnum = (typeof SsoProviderScalarFieldEnum)[keyof typeof SsoProviderScalarFieldEnum]
1449
-
1450
-
1451
- export const SsoMappingScalarFieldEnum = {
1452
- id: 'id',
1453
- providerId: 'providerId',
1454
- externalId: 'externalId',
1455
- userId: 'userId',
1456
- email: 'email',
1457
- createdAt: 'createdAt'
1458
- } as const
1459
-
1460
- export type SsoMappingScalarFieldEnum = (typeof SsoMappingScalarFieldEnum)[keyof typeof SsoMappingScalarFieldEnum]
1461
-
1462
-
1463
- export const CustomRoleScalarFieldEnum = {
1464
- id: 'id',
1465
- workspaceId: 'workspaceId',
1466
- name: 'name',
1467
- permissions: 'permissions',
1468
- isSystem: 'isSystem',
1469
- createdAt: 'createdAt',
1470
- updatedAt: 'updatedAt'
1471
- } as const
1472
-
1473
- export type CustomRoleScalarFieldEnum = (typeof CustomRoleScalarFieldEnum)[keyof typeof CustomRoleScalarFieldEnum]
1474
-
1475
-
1476
- export const RoleAssignmentScalarFieldEnum = {
1477
- id: 'id',
1478
- roleId: 'roleId',
1479
- userId: 'userId',
1480
- createdAt: 'createdAt'
1481
- } as const
1482
-
1483
- export type RoleAssignmentScalarFieldEnum = (typeof RoleAssignmentScalarFieldEnum)[keyof typeof RoleAssignmentScalarFieldEnum]
1484
-
1485
-
1486
- export const ComplianceExportScalarFieldEnum = {
1487
- id: 'id',
1488
- type: 'type',
1489
- scope: 'scope',
1490
- targetId: 'targetId',
1491
- status: 'status',
1492
- downloadUrl: 'downloadUrl',
1493
- expiresAt: 'expiresAt',
1494
- error: 'error',
1495
- content: 'content',
1496
- requestedBy: 'requestedBy',
1497
- createdAt: 'createdAt',
1498
- completedAt: 'completedAt'
1499
- } as const
1500
-
1501
- export type ComplianceExportScalarFieldEnum = (typeof ComplianceExportScalarFieldEnum)[keyof typeof ComplianceExportScalarFieldEnum]
1502
-
1503
-
1504
- export const UserAgentScalarFieldEnum = {
1505
- id: 'id',
1506
- userId: 'userId',
1507
- name: 'name',
1508
- description: 'description',
1509
- avatarEmoji: 'avatarEmoji',
1510
- systemPrompt: 'systemPrompt',
1511
- allowedTools: 'allowedTools',
1512
- model: 'model',
1513
- temperature: 'temperature',
1514
- greeting: 'greeting',
1515
- suggestedPrompts: 'suggestedPrompts',
1516
- knowledgeBaseIds: 'knowledgeBaseIds',
1517
- createdAt: 'createdAt',
1518
- updatedAt: 'updatedAt',
1519
- isDeleted: 'isDeleted',
1520
- isDefault: 'isDefault',
1521
- harnessKind: 'harnessKind'
1522
- } as const
1523
-
1524
- export type UserAgentScalarFieldEnum = (typeof UserAgentScalarFieldEnum)[keyof typeof UserAgentScalarFieldEnum]
1525
-
1526
-
1527
- export const UserSkillScalarFieldEnum = {
1528
- id: 'id',
1529
- userId: 'userId',
1530
- name: 'name',
1531
- title: 'title',
1532
- template: 'template',
1533
- createdAt: 'createdAt',
1534
- updatedAt: 'updatedAt',
1535
- isDeleted: 'isDeleted'
1536
- } as const
1537
-
1538
- export type UserSkillScalarFieldEnum = (typeof UserSkillScalarFieldEnum)[keyof typeof UserSkillScalarFieldEnum]
1539
-
1540
-
1541
- export const DeveloperLogScalarFieldEnum = {
1542
- id: 'id',
1543
- date: 'date',
1544
- year: 'year',
1545
- title: 'title',
1546
- desc: 'desc',
1547
- tags: 'tags',
1548
- commitSha: 'commitSha',
1549
- createdAt: 'createdAt',
1550
- updatedAt: 'updatedAt',
1551
- isDeleted: 'isDeleted'
1552
- } as const
1553
-
1554
- export type DeveloperLogScalarFieldEnum = (typeof DeveloperLogScalarFieldEnum)[keyof typeof DeveloperLogScalarFieldEnum]
1555
-
1556
-
1557
- export const StoryScalarFieldEnum = {
1558
- id: 'id',
1559
- sequenceId: 'sequenceId',
1560
- boardOrder: 'boardOrder',
1561
- identifier: 'identifier',
1562
- projectId: 'projectId',
1563
- name: 'name',
1564
- description: 'description',
1565
- state: 'state',
1566
- priority: 'priority',
1567
- archived: 'archived',
1568
- archivedAt: 'archivedAt',
1569
- assigneeId: 'assigneeId',
1570
- startDate: 'startDate',
1571
- targetDate: 'targetDate',
1572
- createdById: 'createdById',
1573
- updatedById: 'updatedById',
1574
- parentId: 'parentId',
1575
- iterationId: 'iterationId',
1576
- createdAt: 'createdAt',
1577
- updatedAt: 'updatedAt'
1578
- } as const
1579
-
1580
- export type StoryScalarFieldEnum = (typeof StoryScalarFieldEnum)[keyof typeof StoryScalarFieldEnum]
1581
-
1582
-
1583
- export const IterationScalarFieldEnum = {
1584
- id: 'id',
1585
- projectId: 'projectId',
1586
- name: 'name',
1587
- description: 'description',
1588
- startDate: 'startDate',
1589
- endDate: 'endDate',
1590
- archived: 'archived',
1591
- archivedAt: 'archivedAt',
1592
- createdById: 'createdById',
1593
- createdAt: 'createdAt',
1594
- updatedAt: 'updatedAt'
1595
- } as const
1596
-
1597
- export type IterationScalarFieldEnum = (typeof IterationScalarFieldEnum)[keyof typeof IterationScalarFieldEnum]
1598
-
1599
-
1600
- export const IterationAutoScheduleScalarFieldEnum = {
1601
- projectId: 'projectId',
1602
- enabled: 'enabled',
1603
- title: 'title',
1604
- durationDays: 'durationDays',
1605
- cooldownDays: 'cooldownDays',
1606
- startsOn: 'startsOn',
1607
- futureCount: 'futureCount',
1608
- autoRollover: 'autoRollover',
1609
- lastSeq: 'lastSeq'
1610
- } as const
1611
-
1612
- export type IterationAutoScheduleScalarFieldEnum = (typeof IterationAutoScheduleScalarFieldEnum)[keyof typeof IterationAutoScheduleScalarFieldEnum]
1613
-
1614
-
1615
- export const NotificationPreferenceScalarFieldEnum = {
1616
- userId: 'userId',
1617
- categories: 'categories',
1618
- emailCategories: 'emailCategories',
1619
- dndEnabled: 'dndEnabled',
1620
- dndStart: 'dndStart',
1621
- dndEnd: 'dndEnd'
1622
- } as const
1623
-
1624
- export type NotificationPreferenceScalarFieldEnum = (typeof NotificationPreferenceScalarFieldEnum)[keyof typeof NotificationPreferenceScalarFieldEnum]
1625
-
1626
-
1627
- export const CodeSnippetScalarFieldEnum = {
1628
- id: 'id',
1629
- userId: 'userId',
1630
- name: 'name',
1631
- title: 'title',
1632
- description: 'description',
1633
- params: 'params',
1634
- code: 'code',
1635
- enabled: 'enabled',
1636
- createdAt: 'createdAt',
1637
- updatedAt: 'updatedAt',
1638
- isDeleted: 'isDeleted'
1639
- } as const
1640
-
1641
- export type CodeSnippetScalarFieldEnum = (typeof CodeSnippetScalarFieldEnum)[keyof typeof CodeSnippetScalarFieldEnum]
1642
-
1643
-
1644
- export const SandboxInstanceScalarFieldEnum = {
1645
- key: 'key',
1646
- provider: 'provider',
1647
- providerSandboxId: 'providerSandboxId',
1648
- latestSnapshotId: 'latestSnapshotId',
1649
- threadId: 'threadId',
1650
- latestRunId: 'latestRunId',
1651
- updatedAt: 'updatedAt',
1652
- createdAt: 'createdAt'
1653
- } as const
1654
-
1655
- export type SandboxInstanceScalarFieldEnum = (typeof SandboxInstanceScalarFieldEnum)[keyof typeof SandboxInstanceScalarFieldEnum]
1656
-
1657
-
1658
- export const AiStreamChunkScalarFieldEnum = {
1659
- id: 'id',
1660
- runId: 'runId',
1661
- chunk: 'chunk',
1662
- createdAt: 'createdAt'
1663
- } as const
1664
-
1665
- export type AiStreamChunkScalarFieldEnum = (typeof AiStreamChunkScalarFieldEnum)[keyof typeof AiStreamChunkScalarFieldEnum]
1666
-
1667
-
1668
- export const DesktopSettingScalarFieldEnum = {
1669
- key: 'key',
1670
- value: 'value'
1671
- } as const
1672
-
1673
- export type DesktopSettingScalarFieldEnum = (typeof DesktopSettingScalarFieldEnum)[keyof typeof DesktopSettingScalarFieldEnum]
1674
-
1675
-
1676
- export const HarnessWorkspaceScalarFieldEnum = {
1677
- id: 'id',
1678
- name: 'name',
1679
- ownerId: 'ownerId',
1680
- kind: 'kind',
1681
- createdAt: 'createdAt',
1682
- updatedAt: 'updatedAt'
1683
- } as const
1684
-
1685
- export type HarnessWorkspaceScalarFieldEnum = (typeof HarnessWorkspaceScalarFieldEnum)[keyof typeof HarnessWorkspaceScalarFieldEnum]
1686
-
1687
-
1688
- export const WorkspaceFileScalarFieldEnum = {
1689
- id: 'id',
1690
- workspaceId: 'workspaceId',
1691
- path: 'path',
1692
- mimeType: 'mimeType',
1693
- size: 'size',
1694
- content: 'content',
1695
- source: 'source',
1696
- createdAt: 'createdAt',
1697
- updatedAt: 'updatedAt'
1698
- } as const
1699
-
1700
- export type WorkspaceFileScalarFieldEnum = (typeof WorkspaceFileScalarFieldEnum)[keyof typeof WorkspaceFileScalarFieldEnum]
1701
-
1702
-
1703
- export const BlobScalarFieldEnum = {
1704
- id: 'id',
1705
- mimeType: 'mimeType',
1706
- bytes: 'bytes',
1707
- size: 'size',
1708
- userId: 'userId',
1709
- createdAt: 'createdAt'
1710
- } as const
1711
-
1712
- export type BlobScalarFieldEnum = (typeof BlobScalarFieldEnum)[keyof typeof BlobScalarFieldEnum]
1713
-
1714
-
1715
- export const SortOrder = {
1716
- asc: 'asc',
1717
- desc: 'desc'
1718
- } as const
1719
-
1720
- export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]
1721
-
1722
-
1723
- export const NullableJsonNullValueInput = {
1724
- DbNull: DbNull,
1725
- JsonNull: JsonNull
1726
- } as const
1727
-
1728
- export type NullableJsonNullValueInput = (typeof NullableJsonNullValueInput)[keyof typeof NullableJsonNullValueInput]
1729
-
1730
-
1731
- export const JsonNullValueInput = {
1732
- JsonNull: JsonNull
1733
- } as const
1734
-
1735
- export type JsonNullValueInput = (typeof JsonNullValueInput)[keyof typeof JsonNullValueInput]
1736
-
1737
-
1738
- export const NullsOrder = {
1739
- first: 'first',
1740
- last: 'last'
1741
- } as const
1742
-
1743
- export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]
1744
-
1745
-
1746
- export const JsonNullValueFilter = {
1747
- DbNull: DbNull,
1748
- JsonNull: JsonNull,
1749
- AnyNull: AnyNull
1750
- } as const
1751
-
1752
- export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter]
1753
-
1754
-
1755
- export const QueryMode = {
1756
- default: 'default',
1757
- insensitive: 'insensitive'
1758
- } as const
1759
-
1760
- export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode]
1761
-