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