forked from bangumi/server-private
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathorm.ts
44 lines (33 loc) · 2.29 KB
/
orm.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import type * as schema from './schema.ts';
export type IUser = typeof schema.chiiUsers.$inferSelect;
export type IUserFields = typeof schema.chiiUserFields.$inferSelect;
export type IUserNetworkServices = typeof schema.chiiUserNetworkServices.$inferSelect;
export type IFriend = typeof schema.chiiFriends.$inferSelect;
export type ISubject = typeof schema.chiiSubjects.$inferSelect;
export type ISubjectFields = typeof schema.chiiSubjectFields.$inferSelect;
export type ISubjectInterest = typeof schema.chiiSubjectInterests.$inferSelect;
export type ISubjectRelation = typeof schema.chiiSubjectRelations.$inferSelect;
export type ISubjectRelatedBlog = typeof schema.chiiSubjectRelatedBlogs.$inferSelect;
export type ISubjectTopic = typeof schema.chiiSubjectTopics.$inferSelect;
export type ISubjectPost = typeof schema.chiiSubjectPosts.$inferSelect;
export type ISubjectEpStatus = typeof schema.chiiEpStatus.$inferSelect;
export type ISubjectRec = typeof schema.chiiSubjectRec.$inferSelect;
export type IEpisode = typeof schema.chiiEpisodes.$inferSelect;
export type IEpisodeComment = typeof schema.chiiEpComments.$inferSelect;
export type ICharacter = typeof schema.chiiCharacters.$inferSelect;
export type ICharacterSubject = typeof schema.chiiCharacterSubjects.$inferSelect;
export type IPerson = typeof schema.chiiPersons.$inferSelect;
export type IPersonSubject = typeof schema.chiiPersonSubjects.$inferSelect;
export type IPersonCollect = typeof schema.chiiPersonCollects.$inferSelect;
//export type IPersonRelation = typeof schema.chiiPersonRelations.$inferSelect;
export type IIndex = typeof schema.chiiIndexes.$inferSelect;
export type IIndexCollect = typeof schema.chiiIndexCollects.$inferSelect;
export type IIndexRelated = typeof schema.chiiIndexRelated.$inferSelect;
export type IBlogEntry = typeof schema.chiiBlogEntries.$inferSelect;
export type IBlogPhoto = typeof schema.chiiBlogPhotos.$inferSelect;
export type ITimeline = typeof schema.chiiTimeline.$inferSelect;
export type ITimelineComment = typeof schema.chiiTimelineComments.$inferSelect;
export type IGroup = typeof schema.chiiGroups.$inferSelect;
export type IGroupMember = typeof schema.chiiGroupMembers.$inferSelect;
export type IGroupTopic = typeof schema.chiiGroupTopics.$inferSelect;
export type IGroupPost = typeof schema.chiiGroupPosts.$inferSelect;