2022-09-17 20:27:08 +02:00
|
|
|
import { AbuseUserReport } from '@/models/entities/AbuseUserReport.js';
|
|
|
|
import { AccessToken } from '@/models/entities/AccessToken.js';
|
|
|
|
import { Ad } from '@/models/entities/Ad.js';
|
|
|
|
import { Announcement } from '@/models/entities/Announcement.js';
|
|
|
|
import { AnnouncementRead } from '@/models/entities/AnnouncementRead.js';
|
|
|
|
import { Antenna } from '@/models/entities/Antenna.js';
|
|
|
|
import { App } from '@/models/entities/App.js';
|
|
|
|
import { AttestationChallenge } from '@/models/entities/AttestationChallenge.js';
|
|
|
|
import { AuthSession } from '@/models/entities/AuthSession.js';
|
|
|
|
import { Blocking } from '@/models/entities/Blocking.js';
|
|
|
|
import { ChannelFollowing } from '@/models/entities/ChannelFollowing.js';
|
2023-03-31 04:30:27 +02:00
|
|
|
import { ChannelFavorite } from '@/models/entities/ChannelFavorite.js';
|
2022-09-17 20:27:08 +02:00
|
|
|
import { Clip } from '@/models/entities/Clip.js';
|
|
|
|
import { ClipNote } from '@/models/entities/ClipNote.js';
|
2023-03-16 09:24:49 +01:00
|
|
|
import { ClipFavorite } from '@/models/entities/ClipFavorite.js';
|
2022-09-17 20:27:08 +02:00
|
|
|
import { DriveFile } from '@/models/entities/DriveFile.js';
|
|
|
|
import { DriveFolder } from '@/models/entities/DriveFolder.js';
|
|
|
|
import { Emoji } from '@/models/entities/Emoji.js';
|
|
|
|
import { Following } from '@/models/entities/Following.js';
|
|
|
|
import { FollowRequest } from '@/models/entities/FollowRequest.js';
|
|
|
|
import { GalleryLike } from '@/models/entities/GalleryLike.js';
|
|
|
|
import { GalleryPost } from '@/models/entities/GalleryPost.js';
|
|
|
|
import { Hashtag } from '@/models/entities/Hashtag.js';
|
|
|
|
import { Instance } from '@/models/entities/Instance.js';
|
|
|
|
import { Meta } from '@/models/entities/Meta.js';
|
|
|
|
import { ModerationLog } from '@/models/entities/ModerationLog.js';
|
|
|
|
import { MutedNote } from '@/models/entities/MutedNote.js';
|
|
|
|
import { Muting } from '@/models/entities/Muting.js';
|
2023-03-08 00:56:09 +01:00
|
|
|
import { RenoteMuting } from '@/models/entities/RenoteMuting.js';
|
2022-09-17 20:27:08 +02:00
|
|
|
import { Note } from '@/models/entities/Note.js';
|
|
|
|
import { NoteFavorite } from '@/models/entities/NoteFavorite.js';
|
|
|
|
import { NoteReaction } from '@/models/entities/NoteReaction.js';
|
|
|
|
import { NoteThreadMuting } from '@/models/entities/NoteThreadMuting.js';
|
|
|
|
import { NoteUnread } from '@/models/entities/NoteUnread.js';
|
|
|
|
import { Page } from '@/models/entities/Page.js';
|
|
|
|
import { PageLike } from '@/models/entities/PageLike.js';
|
|
|
|
import { PasswordResetRequest } from '@/models/entities/PasswordResetRequest.js';
|
|
|
|
import { Poll } from '@/models/entities/Poll.js';
|
|
|
|
import { PollVote } from '@/models/entities/PollVote.js';
|
|
|
|
import { PromoNote } from '@/models/entities/PromoNote.js';
|
|
|
|
import { PromoRead } from '@/models/entities/PromoRead.js';
|
2022-12-25 00:27:06 +01:00
|
|
|
import { RegistrationTicket } from '@/models/entities/RegistrationTicket.js';
|
2022-09-17 20:27:08 +02:00
|
|
|
import { RegistryItem } from '@/models/entities/RegistryItem.js';
|
|
|
|
import { Relay } from '@/models/entities/Relay.js';
|
|
|
|
import { Signin } from '@/models/entities/Signin.js';
|
|
|
|
import { SwSubscription } from '@/models/entities/SwSubscription.js';
|
|
|
|
import { UsedUsername } from '@/models/entities/UsedUsername.js';
|
|
|
|
import { User } from '@/models/entities/User.js';
|
|
|
|
import { UserIp } from '@/models/entities/UserIp.js';
|
|
|
|
import { UserKeypair } from '@/models/entities/UserKeypair.js';
|
|
|
|
import { UserList } from '@/models/entities/UserList.js';
|
|
|
|
import { UserListJoining } from '@/models/entities/UserListJoining.js';
|
|
|
|
import { UserNotePining } from '@/models/entities/UserNotePining.js';
|
|
|
|
import { UserPending } from '@/models/entities/UserPending.js';
|
|
|
|
import { UserProfile } from '@/models/entities/UserProfile.js';
|
|
|
|
import { UserPublickey } from '@/models/entities/UserPublickey.js';
|
|
|
|
import { UserSecurityKey } from '@/models/entities/UserSecurityKey.js';
|
2023-04-13 06:17:32 +02:00
|
|
|
import { UserMemo } from '@/models/entities/UserMemo.js';
|
2022-09-17 20:27:08 +02:00
|
|
|
import { Webhook } from '@/models/entities/Webhook.js';
|
|
|
|
import { Channel } from '@/models/entities/Channel.js';
|
2022-12-25 01:09:46 +01:00
|
|
|
import { RetentionAggregation } from '@/models/entities/RetentionAggregation.js';
|
2023-01-12 13:02:26 +01:00
|
|
|
import { Role } from '@/models/entities/Role.js';
|
|
|
|
import { RoleAssignment } from '@/models/entities/RoleAssignment.js';
|
2023-01-05 05:59:48 +01:00
|
|
|
import { Flash } from '@/models/entities/Flash.js';
|
|
|
|
import { FlashLike } from '@/models/entities/FlashLike.js';
|
2022-09-17 20:27:08 +02:00
|
|
|
import type { Repository } from 'typeorm';
|
2022-03-26 07:34:00 +01:00
|
|
|
|
2022-09-17 20:27:08 +02:00
|
|
|
export {
|
|
|
|
AbuseUserReport,
|
|
|
|
AccessToken,
|
|
|
|
Ad,
|
|
|
|
Announcement,
|
|
|
|
AnnouncementRead,
|
|
|
|
Antenna,
|
|
|
|
App,
|
|
|
|
AttestationChallenge,
|
|
|
|
AuthSession,
|
|
|
|
Blocking,
|
|
|
|
ChannelFollowing,
|
2023-03-31 04:30:27 +02:00
|
|
|
ChannelFavorite,
|
2022-09-17 20:27:08 +02:00
|
|
|
Clip,
|
|
|
|
ClipNote,
|
2023-03-16 09:24:49 +01:00
|
|
|
ClipFavorite,
|
2022-09-17 20:27:08 +02:00
|
|
|
DriveFile,
|
|
|
|
DriveFolder,
|
|
|
|
Emoji,
|
|
|
|
Following,
|
|
|
|
FollowRequest,
|
|
|
|
GalleryLike,
|
|
|
|
GalleryPost,
|
|
|
|
Hashtag,
|
|
|
|
Instance,
|
|
|
|
Meta,
|
|
|
|
ModerationLog,
|
|
|
|
MutedNote,
|
|
|
|
Muting,
|
2023-03-08 00:56:09 +01:00
|
|
|
RenoteMuting,
|
2022-09-17 20:27:08 +02:00
|
|
|
Note,
|
|
|
|
NoteFavorite,
|
|
|
|
NoteReaction,
|
|
|
|
NoteThreadMuting,
|
|
|
|
NoteUnread,
|
|
|
|
Page,
|
|
|
|
PageLike,
|
|
|
|
PasswordResetRequest,
|
|
|
|
Poll,
|
|
|
|
PollVote,
|
|
|
|
PromoNote,
|
|
|
|
PromoRead,
|
|
|
|
RegistrationTicket,
|
|
|
|
RegistryItem,
|
|
|
|
Relay,
|
|
|
|
Signin,
|
|
|
|
SwSubscription,
|
|
|
|
UsedUsername,
|
|
|
|
User,
|
|
|
|
UserIp,
|
|
|
|
UserKeypair,
|
|
|
|
UserList,
|
|
|
|
UserListJoining,
|
|
|
|
UserNotePining,
|
|
|
|
UserPending,
|
|
|
|
UserProfile,
|
|
|
|
UserPublickey,
|
|
|
|
UserSecurityKey,
|
|
|
|
Webhook,
|
|
|
|
Channel,
|
2022-12-25 01:09:46 +01:00
|
|
|
RetentionAggregation,
|
2023-01-12 13:02:26 +01:00
|
|
|
Role,
|
|
|
|
RoleAssignment,
|
2023-01-05 05:59:48 +01:00
|
|
|
Flash,
|
|
|
|
FlashLike,
|
2023-04-13 06:17:32 +02:00
|
|
|
UserMemo,
|
2022-09-17 20:27:08 +02:00
|
|
|
};
|
2019-04-07 14:50:36 +02:00
|
|
|
|
2022-09-17 20:27:08 +02:00
|
|
|
export type AbuseUserReportsRepository = Repository<AbuseUserReport>;
|
|
|
|
export type AccessTokensRepository = Repository<AccessToken>;
|
|
|
|
export type AdsRepository = Repository<Ad>;
|
|
|
|
export type AnnouncementsRepository = Repository<Announcement>;
|
|
|
|
export type AnnouncementReadsRepository = Repository<AnnouncementRead>;
|
|
|
|
export type AntennasRepository = Repository<Antenna>;
|
|
|
|
export type AppsRepository = Repository<App>;
|
|
|
|
export type AttestationChallengesRepository = Repository<AttestationChallenge>;
|
|
|
|
export type AuthSessionsRepository = Repository<AuthSession>;
|
|
|
|
export type BlockingsRepository = Repository<Blocking>;
|
|
|
|
export type ChannelFollowingsRepository = Repository<ChannelFollowing>;
|
2023-03-31 04:30:27 +02:00
|
|
|
export type ChannelFavoritesRepository = Repository<ChannelFavorite>;
|
2022-09-17 20:27:08 +02:00
|
|
|
export type ClipsRepository = Repository<Clip>;
|
|
|
|
export type ClipNotesRepository = Repository<ClipNote>;
|
2023-03-16 09:24:49 +01:00
|
|
|
export type ClipFavoritesRepository = Repository<ClipFavorite>;
|
2022-09-17 20:27:08 +02:00
|
|
|
export type DriveFilesRepository = Repository<DriveFile>;
|
|
|
|
export type DriveFoldersRepository = Repository<DriveFolder>;
|
|
|
|
export type EmojisRepository = Repository<Emoji>;
|
|
|
|
export type FollowingsRepository = Repository<Following>;
|
|
|
|
export type FollowRequestsRepository = Repository<FollowRequest>;
|
|
|
|
export type GalleryLikesRepository = Repository<GalleryLike>;
|
|
|
|
export type GalleryPostsRepository = Repository<GalleryPost>;
|
|
|
|
export type HashtagsRepository = Repository<Hashtag>;
|
|
|
|
export type InstancesRepository = Repository<Instance>;
|
|
|
|
export type MetasRepository = Repository<Meta>;
|
|
|
|
export type ModerationLogsRepository = Repository<ModerationLog>;
|
|
|
|
export type MutedNotesRepository = Repository<MutedNote>;
|
|
|
|
export type MutingsRepository = Repository<Muting>;
|
2023-03-08 00:56:09 +01:00
|
|
|
export type RenoteMutingsRepository = Repository<RenoteMuting>;
|
2022-09-17 20:27:08 +02:00
|
|
|
export type NotesRepository = Repository<Note>;
|
|
|
|
export type NoteFavoritesRepository = Repository<NoteFavorite>;
|
|
|
|
export type NoteReactionsRepository = Repository<NoteReaction>;
|
|
|
|
export type NoteThreadMutingsRepository = Repository<NoteThreadMuting>;
|
|
|
|
export type NoteUnreadsRepository = Repository<NoteUnread>;
|
|
|
|
export type PagesRepository = Repository<Page>;
|
|
|
|
export type PageLikesRepository = Repository<PageLike>;
|
|
|
|
export type PasswordResetRequestsRepository = Repository<PasswordResetRequest>;
|
|
|
|
export type PollsRepository = Repository<Poll>;
|
|
|
|
export type PollVotesRepository = Repository<PollVote>;
|
|
|
|
export type PromoNotesRepository = Repository<PromoNote>;
|
|
|
|
export type PromoReadsRepository = Repository<PromoRead>;
|
2022-12-25 00:30:13 +01:00
|
|
|
export type RegistrationTicketsRepository = Repository<RegistrationTicket>;
|
2022-09-17 20:27:08 +02:00
|
|
|
export type RegistryItemsRepository = Repository<RegistryItem>;
|
|
|
|
export type RelaysRepository = Repository<Relay>;
|
|
|
|
export type SigninsRepository = Repository<Signin>;
|
|
|
|
export type SwSubscriptionsRepository = Repository<SwSubscription>;
|
|
|
|
export type UsedUsernamesRepository = Repository<UsedUsername>;
|
|
|
|
export type UsersRepository = Repository<User>;
|
|
|
|
export type UserIpsRepository = Repository<UserIp>;
|
|
|
|
export type UserKeypairsRepository = Repository<UserKeypair>;
|
|
|
|
export type UserListsRepository = Repository<UserList>;
|
|
|
|
export type UserListJoiningsRepository = Repository<UserListJoining>;
|
|
|
|
export type UserNotePiningsRepository = Repository<UserNotePining>;
|
|
|
|
export type UserPendingsRepository = Repository<UserPending>;
|
|
|
|
export type UserProfilesRepository = Repository<UserProfile>;
|
|
|
|
export type UserPublickeysRepository = Repository<UserPublickey>;
|
|
|
|
export type UserSecurityKeysRepository = Repository<UserSecurityKey>;
|
|
|
|
export type WebhooksRepository = Repository<Webhook>;
|
|
|
|
export type ChannelsRepository = Repository<Channel>;
|
2022-12-25 01:09:46 +01:00
|
|
|
export type RetentionAggregationsRepository = Repository<RetentionAggregation>;
|
2023-01-12 13:02:26 +01:00
|
|
|
export type RolesRepository = Repository<Role>;
|
|
|
|
export type RoleAssignmentsRepository = Repository<RoleAssignment>;
|
2023-01-05 05:59:48 +01:00
|
|
|
export type FlashsRepository = Repository<Flash>;
|
|
|
|
export type FlashLikesRepository = Repository<FlashLike>;
|
2023-04-13 06:17:32 +02:00
|
|
|
export type UserMemoRepository = Repository<UserMemo>;
|