2023-07-27 07:31:52 +02:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: syuilo and other misskey contributors
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
*/
|
|
|
|
|
2023-09-20 04:33:36 +02:00
|
|
|
import { MiAbuseUserReport } from '@/models/AbuseUserReport.js';
|
|
|
|
import { MiAccessToken } from '@/models/AccessToken.js';
|
|
|
|
import { MiAd } from '@/models/Ad.js';
|
|
|
|
import { MiAnnouncement } from '@/models/Announcement.js';
|
|
|
|
import { MiAnnouncementRead } from '@/models/AnnouncementRead.js';
|
|
|
|
import { MiAntenna } from '@/models/Antenna.js';
|
|
|
|
import { MiApp } from '@/models/App.js';
|
2023-10-21 11:38:07 +02:00
|
|
|
import { MiAvatarDecoration } from '@/models/AvatarDecoration.js';
|
2023-09-20 04:33:36 +02:00
|
|
|
import { MiAuthSession } from '@/models/AuthSession.js';
|
|
|
|
import { MiBlocking } from '@/models/Blocking.js';
|
|
|
|
import { MiChannelFollowing } from '@/models/ChannelFollowing.js';
|
|
|
|
import { MiChannelFavorite } from '@/models/ChannelFavorite.js';
|
|
|
|
import { MiClip } from '@/models/Clip.js';
|
|
|
|
import { MiClipNote } from '@/models/ClipNote.js';
|
|
|
|
import { MiClipFavorite } from '@/models/ClipFavorite.js';
|
|
|
|
import { MiDriveFile } from '@/models/DriveFile.js';
|
|
|
|
import { MiDriveFolder } from '@/models/DriveFolder.js';
|
|
|
|
import { MiEmoji } from '@/models/Emoji.js';
|
|
|
|
import { MiFollowing } from '@/models/Following.js';
|
|
|
|
import { MiFollowRequest } from '@/models/FollowRequest.js';
|
|
|
|
import { MiGalleryLike } from '@/models/GalleryLike.js';
|
|
|
|
import { MiGalleryPost } from '@/models/GalleryPost.js';
|
|
|
|
import { MiHashtag } from '@/models/Hashtag.js';
|
|
|
|
import { MiInstance } from '@/models/Instance.js';
|
|
|
|
import { MiMeta } from '@/models/Meta.js';
|
|
|
|
import { MiModerationLog } from '@/models/ModerationLog.js';
|
|
|
|
import { MiMuting } from '@/models/Muting.js';
|
|
|
|
import { MiRenoteMuting } from '@/models/RenoteMuting.js';
|
|
|
|
import { MiNote } from '@/models/Note.js';
|
|
|
|
import { MiNoteFavorite } from '@/models/NoteFavorite.js';
|
|
|
|
import { MiNoteReaction } from '@/models/NoteReaction.js';
|
|
|
|
import { MiNoteThreadMuting } from '@/models/NoteThreadMuting.js';
|
|
|
|
import { MiNoteUnread } from '@/models/NoteUnread.js';
|
|
|
|
import { MiPage } from '@/models/Page.js';
|
|
|
|
import { MiPageLike } from '@/models/PageLike.js';
|
|
|
|
import { MiPasswordResetRequest } from '@/models/PasswordResetRequest.js';
|
|
|
|
import { MiPoll } from '@/models/Poll.js';
|
|
|
|
import { MiPollVote } from '@/models/PollVote.js';
|
|
|
|
import { MiPromoNote } from '@/models/PromoNote.js';
|
|
|
|
import { MiPromoRead } from '@/models/PromoRead.js';
|
|
|
|
import { MiRegistrationTicket } from '@/models/RegistrationTicket.js';
|
|
|
|
import { MiRegistryItem } from '@/models/RegistryItem.js';
|
|
|
|
import { MiRelay } from '@/models/Relay.js';
|
|
|
|
import { MiSignin } from '@/models/Signin.js';
|
|
|
|
import { MiSwSubscription } from '@/models/SwSubscription.js';
|
|
|
|
import { MiUsedUsername } from '@/models/UsedUsername.js';
|
|
|
|
import { MiUser } from '@/models/User.js';
|
|
|
|
import { MiUserIp } from '@/models/UserIp.js';
|
|
|
|
import { MiUserKeypair } from '@/models/UserKeypair.js';
|
|
|
|
import { MiUserList } from '@/models/UserList.js';
|
2023-10-03 13:26:11 +02:00
|
|
|
import { MiUserListMembership } from '@/models/UserListMembership.js';
|
2023-09-20 04:33:36 +02:00
|
|
|
import { MiUserNotePining } from '@/models/UserNotePining.js';
|
|
|
|
import { MiUserPending } from '@/models/UserPending.js';
|
|
|
|
import { MiUserProfile } from '@/models/UserProfile.js';
|
|
|
|
import { MiUserPublickey } from '@/models/UserPublickey.js';
|
|
|
|
import { MiUserSecurityKey } from '@/models/UserSecurityKey.js';
|
|
|
|
import { MiUserMemo } from '@/models/UserMemo.js';
|
|
|
|
import { MiWebhook } from '@/models/Webhook.js';
|
|
|
|
import { MiChannel } from '@/models/Channel.js';
|
|
|
|
import { MiRetentionAggregation } from '@/models/RetentionAggregation.js';
|
|
|
|
import { MiRole } from '@/models/Role.js';
|
|
|
|
import { MiRoleAssignment } from '@/models/RoleAssignment.js';
|
|
|
|
import { MiFlash } from '@/models/Flash.js';
|
|
|
|
import { MiFlashLike } from '@/models/FlashLike.js';
|
|
|
|
import { MiUserListFavorite } from '@/models/UserListFavorite.js';
|
2024-01-11 10:13:39 +01:00
|
|
|
import { MiBubbleGameRecord } from '@/models/BubbleGameRecord.js';
|
2024-01-19 12:51:49 +01:00
|
|
|
import { MiReversiGame } from '@/models/ReversiGame.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 {
|
2023-08-16 10:51:28 +02:00
|
|
|
MiAbuseUserReport,
|
|
|
|
MiAccessToken,
|
|
|
|
MiAd,
|
|
|
|
MiAnnouncement,
|
|
|
|
MiAnnouncementRead,
|
|
|
|
MiAntenna,
|
|
|
|
MiApp,
|
2023-10-21 11:38:07 +02:00
|
|
|
MiAvatarDecoration,
|
2023-08-16 10:51:28 +02:00
|
|
|
MiAuthSession,
|
|
|
|
MiBlocking,
|
|
|
|
MiChannelFollowing,
|
|
|
|
MiChannelFavorite,
|
|
|
|
MiClip,
|
|
|
|
MiClipNote,
|
|
|
|
MiClipFavorite,
|
|
|
|
MiDriveFile,
|
|
|
|
MiDriveFolder,
|
|
|
|
MiEmoji,
|
|
|
|
MiFollowing,
|
|
|
|
MiFollowRequest,
|
|
|
|
MiGalleryLike,
|
|
|
|
MiGalleryPost,
|
|
|
|
MiHashtag,
|
|
|
|
MiInstance,
|
|
|
|
MiMeta,
|
|
|
|
MiModerationLog,
|
|
|
|
MiMuting,
|
|
|
|
MiRenoteMuting,
|
|
|
|
MiNote,
|
|
|
|
MiNoteFavorite,
|
|
|
|
MiNoteReaction,
|
|
|
|
MiNoteThreadMuting,
|
|
|
|
MiNoteUnread,
|
|
|
|
MiPage,
|
|
|
|
MiPageLike,
|
|
|
|
MiPasswordResetRequest,
|
|
|
|
MiPoll,
|
|
|
|
MiPollVote,
|
|
|
|
MiPromoNote,
|
|
|
|
MiPromoRead,
|
|
|
|
MiRegistrationTicket,
|
|
|
|
MiRegistryItem,
|
|
|
|
MiRelay,
|
|
|
|
MiSignin,
|
|
|
|
MiSwSubscription,
|
|
|
|
MiUsedUsername,
|
|
|
|
MiUser,
|
|
|
|
MiUserIp,
|
|
|
|
MiUserKeypair,
|
|
|
|
MiUserList,
|
|
|
|
MiUserListFavorite,
|
2023-10-03 13:26:11 +02:00
|
|
|
MiUserListMembership,
|
2023-08-16 10:51:28 +02:00
|
|
|
MiUserNotePining,
|
|
|
|
MiUserPending,
|
|
|
|
MiUserProfile,
|
|
|
|
MiUserPublickey,
|
|
|
|
MiUserSecurityKey,
|
|
|
|
MiWebhook,
|
|
|
|
MiChannel,
|
|
|
|
MiRetentionAggregation,
|
|
|
|
MiRole,
|
|
|
|
MiRoleAssignment,
|
|
|
|
MiFlash,
|
|
|
|
MiFlashLike,
|
|
|
|
MiUserMemo,
|
2024-01-11 10:13:39 +01:00
|
|
|
MiBubbleGameRecord,
|
2024-01-19 12:51:49 +01:00
|
|
|
MiReversiGame,
|
2022-09-17 20:27:08 +02:00
|
|
|
};
|
2019-04-07 14:50:36 +02:00
|
|
|
|
2023-08-16 10:51:28 +02:00
|
|
|
export type AbuseUserReportsRepository = Repository<MiAbuseUserReport>;
|
|
|
|
export type AccessTokensRepository = Repository<MiAccessToken>;
|
|
|
|
export type AdsRepository = Repository<MiAd>;
|
|
|
|
export type AnnouncementsRepository = Repository<MiAnnouncement>;
|
|
|
|
export type AnnouncementReadsRepository = Repository<MiAnnouncementRead>;
|
|
|
|
export type AntennasRepository = Repository<MiAntenna>;
|
|
|
|
export type AppsRepository = Repository<MiApp>;
|
2023-10-21 11:38:07 +02:00
|
|
|
export type AvatarDecorationsRepository = Repository<MiAvatarDecoration>;
|
2023-08-16 10:51:28 +02:00
|
|
|
export type AuthSessionsRepository = Repository<MiAuthSession>;
|
|
|
|
export type BlockingsRepository = Repository<MiBlocking>;
|
|
|
|
export type ChannelFollowingsRepository = Repository<MiChannelFollowing>;
|
|
|
|
export type ChannelFavoritesRepository = Repository<MiChannelFavorite>;
|
|
|
|
export type ClipsRepository = Repository<MiClip>;
|
|
|
|
export type ClipNotesRepository = Repository<MiClipNote>;
|
|
|
|
export type ClipFavoritesRepository = Repository<MiClipFavorite>;
|
|
|
|
export type DriveFilesRepository = Repository<MiDriveFile>;
|
|
|
|
export type DriveFoldersRepository = Repository<MiDriveFolder>;
|
|
|
|
export type EmojisRepository = Repository<MiEmoji>;
|
|
|
|
export type FollowingsRepository = Repository<MiFollowing>;
|
|
|
|
export type FollowRequestsRepository = Repository<MiFollowRequest>;
|
|
|
|
export type GalleryLikesRepository = Repository<MiGalleryLike>;
|
|
|
|
export type GalleryPostsRepository = Repository<MiGalleryPost>;
|
|
|
|
export type HashtagsRepository = Repository<MiHashtag>;
|
|
|
|
export type InstancesRepository = Repository<MiInstance>;
|
|
|
|
export type MetasRepository = Repository<MiMeta>;
|
|
|
|
export type ModerationLogsRepository = Repository<MiModerationLog>;
|
|
|
|
export type MutingsRepository = Repository<MiMuting>;
|
|
|
|
export type RenoteMutingsRepository = Repository<MiRenoteMuting>;
|
|
|
|
export type NotesRepository = Repository<MiNote>;
|
|
|
|
export type NoteFavoritesRepository = Repository<MiNoteFavorite>;
|
|
|
|
export type NoteReactionsRepository = Repository<MiNoteReaction>;
|
|
|
|
export type NoteThreadMutingsRepository = Repository<MiNoteThreadMuting>;
|
|
|
|
export type NoteUnreadsRepository = Repository<MiNoteUnread>;
|
|
|
|
export type PagesRepository = Repository<MiPage>;
|
|
|
|
export type PageLikesRepository = Repository<MiPageLike>;
|
|
|
|
export type PasswordResetRequestsRepository = Repository<MiPasswordResetRequest>;
|
|
|
|
export type PollsRepository = Repository<MiPoll>;
|
|
|
|
export type PollVotesRepository = Repository<MiPollVote>;
|
|
|
|
export type PromoNotesRepository = Repository<MiPromoNote>;
|
|
|
|
export type PromoReadsRepository = Repository<MiPromoRead>;
|
|
|
|
export type RegistrationTicketsRepository = Repository<MiRegistrationTicket>;
|
|
|
|
export type RegistryItemsRepository = Repository<MiRegistryItem>;
|
|
|
|
export type RelaysRepository = Repository<MiRelay>;
|
|
|
|
export type SigninsRepository = Repository<MiSignin>;
|
|
|
|
export type SwSubscriptionsRepository = Repository<MiSwSubscription>;
|
|
|
|
export type UsedUsernamesRepository = Repository<MiUsedUsername>;
|
|
|
|
export type UsersRepository = Repository<MiUser>;
|
|
|
|
export type UserIpsRepository = Repository<MiUserIp>;
|
|
|
|
export type UserKeypairsRepository = Repository<MiUserKeypair>;
|
|
|
|
export type UserListsRepository = Repository<MiUserList>;
|
|
|
|
export type UserListFavoritesRepository = Repository<MiUserListFavorite>;
|
2023-10-03 13:26:11 +02:00
|
|
|
export type UserListMembershipsRepository = Repository<MiUserListMembership>;
|
2023-08-16 10:51:28 +02:00
|
|
|
export type UserNotePiningsRepository = Repository<MiUserNotePining>;
|
|
|
|
export type UserPendingsRepository = Repository<MiUserPending>;
|
|
|
|
export type UserProfilesRepository = Repository<MiUserProfile>;
|
|
|
|
export type UserPublickeysRepository = Repository<MiUserPublickey>;
|
|
|
|
export type UserSecurityKeysRepository = Repository<MiUserSecurityKey>;
|
|
|
|
export type WebhooksRepository = Repository<MiWebhook>;
|
|
|
|
export type ChannelsRepository = Repository<MiChannel>;
|
|
|
|
export type RetentionAggregationsRepository = Repository<MiRetentionAggregation>;
|
|
|
|
export type RolesRepository = Repository<MiRole>;
|
|
|
|
export type RoleAssignmentsRepository = Repository<MiRoleAssignment>;
|
|
|
|
export type FlashsRepository = Repository<MiFlash>;
|
|
|
|
export type FlashLikesRepository = Repository<MiFlashLike>;
|
|
|
|
export type UserMemoRepository = Repository<MiUserMemo>;
|
2024-01-11 10:13:39 +01:00
|
|
|
export type BubbleGameRecordsRepository = Repository<MiBubbleGameRecord>;
|
2024-01-19 12:51:49 +01:00
|
|
|
export type ReversiGamesRepository = Repository<MiReversiGame>;
|