@allbluecn/database 0.6.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/browser.ts +25 -0
- package/generated/client.ts +25 -0
- package/generated/internal/class.ts +54 -4
- package/generated/internal/prismaNamespace.ts +453 -2
- package/generated/internal/prismaNamespaceBrowser.ts +77 -1
- package/generated/models/EmailLog.ts +1345 -0
- package/generated/models/EmailPreference.ts +1257 -0
- package/generated/models/EmailSubscriber.ts +1233 -0
- package/generated/models/EmailVerificationToken.ts +1380 -0
- package/generated/models/InvitationCode.ts +65 -1
- package/generated/models/NotificationPreference.ts +27 -1
- package/generated/models/OAuthProviderConfig.ts +1227 -0
- package/generated/models/User.ts +1435 -157
- package/generated/models.ts +5 -0
- package/generated-sqlite/browser.ts +30 -0
- package/generated-sqlite/client.ts +30 -0
- package/generated-sqlite/internal/class.ts +64 -4
- package/generated-sqlite/internal/prismaNamespace.ts +541 -3
- package/generated-sqlite/internal/prismaNamespaceBrowser.ts +90 -2
- package/generated-sqlite/models/EmailLog.ts +1343 -0
- package/generated-sqlite/models/EmailPreference.ts +1255 -0
- package/generated-sqlite/models/EmailSubscriber.ts +1231 -0
- package/generated-sqlite/models/EmailVerificationToken.ts +1377 -0
- package/generated-sqlite/models/InvitationCode.ts +65 -1
- package/generated-sqlite/models/NotificationPreference.ts +1313 -0
- package/generated-sqlite/models/OAuthProviderConfig.ts +1225 -0
- package/generated-sqlite/models/User.ts +1867 -293
- package/generated-sqlite/models.ts +6 -0
- package/migrations/20260911120000_add_pgvector_tables/migration.sql +28 -0
- package/migrations/20260911171433_email_auth_invitation/migration.sql +80 -0
- package/migrations/20260912032616_email_p4_p8/migration.sql +42 -0
- package/package.json +2 -2
- package/schema.prisma +93 -12
- package/schema.sqlite.prisma +93 -4
package/generated/models.ts
CHANGED
|
@@ -28,6 +28,11 @@ export type * from './models/LoginLog.ts'
|
|
|
28
28
|
export type * from './models/InvitationCode.ts'
|
|
29
29
|
export type * from './models/InvitationUse.ts'
|
|
30
30
|
export type * from './models/PasswordResetToken.ts'
|
|
31
|
+
export type * from './models/EmailVerificationToken.ts'
|
|
32
|
+
export type * from './models/EmailLog.ts'
|
|
33
|
+
export type * from './models/EmailPreference.ts'
|
|
34
|
+
export type * from './models/OAuthProviderConfig.ts'
|
|
35
|
+
export type * from './models/EmailSubscriber.ts'
|
|
31
36
|
export type * from './models/KnowledgeBase.ts'
|
|
32
37
|
export type * from './models/KnowledgeDocument.ts'
|
|
33
38
|
export type * from './models/PRD.ts'
|
|
@@ -107,6 +107,31 @@ export type InvitationUse = Prisma.InvitationUseModel
|
|
|
107
107
|
*
|
|
108
108
|
*/
|
|
109
109
|
export type PasswordResetToken = Prisma.PasswordResetTokenModel
|
|
110
|
+
/**
|
|
111
|
+
* Model EmailVerificationToken
|
|
112
|
+
*
|
|
113
|
+
*/
|
|
114
|
+
export type EmailVerificationToken = Prisma.EmailVerificationTokenModel
|
|
115
|
+
/**
|
|
116
|
+
* Model EmailLog
|
|
117
|
+
*
|
|
118
|
+
*/
|
|
119
|
+
export type EmailLog = Prisma.EmailLogModel
|
|
120
|
+
/**
|
|
121
|
+
* Model EmailPreference
|
|
122
|
+
*
|
|
123
|
+
*/
|
|
124
|
+
export type EmailPreference = Prisma.EmailPreferenceModel
|
|
125
|
+
/**
|
|
126
|
+
* Model OAuthProviderConfig
|
|
127
|
+
*
|
|
128
|
+
*/
|
|
129
|
+
export type OAuthProviderConfig = Prisma.OAuthProviderConfigModel
|
|
130
|
+
/**
|
|
131
|
+
* Model EmailSubscriber
|
|
132
|
+
*
|
|
133
|
+
*/
|
|
134
|
+
export type EmailSubscriber = Prisma.EmailSubscriberModel
|
|
110
135
|
/**
|
|
111
136
|
* Model KnowledgeBase
|
|
112
137
|
*
|
|
@@ -437,3 +462,8 @@ export type Iteration = Prisma.IterationModel
|
|
|
437
462
|
*
|
|
438
463
|
*/
|
|
439
464
|
export type IterationAutoSchedule = Prisma.IterationAutoScheduleModel
|
|
465
|
+
/**
|
|
466
|
+
* Model NotificationPreference
|
|
467
|
+
*
|
|
468
|
+
*/
|
|
469
|
+
export type NotificationPreference = Prisma.NotificationPreferenceModel
|
|
@@ -131,6 +131,31 @@ export type InvitationUse = Prisma.InvitationUseModel
|
|
|
131
131
|
*
|
|
132
132
|
*/
|
|
133
133
|
export type PasswordResetToken = Prisma.PasswordResetTokenModel
|
|
134
|
+
/**
|
|
135
|
+
* Model EmailVerificationToken
|
|
136
|
+
*
|
|
137
|
+
*/
|
|
138
|
+
export type EmailVerificationToken = Prisma.EmailVerificationTokenModel
|
|
139
|
+
/**
|
|
140
|
+
* Model EmailLog
|
|
141
|
+
*
|
|
142
|
+
*/
|
|
143
|
+
export type EmailLog = Prisma.EmailLogModel
|
|
144
|
+
/**
|
|
145
|
+
* Model EmailPreference
|
|
146
|
+
*
|
|
147
|
+
*/
|
|
148
|
+
export type EmailPreference = Prisma.EmailPreferenceModel
|
|
149
|
+
/**
|
|
150
|
+
* Model OAuthProviderConfig
|
|
151
|
+
*
|
|
152
|
+
*/
|
|
153
|
+
export type OAuthProviderConfig = Prisma.OAuthProviderConfigModel
|
|
154
|
+
/**
|
|
155
|
+
* Model EmailSubscriber
|
|
156
|
+
*
|
|
157
|
+
*/
|
|
158
|
+
export type EmailSubscriber = Prisma.EmailSubscriberModel
|
|
134
159
|
/**
|
|
135
160
|
* Model KnowledgeBase
|
|
136
161
|
*
|
|
@@ -461,3 +486,8 @@ export type Iteration = Prisma.IterationModel
|
|
|
461
486
|
*
|
|
462
487
|
*/
|
|
463
488
|
export type IterationAutoSchedule = Prisma.IterationAutoScheduleModel
|
|
489
|
+
/**
|
|
490
|
+
* Model NotificationPreference
|
|
491
|
+
*
|
|
492
|
+
*/
|
|
493
|
+
export type NotificationPreference = Prisma.NotificationPreferenceModel
|