From b292b9f307227a8a807d737430614812bb48e83a Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 27 Jul 2023 14:31:06 +0900 Subject: [PATCH] tweak format --- healthcheck.sh | 1 - packages/backend/check_connect.js | 7 +- .../backend/migration/1000000000000-Init.js | 7 +- .../backend/migration/1556348509290-Pages.js | 7 +- .../migration/1556746559567-UserProfile.js | 7 +- .../migration/1557476068003-PinnedUsers.js | 7 +- .../migration/1557761316509-AddSomeUrls.js | 7 +- .../1557932705754-ObjectStorageSetting.js | 7 +- .../migration/1558072954435-PageLike.js | 7 +- .../migration/1558103093633-UserGroup.js | 7 +- .../1558257926829-UserGroupInvite.js | 7 +- .../1558266512381-UserListJoining.js | 7 +- .../migration/1561706992953-webauthn.js | 7 +- .../migration/1561873850023-ChartIndexes.js | 7 +- .../1562422242907-PasswordLessLogin.js | 7 +- .../migration/1562444565093-PinnedPage.js | 7 +- .../1562448332510-PageTitleHideOption.js | 7 +- .../migration/1562869971568-ModerationLog.js | 7 +- .../migration/1563757595828-UsedUsername.js | 7 +- .../backend/migration/1565634203341-room.js | 7 +- .../1571220798684-CustomEmojiCategory.js | 7 +- .../migration/1572760203493-nodeinfo.js | 7 +- .../1576269851876-TalkFederationId.js | 7 +- .../1576869585998-ProxyRemoteFiles.js | 7 +- .../backend/migration/1579267006611-v12.js | 7 +- .../backend/migration/1579270193251-v12-2.js | 7 +- .../backend/migration/1579282808087-v12-3.js | 7 +- .../backend/migration/1579544426412-v12-4.js | 7 +- .../backend/migration/1579977526288-v12-5.js | 7 +- .../backend/migration/1579993013959-v12-6.js | 7 +- .../backend/migration/1580069531114-v12-7.js | 7 +- .../backend/migration/1580148575182-v12-8.js | 7 +- .../backend/migration/1580154400017-v12-9.js | 7 +- .../backend/migration/1580276619901-v12-10.js | 7 +- .../backend/migration/1580331224276-v12-11.js | 7 +- .../backend/migration/1580508795118-v12-12.js | 7 +- .../backend/migration/1580543501339-v12-13.js | 7 +- .../backend/migration/1580864313253-v12-14.js | 7 +- .../1581526429287-user-group-invitation.js | 7 +- .../1581695816408-user-group-antenna.js | 7 +- ...581708415836-drive-user-folder-id-index.js | 7 +- .../backend/migration/1581979837262-promo.js | 7 +- .../1582019042083-featured-injecttion.js | 7 +- .../1582210532752-antenna-exclude.js | 7 +- .../1582875306439-note-reaction-length.js | 7 +- .../backend/migration/1585361548360-miauth.js | 7 +- .../1585385921215-custom-notification.js | 7 +- .../backend/migration/1585772678853-ap-url.js | 7 +- .../1586624197029-AddObjectStorageUseProxy.js | 7 +- .../1586641139527-remote-reaction.js | 7 +- .../migration/1586708940386-pageAiScript.js | 7 +- .../migration/1588044505511-hCaptcha.js | 7 +- .../migration/1589023282116-pubRelay.js | 7 +- .../migration/1595075960584-blurhash.js | 7 +- ...595077605646-blurhash-for-avatar-banner.js | 7 +- .../1595676934834-instance-icon-url.js | 7 +- .../migration/1595771249699-word-mute.js | 7 +- .../migration/1595782306083-word-mute2.js | 7 +- .../migration/1596548170836-channel.js | 7 +- .../migration/1596786425167-channel2.js | 7 +- ...597230137744-objectStorageSetPublicRead.js | 7 +- ...597236229720-IncludingNotificationTypes.js | 7 +- .../1597385880794-add-sensitive-index.js | 7 +- .../migration/1597459042300-channel-unread.js | 7 +- .../1597893996136-ChannelNoteIdDescIndex.js | 7 +- .../1600353287890-mutingNotificationTypes.js | 7 +- .../1603094348345-refine-abuse-user-report.js | 7 +- ...1603095701770-refine-abuse-user-report2.js | 7 +- .../1603776877564-instance-theme-color.js | 7 +- .../1603781553011-instance-favicon.js | 7 +- .../1604821689616-delete-auto-watch.js | 7 +- .../1605408848373-clip-description.js | 7 +- .../migration/1605408971051-comments.js | 7 +- .../1605585339718-instance-pinned-pages.js | 7 +- .../1605965516823-instance-images.js | 7 +- .../migration/1606191203881-no-crawle.js | 7 +- .../1607151207216-instance-pinned-clip.js | 7 +- .../migration/1607353487793-isExplorable.js | 7 +- .../migration/1610277136869-registry.js | 7 +- .../migration/1610277585759-registry2.js | 7 +- .../migration/1610283021566-registry3.js | 7 +- .../migration/1611354329133-followersUri.js | 7 +- .../migration/1611397665007-gallery.js | 7 +- ...547387175-objectStorageS3ForcePathStyle.js | 7 +- .../1612619156584-announcement-email.js | 7 +- .../1613155914446-emailNotificationTypes.js | 7 +- .../migration/1613181457597-user-lang.js | 7 +- ...1613503367223-use-bigint-for-driveUsage.js | 7 +- .../migration/1615965918224-chart-v2.js | 7 +- .../migration/1615966519402-chart-v2-2.js | 7 +- .../1618637372000-user-last-active-date.js | 7 +- .../1618639857000-user-hide-online-status.js | 7 +- .../migration/1619942102890-password-reset.js | 7 +- .../backend/migration/1620019354680-ad.js | 7 +- .../backend/migration/1620364649428-ad2.js | 7 +- .../1621479946000-add-note-indexes.js | 7 +- ...9304522-user-profile-description-length.js | 7 +- .../1622681548499-log-message-length.js | 7 +- .../1626509500668-fix-remote-file-proxy.js | 7 +- .../migration/1629004542760-chart-reindex.js | 7 +- .../1629024377804-deepl-integration.js | 7 +- .../1629288472000-fix-channel-userId.js | 7 +- .../1629512953000-user-is-deleted.js | 7 +- .../1629778475000-deepl-integration2.js | 7 +- .../1629833361000-AddShowTLReplies.js | 7 +- .../1629968054000_userInstanceBlocks.js | 7 +- ...1633068642000-email-required-for-signup.js | 7 +- .../migration/1633071909016-user-pending.js | 7 +- .../1634486652000-user-public-reactions.js | 7 +- .../migration/1634902659689-delete-log.js | 7 +- .../1635500777168-note-thread-mute.js | 7 +- .../migration/1636197624383-ff-visibility.js | 7 +- .../1636697408073-remove-via-mobile.js | 7 +- .../1637320813000-forwarded-report.js | 7 +- .../migration/1639325650583-chart-v3.js | 7 +- .../migration/1642611822809-emoji-url.js | 7 +- ...1642613870898-drive-file-webpublic-type.js | 7 +- .../migration/1643963705770-chart-v4.js | 7 +- .../migration/1643966656277-chart-v5.js | 7 +- .../migration/1643967331284-chart-v6.js | 7 +- .../1644010796173-convert-hard-mutes.js | 7 +- .../migration/1644058404077-chart-v7.js | 7 +- .../migration/1644059847460-chart-v8.js | 11 +- .../migration/1644060125705-chart-v9.js | 11 +- .../migration/1644073149413-chart-v10.js | 7 +- .../migration/1644095659741-chart-v11.js | 7 +- .../migration/1644328606241-chart-v12.js | 7 +- .../migration/1644331238153-chart-v13.js | 7 +- .../migration/1644344266289-chart-v14.js | 7 +- .../1644395759931-instance-theme-color.js | 7 +- .../migration/1644481657998-chart-v15.js | 7 +- .../1644551208096-following-indexes.js | 7 +- ...45340161439-remove-max-note-text-length.js | 7 +- .../1645599900873-federation-chart-pubsub.js | 7 +- .../1646143552768-instance-default-theme.js | 7 +- .../1646387162108-mute-expires-at.js | 7 +- .../1646549089451-poll-ended-notification.js | 7 +- .../1646633030285-chart-federation-active.js | 7 +- ...655454495-remove-instance-drive-columns.js | 7 +- ...2390560-chart-federation-active-sub-pub.js | 7 +- .../migration/1648548247382-webhook.js | 7 +- .../migration/1648816172177-webhook-2.js | 7 +- .../migration/1651224615271-foreign-key.js | 7 +- .../1652859567549-uniform-themecolor.js | 7 +- .../migration/1655368940105-nsfw-detection.js | 7 +- .../1655371960534-nsfw-detection-2.js | 7 +- .../1655388169582-nsfw-detection-3.js | 7 +- .../1655393015659-nsfw-detection-4.js | 7 +- .../1655813815729-driveCapacityOverrideMb.js | 7 +- .../migration/1655918165614-user-ip.js | 7 +- .../migration/1656122560740-file-ip.js | 7 +- .../1656251734807-nsfw-detection-5.js | 7 +- .../backend/migration/1656328812281-ip-2.js | 7 +- .../1656408772602-nsfw-detection-6.js | 7 +- .../1656772790599-user-moderation-note.js | 7 +- .../1657346559800-active-email-validation.js | 7 +- .../migration/1664694635394-turnstile.js | 7 +- .../1665091090561-add-renote-muting.js | 7 +- ...6634-whetherPushNotifyToSendReadMessage.js | 7 +- .../1671924750884-RetentionAggregation.js | 7 +- .../1671926422832-RetentionAggregation2.js | 7 +- .../migration/1672562400597-PerUserPvChart.js | 7 +- ...672703171386-remove-latestRequestSentAt.js | 7 +- ...1672704017999-remove-lastCommunicatedAt.js | 7 +- .../1672704136584-remove-latestStatus.js | 7 +- .../backend/migration/1672822262496-Flash.js | 7 +- .../1673336077243-PollChoiceLength.js | 7 +- .../backend/migration/1673500412259-Role.js | 7 +- .../migration/1673515526953-RoleColor.js | 7 +- .../migration/1673522856499-RoleIroiro.js | 7 +- .../migration/1673524604156-RoleLastUsedAt.js | 7 +- .../1673570377815-RoleConditional.js | 7 +- .../migration/1673575973645-MetaClean.js | 7 +- .../migration/1673783015567-Policies.js | 7 +- .../1673812883772-firstRetrievedAt.js | 7 +- .../1674086433654-flashScriptLength.js | 7 +- .../migration/1674118260469-achievement.js | 7 +- .../migration/1674255666603-loggedInDates.js | 7 +- .../1675053125067-fixforeignkeyreports.js | 7 +- .../migration/1675404035646-cleanup.js | 7 +- .../1675557528704-role-icon-badge.js | 7 +- .../migration/1676434944993-drop-group.js | 7 +- .../backend/migration/1676438468213-ad3.js | 7 +- .../backend/migration/1677054292210-ad4.js | 7 +- ...677570181236-role-assignment-expires-at.js | 7 +- ...8164627293-per-note-reaction-acceptance.js | 7 +- .../1678426061773-tweak-varchar-length.js | 7 +- .../migration/1678427401214-remove-unused.js | 7 +- .../1678602320354-role-display-order.js | 7 +- .../1678694614599-sensitive-words.js | 7 +- .../1678869617549-retention-date-key.js | 7 +- ...678945242650-add-props-for-custom-emoji.js | 7 +- .../migration/1678953978856-clip-favorite.js | 7 +- .../migration/1679309757174-antenna-active.js | 7 +- ...1679639483253-enableChartsForRemoteUser.js | 7 +- .../migration/1679651580149-cleanup.js | 7 +- ...81809-enableChartsForFederatedInstances.js | 7 +- .../1680228513388-channelFavorite.js | 7 +- .../1680238118084-channelNotePining.js | 7 +- .../migration/1680491187535-cleanup.js | 7 +- .../migration/1680582195041-cleanup.js | 9 +- .../migration/1680702787050-UserMemo.js | 7 +- ...1680775031481-avatar-url-and-banner-url.js | 7 +- .../migration/1680931179228-account-move.js | 7 +- .../migration/1681400427971-serverRules.js | 7 +- .../migration/1681870960239-RoleTLSetting.js | 9 +- .../migration/1682190963894-movedAt.js | 7 +- .../1682754135458-preservedUsernames.js | 7 +- .../migration/1682985520254-channelColor.js | 7 +- .../migration/1683328299359-channelArchive.js | 7 +- .../1683682889948-prevent-ai-larning.js | 7 +- ...683083083-public-reactions-default-true.js | 7 +- .../migration/1683789676867-fix-typo.js | 7 +- .../migration/1683847157541-UserList.js | 7 +- .../1683869758873-UserListFavorites.js | 7 +- ...684206886988-remove-showTimelineReplies.js | 7 +- .../migration/1684386446061-emoji-improve.js | 7 +- .../migration/1685973839966-errorImageUrl.js | 7 +- .../1688280713783-add-meta-options.js | 7 +- .../1688720440658-refactor-invite-system.js | 7 +- .../1688880985544-add-index-to-relations.js | 7 +- .../migration/1689102832143-nsfw-cache.js | 7 +- packages/backend/src/@types/hcaptcha.d.ts | 7 +- .../backend/src/@types/http-signature.d.ts | 7 +- packages/backend/src/@types/os-utils.d.ts | 7 +- packages/backend/src/@types/package.json.d.ts | 7 +- .../backend/src/@types/probe-image-size.d.ts | 7 +- packages/backend/src/@types/redis-lock.d.ts | 7 +- packages/backend/src/GlobalModule.ts | 7 +- packages/backend/src/MainModule.ts | 7 +- packages/backend/src/NestLogger.ts | 7 +- packages/backend/src/boot/common.ts | 7 +- packages/backend/src/boot/index.ts | 7 +- packages/backend/src/boot/master.ts | 7 +- packages/backend/src/boot/worker.ts | 7 +- packages/backend/src/config.ts | 7 +- packages/backend/src/const.ts | 7 +- .../backend/src/core/AccountMoveService.ts | 7 +- .../backend/src/core/AccountUpdateService.ts | 7 +- .../backend/src/core/AchievementService.ts | 7 +- packages/backend/src/core/AiService.ts | 7 +- packages/backend/src/core/AntennaService.ts | 7 +- packages/backend/src/core/AppLockService.ts | 7 +- packages/backend/src/core/CacheService.ts | 7 +- packages/backend/src/core/CaptchaService.ts | 7 +- packages/backend/src/core/CoreModule.ts | 7 +- .../src/core/CreateSystemUserService.ts | 7 +- .../backend/src/core/CustomEmojiService.ts | 7 +- .../backend/src/core/DeleteAccountService.ts | 7 +- packages/backend/src/core/DownloadService.ts | 7 +- packages/backend/src/core/DriveService.ts | 7 +- packages/backend/src/core/EmailService.ts | 7 +- .../src/core/FederatedInstanceService.ts | 7 +- .../src/core/FetchInstanceMetadataService.ts | 11 +- packages/backend/src/core/FileInfoService.ts | 7 +- .../backend/src/core/GlobalEventService.ts | 7 +- packages/backend/src/core/HashtagService.ts | 7 +- .../backend/src/core/HttpRequestService.ts | 7 +- packages/backend/src/core/IdService.ts | 7 +- .../src/core/ImageProcessingService.ts | 7 +- .../backend/src/core/InstanceActorService.ts | 7 +- .../src/core/InternalStorageService.ts | 7 +- packages/backend/src/core/LoggerService.ts | 7 +- packages/backend/src/core/MetaService.ts | 7 +- packages/backend/src/core/MfmService.ts | 7 +- .../backend/src/core/ModerationLogService.ts | 7 +- .../backend/src/core/NoteCreateService.ts | 7 +- .../backend/src/core/NoteDeleteService.ts | 7 +- .../backend/src/core/NotePiningService.ts | 7 +- packages/backend/src/core/NoteReadService.ts | 7 +- .../backend/src/core/NotificationService.ts | 7 +- packages/backend/src/core/PollService.ts | 7 +- .../backend/src/core/ProxyAccountService.ts | 7 +- .../src/core/PushNotificationService.ts | 7 +- packages/backend/src/core/QueryService.ts | 7 +- packages/backend/src/core/QueueModule.ts | 7 +- packages/backend/src/core/QueueService.ts | 7 +- packages/backend/src/core/ReactionService.ts | 7 +- packages/backend/src/core/RelayService.ts | 7 +- .../backend/src/core/RemoteLoggerService.ts | 7 +- .../src/core/RemoteUserResolveService.ts | 7 +- packages/backend/src/core/RoleService.ts | 7 +- packages/backend/src/core/S3Service.ts | 7 +- packages/backend/src/core/SearchService.ts | 7 +- packages/backend/src/core/SignupService.ts | 7 +- .../core/TwoFactorAuthenticationService.ts | 7 +- .../backend/src/core/UserBlockingService.ts | 7 +- .../backend/src/core/UserFollowingService.ts | 7 +- .../backend/src/core/UserKeypairService.ts | 7 +- packages/backend/src/core/UserListService.ts | 7 +- .../backend/src/core/UserMutingService.ts | 7 +- .../backend/src/core/UserSuspendService.ts | 7 +- packages/backend/src/core/UtilityService.ts | 7 +- .../src/core/VideoProcessingService.ts | 7 +- packages/backend/src/core/WebfingerService.ts | 7 +- packages/backend/src/core/WebhookService.ts | 7 +- .../src/core/activitypub/ApAudienceService.ts | 7 +- .../core/activitypub/ApDbResolverService.ts | 7 +- .../activitypub/ApDeliverManagerService.ts | 7 +- .../src/core/activitypub/ApInboxService.ts | 7 +- .../src/core/activitypub/ApLoggerService.ts | 7 +- .../src/core/activitypub/ApMfmService.ts | 7 +- .../src/core/activitypub/ApRendererService.ts | 7 +- .../src/core/activitypub/ApRequestService.ts | 7 +- .../src/core/activitypub/ApResolverService.ts | 7 +- .../core/activitypub/LdSignatureService.ts | 7 +- .../src/core/activitypub/misc/contexts.ts | 7 +- .../core/activitypub/models/ApImageService.ts | 7 +- .../activitypub/models/ApMentionService.ts | 7 +- .../core/activitypub/models/ApNoteService.ts | 7 +- .../activitypub/models/ApPersonService.ts | 9 +- .../activitypub/models/ApQuestionService.ts | 7 +- .../src/core/activitypub/models/icon.ts | 7 +- .../src/core/activitypub/models/identifier.ts | 7 +- .../src/core/activitypub/models/tag.ts | 7 +- packages/backend/src/core/activitypub/type.ts | 7 +- .../src/core/chart/ChartLoggerService.ts | 7 +- .../src/core/chart/ChartManagementService.ts | 7 +- .../src/core/chart/charts/active-users.ts | 7 +- .../src/core/chart/charts/ap-request.ts | 7 +- .../backend/src/core/chart/charts/drive.ts | 7 +- .../chart/charts/entities/active-users.ts | 7 +- .../core/chart/charts/entities/ap-request.ts | 7 +- .../src/core/chart/charts/entities/drive.ts | 7 +- .../core/chart/charts/entities/federation.ts | 7 +- .../core/chart/charts/entities/instance.ts | 7 +- .../src/core/chart/charts/entities/notes.ts | 7 +- .../chart/charts/entities/per-user-drive.ts | 7 +- .../charts/entities/per-user-following.ts | 7 +- .../chart/charts/entities/per-user-notes.ts | 7 +- .../core/chart/charts/entities/per-user-pv.ts | 7 +- .../charts/entities/per-user-reactions.ts | 7 +- .../chart/charts/entities/test-grouped.ts | 7 +- .../charts/entities/test-intersection.ts | 7 +- .../core/chart/charts/entities/test-unique.ts | 7 +- .../src/core/chart/charts/entities/test.ts | 7 +- .../src/core/chart/charts/entities/users.ts | 7 +- .../src/core/chart/charts/federation.ts | 7 +- .../backend/src/core/chart/charts/instance.ts | 7 +- .../backend/src/core/chart/charts/notes.ts | 7 +- .../src/core/chart/charts/per-user-drive.ts | 7 +- .../core/chart/charts/per-user-following.ts | 7 +- .../src/core/chart/charts/per-user-notes.ts | 7 +- .../src/core/chart/charts/per-user-pv.ts | 7 +- .../core/chart/charts/per-user-reactions.ts | 7 +- .../src/core/chart/charts/test-grouped.ts | 7 +- .../core/chart/charts/test-intersection.ts | 7 +- .../src/core/chart/charts/test-unique.ts | 7 +- .../backend/src/core/chart/charts/test.ts | 7 +- .../backend/src/core/chart/charts/users.ts | 7 +- packages/backend/src/core/chart/core.ts | 7 +- packages/backend/src/core/chart/entities.ts | 7 +- .../entities/AbuseUserReportEntityService.ts | 7 +- .../src/core/entities/AntennaEntityService.ts | 7 +- .../src/core/entities/AppEntityService.ts | 7 +- .../core/entities/AuthSessionEntityService.ts | 7 +- .../core/entities/BlockingEntityService.ts | 7 +- .../src/core/entities/ChannelEntityService.ts | 7 +- .../src/core/entities/ClipEntityService.ts | 7 +- .../core/entities/DriveFileEntityService.ts | 7 +- .../core/entities/DriveFolderEntityService.ts | 7 +- .../src/core/entities/EmojiEntityService.ts | 7 +- .../src/core/entities/FlashEntityService.ts | 7 +- .../core/entities/FlashLikeEntityService.ts | 7 +- .../entities/FollowRequestEntityService.ts | 7 +- .../core/entities/FollowingEntityService.ts | 7 +- .../core/entities/GalleryLikeEntityService.ts | 7 +- .../core/entities/GalleryPostEntityService.ts | 7 +- .../src/core/entities/HashtagEntityService.ts | 7 +- .../core/entities/InstanceEntityService.ts | 7 +- .../core/entities/InviteCodeEntityService.ts | 7 +- .../entities/ModerationLogEntityService.ts | 7 +- .../src/core/entities/MutingEntityService.ts | 7 +- .../src/core/entities/NoteEntityService.ts | 7 +- .../entities/NoteFavoriteEntityService.ts | 7 +- .../entities/NoteReactionEntityService.ts | 7 +- .../entities/NotificationEntityService.ts | 7 +- .../src/core/entities/PageEntityService.ts | 7 +- .../core/entities/PageLikeEntityService.ts | 7 +- .../entities/RenoteMutingEntityService.ts | 7 +- .../src/core/entities/RoleEntityService.ts | 7 +- .../src/core/entities/SigninEntityService.ts | 7 +- .../src/core/entities/UserEntityService.ts | 7 +- .../core/entities/UserListEntityService.ts | 7 +- packages/backend/src/daemons/DaemonModule.ts | 7 +- .../backend/src/daemons/JanitorService.ts | 7 +- .../backend/src/daemons/QueueStatsService.ts | 7 +- .../backend/src/daemons/ServerStatsService.ts | 7 +- packages/backend/src/decorators.ts | 7 +- packages/backend/src/di-symbols.ts | 7 +- packages/backend/src/env.ts | 7 +- packages/backend/src/global.d.ts | 7 +- packages/backend/src/logger.ts | 7 +- packages/backend/src/misc/acct.ts | 7 +- packages/backend/src/misc/api-permissions.ts | 7 +- packages/backend/src/misc/cache.ts | 7 +- packages/backend/src/misc/check-https.ts | 7 +- packages/backend/src/misc/check-word-mute.ts | 7 +- packages/backend/src/misc/clone.ts | 7 +- .../backend/src/misc/content-disposition.ts | 7 +- packages/backend/src/misc/correct-filename.ts | 7 +- packages/backend/src/misc/create-temp.ts | 7 +- packages/backend/src/misc/dev-null.ts | 7 +- packages/backend/src/misc/emoji-regex.ts | 7 +- .../misc/extract-custom-emojis-from-mfm.ts | 7 +- packages/backend/src/misc/extract-hashtags.ts | 7 +- packages/backend/src/misc/extract-mentions.ts | 7 +- .../backend/src/misc/fastify-reply-error.ts | 7 +- packages/backend/src/misc/gen-identicon.ts | 7 +- packages/backend/src/misc/gen-key-pair.ts | 7 +- .../backend/src/misc/generate-invite-code.ts | 7 +- .../src/misc/generate-native-user-token.ts | 7 +- packages/backend/src/misc/get-ip-hash.ts | 7 +- packages/backend/src/misc/get-note-summary.ts | 7 +- .../backend/src/misc/get-reaction-emoji.ts | 7 +- packages/backend/src/misc/i18n.ts | 7 +- packages/backend/src/misc/id/aid.ts | 7 +- packages/backend/src/misc/id/meid.ts | 7 +- packages/backend/src/misc/id/meidg.ts | 7 +- packages/backend/src/misc/id/object-id.ts | 7 +- packages/backend/src/misc/id/ulid.ts | 7 +- .../backend/src/misc/identifiable-error.ts | 7 +- .../src/misc/is-duplicate-key-value-error.ts | 7 +- .../backend/src/misc/is-instance-muted.ts | 7 +- packages/backend/src/misc/is-mime-image.ts | 7 +- packages/backend/src/misc/is-native-token.ts | 7 +- packages/backend/src/misc/is-not-null.ts | 7 +- packages/backend/src/misc/is-quote.ts | 7 +- packages/backend/src/misc/is-user-related.ts | 7 +- packages/backend/src/misc/json-schema.ts | 7 +- packages/backend/src/misc/langmap.ts | 7 +- .../backend/src/misc/normalize-for-search.ts | 7 +- packages/backend/src/misc/nyaize.ts | 7 +- packages/backend/src/misc/prelude/array.ts | 7 +- .../backend/src/misc/prelude/await-all.ts | 7 +- packages/backend/src/misc/prelude/math.ts | 7 +- packages/backend/src/misc/prelude/maybe.ts | 7 +- packages/backend/src/misc/prelude/relation.ts | 7 +- packages/backend/src/misc/prelude/string.ts | 7 +- packages/backend/src/misc/prelude/symbol.ts | 7 +- packages/backend/src/misc/prelude/time.ts | 7 +- packages/backend/src/misc/prelude/url.ts | 7 +- packages/backend/src/misc/prelude/xml.ts | 7 +- packages/backend/src/misc/reset-db.ts | 7 +- packages/backend/src/misc/safe-for-sql.ts | 7 +- packages/backend/src/misc/secure-rndstr.ts | 7 +- .../backend/src/misc/show-machine-info.ts | 7 +- packages/backend/src/misc/sql-like-escape.ts | 7 +- packages/backend/src/misc/status-error.ts | 7 +- packages/backend/src/misc/truncate.ts | 7 +- .../backend/src/models/RepositoryModule.ts | 7 +- .../src/models/entities/AbuseUserReport.ts | 7 +- .../src/models/entities/AccessToken.ts | 7 +- packages/backend/src/models/entities/Ad.ts | 7 +- .../src/models/entities/Announcement.ts | 7 +- .../src/models/entities/AnnouncementRead.ts | 7 +- .../backend/src/models/entities/Antenna.ts | 7 +- packages/backend/src/models/entities/App.ts | 7 +- .../models/entities/AttestationChallenge.ts | 7 +- .../src/models/entities/AuthSession.ts | 7 +- .../backend/src/models/entities/Blocking.ts | 7 +- .../backend/src/models/entities/Channel.ts | 7 +- .../src/models/entities/ChannelFavorite.ts | 7 +- .../src/models/entities/ChannelFollowing.ts | 7 +- packages/backend/src/models/entities/Clip.ts | 7 +- .../src/models/entities/ClipFavorite.ts | 7 +- .../backend/src/models/entities/ClipNote.ts | 7 +- .../backend/src/models/entities/DriveFile.ts | 7 +- .../src/models/entities/DriveFolder.ts | 7 +- packages/backend/src/models/entities/Emoji.ts | 7 +- packages/backend/src/models/entities/Flash.ts | 7 +- .../backend/src/models/entities/FlashLike.ts | 7 +- .../src/models/entities/FollowRequest.ts | 7 +- .../backend/src/models/entities/Following.ts | 7 +- .../src/models/entities/GalleryLike.ts | 7 +- .../src/models/entities/GalleryPost.ts | 7 +- .../backend/src/models/entities/Hashtag.ts | 7 +- .../backend/src/models/entities/Instance.ts | 7 +- packages/backend/src/models/entities/Meta.ts | 7 +- .../src/models/entities/ModerationLog.ts | 7 +- .../backend/src/models/entities/MutedNote.ts | 7 +- .../backend/src/models/entities/Muting.ts | 7 +- packages/backend/src/models/entities/Note.ts | 7 +- .../src/models/entities/NoteFavorite.ts | 7 +- .../src/models/entities/NoteReaction.ts | 7 +- .../src/models/entities/NoteThreadMuting.ts | 7 +- .../backend/src/models/entities/NoteUnread.ts | 7 +- .../src/models/entities/Notification.ts | 7 +- packages/backend/src/models/entities/Page.ts | 7 +- .../backend/src/models/entities/PageLike.ts | 7 +- .../models/entities/PasswordResetRequest.ts | 7 +- packages/backend/src/models/entities/Poll.ts | 7 +- .../backend/src/models/entities/PollVote.ts | 7 +- .../backend/src/models/entities/PromoNote.ts | 7 +- .../backend/src/models/entities/PromoRead.ts | 7 +- .../src/models/entities/RegistrationTicket.ts | 7 +- .../src/models/entities/RegistryItem.ts | 7 +- packages/backend/src/models/entities/Relay.ts | 7 +- .../src/models/entities/RenoteMuting.ts | 7 +- .../models/entities/RetentionAggregation.ts | 7 +- packages/backend/src/models/entities/Role.ts | 7 +- .../src/models/entities/RoleAssignment.ts | 7 +- .../backend/src/models/entities/Signin.ts | 7 +- .../src/models/entities/SwSubscription.ts | 7 +- .../src/models/entities/UsedUsername.ts | 7 +- packages/backend/src/models/entities/User.ts | 7 +- .../backend/src/models/entities/UserIp.ts | 7 +- .../src/models/entities/UserKeypair.ts | 7 +- .../backend/src/models/entities/UserList.ts | 7 +- .../src/models/entities/UserListFavorite.ts | 7 +- .../src/models/entities/UserListJoining.ts | 7 +- .../backend/src/models/entities/UserMemo.ts | 7 +- .../src/models/entities/UserNotePining.ts | 7 +- .../src/models/entities/UserPending.ts | 7 +- .../src/models/entities/UserProfile.ts | 7 +- .../src/models/entities/UserPublickey.ts | 7 +- .../src/models/entities/UserSecurityKey.ts | 7 +- .../backend/src/models/entities/Webhook.ts | 7 +- packages/backend/src/models/id.ts | 7 +- packages/backend/src/models/index.ts | 7 +- .../backend/src/models/json-schema/antenna.ts | 7 +- .../backend/src/models/json-schema/app.ts | 7 +- .../src/models/json-schema/blocking.ts | 7 +- .../backend/src/models/json-schema/channel.ts | 7 +- .../backend/src/models/json-schema/clip.ts | 7 +- .../src/models/json-schema/drive-file.ts | 7 +- .../src/models/json-schema/drive-folder.ts | 7 +- .../backend/src/models/json-schema/emoji.ts | 7 +- .../models/json-schema/federation-instance.ts | 7 +- .../backend/src/models/json-schema/flash.ts | 7 +- .../src/models/json-schema/following.ts | 7 +- .../src/models/json-schema/gallery-post.ts | 7 +- .../backend/src/models/json-schema/hashtag.ts | 7 +- .../src/models/json-schema/invite-code.ts | 7 +- .../backend/src/models/json-schema/muting.ts | 7 +- .../src/models/json-schema/note-favorite.ts | 7 +- .../src/models/json-schema/note-reaction.ts | 7 +- .../backend/src/models/json-schema/note.ts | 7 +- .../src/models/json-schema/notification.ts | 7 +- .../backend/src/models/json-schema/page.ts | 7 +- .../backend/src/models/json-schema/queue.ts | 7 +- .../src/models/json-schema/renote-muting.ts | 7 +- .../src/models/json-schema/user-list.ts | 7 +- .../backend/src/models/json-schema/user.ts | 7 +- packages/backend/src/postgres.ts | 7 +- .../backend/src/queue/QueueLoggerService.ts | 7 +- .../backend/src/queue/QueueProcessorModule.ts | 7 +- .../src/queue/QueueProcessorService.ts | 7 +- packages/backend/src/queue/const.ts | 9 +- .../AggregateRetentionProcessorService.ts | 7 +- .../CheckExpiredMutingsProcessorService.ts | 7 +- .../processors/CleanChartsProcessorService.ts | 7 +- .../queue/processors/CleanProcessorService.ts | 7 +- .../CleanRemoteFilesProcessorService.ts | 7 +- .../DeleteAccountProcessorService.ts | 7 +- .../DeleteDriveFilesProcessorService.ts | 7 +- .../processors/DeleteFileProcessorService.ts | 7 +- .../processors/DeliverProcessorService.ts | 7 +- .../EndedPollNotificationProcessorService.ts | 7 +- .../ExportAntennasProcessorService.ts | 7 +- .../ExportBlockingProcessorService.ts | 7 +- .../ExportCustomEmojisProcessorService.ts | 7 +- .../ExportFavoritesProcessorService.ts | 7 +- .../ExportFollowingProcessorService.ts | 7 +- .../ExportMutingProcessorService.ts | 7 +- .../processors/ExportNotesProcessorService.ts | 7 +- .../ExportUserListsProcessorService.ts | 7 +- .../ImportAntennasProcessorService.ts | 7 +- .../ImportBlockingProcessorService.ts | 7 +- .../ImportCustomEmojisProcessorService.ts | 7 +- .../ImportFollowingProcessorService.ts | 7 +- .../ImportMutingProcessorService.ts | 7 +- .../ImportUserListsProcessorService.ts | 7 +- .../queue/processors/InboxProcessorService.ts | 7 +- .../RelationshipProcessorService.ts | 7 +- .../ResyncChartsProcessorService.ts | 7 +- .../processors/TickChartsProcessorService.ts | 7 +- .../WebhookDeliverProcessorService.ts | 7 +- packages/backend/src/queue/types.ts | 7 +- .../src/server/ActivityPubServerService.ts | 7 +- .../backend/src/server/FileServerService.ts | 7 +- .../src/server/NodeinfoServerService.ts | 7 +- packages/backend/src/server/ServerModule.ts | 7 +- packages/backend/src/server/ServerService.ts | 7 +- .../src/server/WellKnownServerService.ts | 7 +- .../backend/src/server/api/ApiCallService.ts | 7 +- .../src/server/api/ApiLoggerService.ts | 7 +- .../src/server/api/ApiServerService.ts | 7 +- .../src/server/api/AuthenticateService.ts | 7 +- .../backend/src/server/api/EndpointsModule.ts | 7 +- .../backend/src/server/api/GetterService.ts | 7 +- .../src/server/api/RateLimiterService.ts | 7 +- .../src/server/api/SigninApiService.ts | 7 +- .../backend/src/server/api/SigninService.ts | 7 +- .../src/server/api/SignupApiService.ts | 7 +- .../server/api/StreamingApiServerService.ts | 7 +- .../backend/src/server/api/endpoint-base.ts | 7 +- packages/backend/src/server/api/endpoints.ts | 7 +- .../api/endpoints/admin/abuse-user-reports.ts | 7 +- .../api/endpoints/admin/accounts/create.ts | 7 +- .../api/endpoints/admin/accounts/delete.ts | 7 +- .../server/api/endpoints/admin/ad/create.ts | 7 +- .../server/api/endpoints/admin/ad/delete.ts | 7 +- .../src/server/api/endpoints/admin/ad/list.ts | 7 +- .../server/api/endpoints/admin/ad/update.ts | 7 +- .../endpoints/admin/announcements/create.ts | 7 +- .../endpoints/admin/announcements/delete.ts | 7 +- .../api/endpoints/admin/announcements/list.ts | 7 +- .../endpoints/admin/announcements/update.ts | 7 +- .../api/endpoints/admin/delete-account.ts | 7 +- .../admin/delete-all-files-of-a-user.ts | 7 +- .../admin/drive/clean-remote-files.ts | 7 +- .../api/endpoints/admin/drive/cleanup.ts | 7 +- .../server/api/endpoints/admin/drive/files.ts | 7 +- .../api/endpoints/admin/drive/show-file.ts | 7 +- .../endpoints/admin/emoji/add-aliases-bulk.ts | 7 +- .../server/api/endpoints/admin/emoji/add.ts | 7 +- .../server/api/endpoints/admin/emoji/copy.ts | 7 +- .../api/endpoints/admin/emoji/delete-bulk.ts | 7 +- .../api/endpoints/admin/emoji/delete.ts | 7 +- .../api/endpoints/admin/emoji/import-zip.ts | 7 +- .../api/endpoints/admin/emoji/list-remote.ts | 7 +- .../server/api/endpoints/admin/emoji/list.ts | 7 +- .../admin/emoji/remove-aliases-bulk.ts | 7 +- .../endpoints/admin/emoji/set-aliases-bulk.ts | 7 +- .../admin/emoji/set-category-bulk.ts | 7 +- .../endpoints/admin/emoji/set-license-bulk.ts | 7 +- .../api/endpoints/admin/emoji/update.ts | 7 +- .../admin/federation/delete-all-files.ts | 7 +- .../refresh-remote-instance-metadata.ts | 7 +- .../admin/federation/remove-all-following.ts | 7 +- .../admin/federation/update-instance.ts | 7 +- .../api/endpoints/admin/get-index-stats.ts | 7 +- .../api/endpoints/admin/get-table-stats.ts | 7 +- .../api/endpoints/admin/get-user-ips.ts | 7 +- .../api/endpoints/admin/invite/create.ts | 7 +- .../server/api/endpoints/admin/invite/list.ts | 7 +- .../src/server/api/endpoints/admin/meta.ts | 7 +- .../api/endpoints/admin/promo/create.ts | 7 +- .../server/api/endpoints/admin/queue/clear.ts | 7 +- .../endpoints/admin/queue/deliver-delayed.ts | 7 +- .../endpoints/admin/queue/inbox-delayed.ts | 7 +- .../api/endpoints/admin/queue/promote.ts | 7 +- .../server/api/endpoints/admin/queue/stats.ts | 7 +- .../server/api/endpoints/admin/relays/add.ts | 7 +- .../server/api/endpoints/admin/relays/list.ts | 7 +- .../api/endpoints/admin/relays/remove.ts | 7 +- .../api/endpoints/admin/reset-password.ts | 7 +- .../admin/resolve-abuse-user-report.ts | 7 +- .../api/endpoints/admin/roles/assign.ts | 7 +- .../api/endpoints/admin/roles/create.ts | 7 +- .../api/endpoints/admin/roles/delete.ts | 7 +- .../server/api/endpoints/admin/roles/list.ts | 7 +- .../server/api/endpoints/admin/roles/show.ts | 7 +- .../api/endpoints/admin/roles/unassign.ts | 7 +- .../admin/roles/update-default-policies.ts | 7 +- .../api/endpoints/admin/roles/update.ts | 7 +- .../server/api/endpoints/admin/roles/users.ts | 7 +- .../server/api/endpoints/admin/send-email.ts | 7 +- .../server/api/endpoints/admin/server-info.ts | 7 +- .../endpoints/admin/show-moderation-logs.ts | 7 +- .../server/api/endpoints/admin/show-user.ts | 7 +- .../server/api/endpoints/admin/show-users.ts | 7 +- .../api/endpoints/admin/suspend-user.ts | 7 +- .../api/endpoints/admin/unsuspend-user.ts | 7 +- .../server/api/endpoints/admin/update-meta.ts | 7 +- .../api/endpoints/admin/update-user-note.ts | 7 +- .../src/server/api/endpoints/announcements.ts | 7 +- .../server/api/endpoints/antennas/create.ts | 7 +- .../server/api/endpoints/antennas/delete.ts | 7 +- .../src/server/api/endpoints/antennas/list.ts | 7 +- .../server/api/endpoints/antennas/notes.ts | 7 +- .../src/server/api/endpoints/antennas/show.ts | 7 +- .../server/api/endpoints/antennas/update.ts | 7 +- .../src/server/api/endpoints/ap/get.ts | 7 +- .../src/server/api/endpoints/ap/show.ts | 7 +- .../src/server/api/endpoints/app/create.ts | 7 +- .../src/server/api/endpoints/app/show.ts | 7 +- .../src/server/api/endpoints/auth/accept.ts | 7 +- .../api/endpoints/auth/session/generate.ts | 7 +- .../server/api/endpoints/auth/session/show.ts | 7 +- .../api/endpoints/auth/session/userkey.ts | 7 +- .../server/api/endpoints/blocking/create.ts | 7 +- .../server/api/endpoints/blocking/delete.ts | 7 +- .../src/server/api/endpoints/blocking/list.ts | 7 +- .../server/api/endpoints/channels/create.ts | 7 +- .../server/api/endpoints/channels/favorite.ts | 7 +- .../server/api/endpoints/channels/featured.ts | 7 +- .../server/api/endpoints/channels/follow.ts | 7 +- .../server/api/endpoints/channels/followed.ts | 7 +- .../api/endpoints/channels/my-favorites.ts | 7 +- .../server/api/endpoints/channels/owned.ts | 7 +- .../server/api/endpoints/channels/search.ts | 7 +- .../src/server/api/endpoints/channels/show.ts | 7 +- .../server/api/endpoints/channels/timeline.ts | 7 +- .../api/endpoints/channels/unfavorite.ts | 7 +- .../server/api/endpoints/channels/unfollow.ts | 7 +- .../server/api/endpoints/channels/update.ts | 7 +- .../api/endpoints/charts/active-users.ts | 7 +- .../server/api/endpoints/charts/ap-request.ts | 7 +- .../src/server/api/endpoints/charts/drive.ts | 7 +- .../server/api/endpoints/charts/federation.ts | 7 +- .../server/api/endpoints/charts/instance.ts | 7 +- .../src/server/api/endpoints/charts/notes.ts | 7 +- .../server/api/endpoints/charts/user/drive.ts | 7 +- .../api/endpoints/charts/user/following.ts | 7 +- .../server/api/endpoints/charts/user/notes.ts | 7 +- .../server/api/endpoints/charts/user/pv.ts | 7 +- .../api/endpoints/charts/user/reactions.ts | 7 +- .../src/server/api/endpoints/charts/users.ts | 7 +- .../server/api/endpoints/clips/add-note.ts | 7 +- .../src/server/api/endpoints/clips/create.ts | 7 +- .../src/server/api/endpoints/clips/delete.ts | 7 +- .../server/api/endpoints/clips/favorite.ts | 7 +- .../src/server/api/endpoints/clips/list.ts | 7 +- .../api/endpoints/clips/my-favorites.ts | 7 +- .../src/server/api/endpoints/clips/notes.ts | 7 +- .../server/api/endpoints/clips/remove-note.ts | 7 +- .../src/server/api/endpoints/clips/show.ts | 7 +- .../server/api/endpoints/clips/unfavorite.ts | 7 +- .../src/server/api/endpoints/clips/update.ts | 7 +- .../backend/src/server/api/endpoints/drive.ts | 7 +- .../src/server/api/endpoints/drive/files.ts | 7 +- .../endpoints/drive/files/attached-notes.ts | 7 +- .../endpoints/drive/files/check-existence.ts | 7 +- .../api/endpoints/drive/files/create.ts | 7 +- .../api/endpoints/drive/files/delete.ts | 7 +- .../api/endpoints/drive/files/find-by-hash.ts | 7 +- .../server/api/endpoints/drive/files/find.ts | 7 +- .../server/api/endpoints/drive/files/show.ts | 7 +- .../api/endpoints/drive/files/update.ts | 7 +- .../endpoints/drive/files/upload-from-url.ts | 7 +- .../src/server/api/endpoints/drive/folders.ts | 7 +- .../api/endpoints/drive/folders/create.ts | 7 +- .../api/endpoints/drive/folders/delete.ts | 7 +- .../api/endpoints/drive/folders/find.ts | 7 +- .../api/endpoints/drive/folders/show.ts | 7 +- .../api/endpoints/drive/folders/update.ts | 7 +- .../src/server/api/endpoints/drive/stream.ts | 7 +- .../api/endpoints/email-address/available.ts | 7 +- .../backend/src/server/api/endpoints/emoji.ts | 7 +- .../src/server/api/endpoints/emojis.ts | 7 +- .../src/server/api/endpoints/endpoint.ts | 7 +- .../src/server/api/endpoints/endpoints.ts | 7 +- .../api/endpoints/export-custom-emojis.ts | 7 +- .../api/endpoints/federation/followers.ts | 7 +- .../api/endpoints/federation/following.ts | 7 +- .../api/endpoints/federation/instances.ts | 7 +- .../api/endpoints/federation/show-instance.ts | 7 +- .../server/api/endpoints/federation/stats.ts | 7 +- .../federation/update-remote-user.ts | 7 +- .../server/api/endpoints/federation/users.ts | 7 +- .../src/server/api/endpoints/fetch-rss.ts | 7 +- .../src/server/api/endpoints/flash/create.ts | 7 +- .../src/server/api/endpoints/flash/delete.ts | 7 +- .../server/api/endpoints/flash/featured.ts | 7 +- .../src/server/api/endpoints/flash/like.ts | 7 +- .../server/api/endpoints/flash/my-likes.ts | 7 +- .../src/server/api/endpoints/flash/my.ts | 7 +- .../src/server/api/endpoints/flash/show.ts | 7 +- .../src/server/api/endpoints/flash/unlike.ts | 7 +- .../src/server/api/endpoints/flash/update.ts | 7 +- .../server/api/endpoints/following/create.ts | 7 +- .../server/api/endpoints/following/delete.ts | 7 +- .../api/endpoints/following/invalidate.ts | 7 +- .../endpoints/following/requests/accept.ts | 7 +- .../endpoints/following/requests/cancel.ts | 7 +- .../api/endpoints/following/requests/list.ts | 7 +- .../endpoints/following/requests/reject.ts | 7 +- .../server/api/endpoints/gallery/featured.ts | 7 +- .../server/api/endpoints/gallery/popular.ts | 7 +- .../src/server/api/endpoints/gallery/posts.ts | 7 +- .../api/endpoints/gallery/posts/create.ts | 7 +- .../api/endpoints/gallery/posts/delete.ts | 7 +- .../api/endpoints/gallery/posts/like.ts | 7 +- .../api/endpoints/gallery/posts/show.ts | 7 +- .../api/endpoints/gallery/posts/unlike.ts | 7 +- .../api/endpoints/gallery/posts/update.ts | 7 +- .../api/endpoints/get-online-users-count.ts | 7 +- .../src/server/api/endpoints/hashtags/list.ts | 7 +- .../server/api/endpoints/hashtags/search.ts | 7 +- .../src/server/api/endpoints/hashtags/show.ts | 7 +- .../server/api/endpoints/hashtags/trend.ts | 7 +- .../server/api/endpoints/hashtags/users.ts | 7 +- .../backend/src/server/api/endpoints/i.ts | 7 +- .../src/server/api/endpoints/i/2fa/done.ts | 7 +- .../server/api/endpoints/i/2fa/key-done.ts | 7 +- .../api/endpoints/i/2fa/password-less.ts | 7 +- .../api/endpoints/i/2fa/register-key.ts | 7 +- .../server/api/endpoints/i/2fa/register.ts | 7 +- .../server/api/endpoints/i/2fa/remove-key.ts | 7 +- .../server/api/endpoints/i/2fa/unregister.ts | 7 +- .../server/api/endpoints/i/2fa/update-key.ts | 7 +- .../src/server/api/endpoints/i/apps.ts | 7 +- .../server/api/endpoints/i/authorized-apps.ts | 7 +- .../server/api/endpoints/i/change-password.ts | 7 +- .../api/endpoints/i/claim-achievement.ts | 7 +- .../server/api/endpoints/i/delete-account.ts | 7 +- .../server/api/endpoints/i/export-antennas.ts | 7 +- .../server/api/endpoints/i/export-blocking.ts | 7 +- .../api/endpoints/i/export-favorites.ts | 7 +- .../api/endpoints/i/export-following.ts | 7 +- .../src/server/api/endpoints/i/export-mute.ts | 7 +- .../server/api/endpoints/i/export-notes.ts | 7 +- .../api/endpoints/i/export-user-lists.ts | 7 +- .../src/server/api/endpoints/i/favorites.ts | 7 +- .../server/api/endpoints/i/gallery/likes.ts | 7 +- .../server/api/endpoints/i/gallery/posts.ts | 7 +- .../endpoints/i/get-word-muted-notes-count.ts | 7 +- .../server/api/endpoints/i/import-antennas.ts | 7 +- .../server/api/endpoints/i/import-blocking.ts | 7 +- .../api/endpoints/i/import-following.ts | 7 +- .../server/api/endpoints/i/import-muting.ts | 7 +- .../api/endpoints/i/import-user-lists.ts | 7 +- .../src/server/api/endpoints/i/move.ts | 7 +- .../server/api/endpoints/i/notifications.ts | 7 +- .../src/server/api/endpoints/i/page-likes.ts | 7 +- .../src/server/api/endpoints/i/pages.ts | 7 +- .../backend/src/server/api/endpoints/i/pin.ts | 7 +- .../api/endpoints/i/read-all-unread-notes.ts | 7 +- .../api/endpoints/i/read-announcement.ts | 7 +- .../api/endpoints/i/regenerate-token.ts | 7 +- .../api/endpoints/i/registry/get-all.ts | 7 +- .../api/endpoints/i/registry/get-detail.ts | 7 +- .../server/api/endpoints/i/registry/get.ts | 7 +- .../endpoints/i/registry/keys-with-type.ts | 7 +- .../server/api/endpoints/i/registry/keys.ts | 7 +- .../server/api/endpoints/i/registry/remove.ts | 7 +- .../server/api/endpoints/i/registry/scopes.ts | 7 +- .../server/api/endpoints/i/registry/set.ts | 7 +- .../server/api/endpoints/i/revoke-token.ts | 7 +- .../server/api/endpoints/i/signin-history.ts | 7 +- .../src/server/api/endpoints/i/unpin.ts | 7 +- .../server/api/endpoints/i/update-email.ts | 7 +- .../src/server/api/endpoints/i/update.ts | 7 +- .../server/api/endpoints/i/webhooks/create.ts | 7 +- .../server/api/endpoints/i/webhooks/delete.ts | 7 +- .../server/api/endpoints/i/webhooks/list.ts | 7 +- .../server/api/endpoints/i/webhooks/show.ts | 7 +- .../server/api/endpoints/i/webhooks/update.ts | 7 +- .../src/server/api/endpoints/invite/create.ts | 7 +- .../src/server/api/endpoints/invite/delete.ts | 7 +- .../src/server/api/endpoints/invite/limit.ts | 7 +- .../src/server/api/endpoints/invite/list.ts | 7 +- .../backend/src/server/api/endpoints/meta.ts | 7 +- .../server/api/endpoints/miauth/gen-token.ts | 7 +- .../src/server/api/endpoints/mute/create.ts | 7 +- .../src/server/api/endpoints/mute/delete.ts | 7 +- .../src/server/api/endpoints/mute/list.ts | 7 +- .../src/server/api/endpoints/my/apps.ts | 7 +- .../backend/src/server/api/endpoints/notes.ts | 7 +- .../server/api/endpoints/notes/children.ts | 7 +- .../src/server/api/endpoints/notes/clips.ts | 7 +- .../api/endpoints/notes/conversation.ts | 7 +- .../server/api/endpoints/notes/create.test.ts | 7 +- .../src/server/api/endpoints/notes/create.ts | 7 +- .../src/server/api/endpoints/notes/delete.ts | 7 +- .../api/endpoints/notes/favorites/create.ts | 7 +- .../api/endpoints/notes/favorites/delete.ts | 7 +- .../server/api/endpoints/notes/featured.ts | 7 +- .../api/endpoints/notes/global-timeline.ts | 7 +- .../api/endpoints/notes/hybrid-timeline.ts | 7 +- .../api/endpoints/notes/local-timeline.ts | 7 +- .../server/api/endpoints/notes/mentions.ts | 7 +- .../endpoints/notes/polls/recommendation.ts | 7 +- .../server/api/endpoints/notes/polls/vote.ts | 7 +- .../server/api/endpoints/notes/reactions.ts | 7 +- .../api/endpoints/notes/reactions/create.ts | 7 +- .../api/endpoints/notes/reactions/delete.ts | 7 +- .../src/server/api/endpoints/notes/renotes.ts | 7 +- .../src/server/api/endpoints/notes/replies.ts | 7 +- .../api/endpoints/notes/search-by-tag.ts | 7 +- .../src/server/api/endpoints/notes/search.ts | 7 +- .../src/server/api/endpoints/notes/show.ts | 7 +- .../src/server/api/endpoints/notes/state.ts | 7 +- .../endpoints/notes/thread-muting/create.ts | 7 +- .../endpoints/notes/thread-muting/delete.ts | 7 +- .../server/api/endpoints/notes/timeline.ts | 7 +- .../server/api/endpoints/notes/translate.ts | 7 +- .../server/api/endpoints/notes/unrenote.ts | 7 +- .../api/endpoints/notes/user-list-timeline.ts | 7 +- .../api/endpoints/notifications/create.ts | 7 +- .../notifications/mark-all-as-read.ts | 7 +- .../src/server/api/endpoints/page-push.ts | 7 +- .../src/server/api/endpoints/pages/create.ts | 7 +- .../src/server/api/endpoints/pages/delete.ts | 7 +- .../server/api/endpoints/pages/featured.ts | 7 +- .../src/server/api/endpoints/pages/like.ts | 7 +- .../src/server/api/endpoints/pages/show.ts | 7 +- .../src/server/api/endpoints/pages/unlike.ts | 7 +- .../src/server/api/endpoints/pages/update.ts | 7 +- .../backend/src/server/api/endpoints/ping.ts | 7 +- .../src/server/api/endpoints/pinned-users.ts | 7 +- .../src/server/api/endpoints/promo/read.ts | 7 +- .../api/endpoints/renote-mute/create.ts | 7 +- .../api/endpoints/renote-mute/delete.ts | 7 +- .../server/api/endpoints/renote-mute/list.ts | 7 +- .../api/endpoints/request-reset-password.ts | 7 +- .../src/server/api/endpoints/reset-db.ts | 7 +- .../server/api/endpoints/reset-password.ts | 7 +- .../src/server/api/endpoints/retention.ts | 7 +- .../src/server/api/endpoints/roles/list.ts | 7 +- .../src/server/api/endpoints/roles/notes.ts | 7 +- .../src/server/api/endpoints/roles/show.ts | 7 +- .../src/server/api/endpoints/roles/users.ts | 7 +- .../src/server/api/endpoints/server-info.ts | 7 +- .../backend/src/server/api/endpoints/stats.ts | 7 +- .../src/server/api/endpoints/sw/register.ts | 7 +- .../api/endpoints/sw/show-registration.ts | 7 +- .../src/server/api/endpoints/sw/unregister.ts | 7 +- .../api/endpoints/sw/update-registration.ts | 7 +- .../backend/src/server/api/endpoints/test.ts | 7 +- .../api/endpoints/username/available.ts | 7 +- .../backend/src/server/api/endpoints/users.ts | 7 +- .../api/endpoints/users/achievements.ts | 7 +- .../src/server/api/endpoints/users/clips.ts | 7 +- .../server/api/endpoints/users/followers.ts | 7 +- .../server/api/endpoints/users/following.ts | 7 +- .../api/endpoints/users/gallery/posts.ts | 7 +- .../users/get-frequently-replied-users.ts | 7 +- .../users/lists/create-from-public.ts | 7 +- .../api/endpoints/users/lists/create.ts | 7 +- .../api/endpoints/users/lists/delete.ts | 7 +- .../api/endpoints/users/lists/favorite.ts | 7 +- .../server/api/endpoints/users/lists/list.ts | 7 +- .../server/api/endpoints/users/lists/pull.ts | 7 +- .../server/api/endpoints/users/lists/push.ts | 7 +- .../server/api/endpoints/users/lists/show.ts | 7 +- .../api/endpoints/users/lists/unfavorite.ts | 7 +- .../api/endpoints/users/lists/update.ts | 7 +- .../src/server/api/endpoints/users/notes.ts | 7 +- .../src/server/api/endpoints/users/pages.ts | 7 +- .../server/api/endpoints/users/reactions.ts | 7 +- .../api/endpoints/users/recommendation.ts | 7 +- .../server/api/endpoints/users/relation.ts | 7 +- .../api/endpoints/users/report-abuse.ts | 7 +- .../users/search-by-username-and-host.ts | 7 +- .../src/server/api/endpoints/users/search.ts | 7 +- .../src/server/api/endpoints/users/show.ts | 7 +- .../server/api/endpoints/users/update-memo.ts | 7 +- packages/backend/src/server/api/error.ts | 7 +- .../api/openapi/OpenApiServerService.ts | 7 +- .../backend/src/server/api/openapi/errors.ts | 7 +- .../src/server/api/openapi/gen-spec.ts | 7 +- .../backend/src/server/api/openapi/schemas.ts | 7 +- .../src/server/api/stream/ChannelsService.ts | 7 +- .../backend/src/server/api/stream/channel.ts | 7 +- .../src/server/api/stream/channels/admin.ts | 7 +- .../src/server/api/stream/channels/antenna.ts | 7 +- .../src/server/api/stream/channels/channel.ts | 7 +- .../src/server/api/stream/channels/drive.ts | 7 +- .../api/stream/channels/global-timeline.ts | 7 +- .../src/server/api/stream/channels/hashtag.ts | 7 +- .../api/stream/channels/home-timeline.ts | 7 +- .../api/stream/channels/hybrid-timeline.ts | 7 +- .../api/stream/channels/local-timeline.ts | 7 +- .../src/server/api/stream/channels/main.ts | 7 +- .../server/api/stream/channels/queue-stats.ts | 7 +- .../api/stream/channels/role-timeline.ts | 7 +- .../api/stream/channels/server-stats.ts | 7 +- .../server/api/stream/channels/user-list.ts | 7 +- .../backend/src/server/api/stream/index.ts | 7 +- .../backend/src/server/api/stream/types.ts | 7 +- .../src/server/web/ClientLoggerService.ts | 7 +- .../src/server/web/ClientServerService.ts | 7 +- .../backend/src/server/web/FeedService.ts | 7 +- .../src/server/web/UrlPreviewService.ts | 7 +- packages/backend/src/server/web/bios.js | 7 +- packages/backend/src/server/web/boot.js | 7 +- packages/backend/src/server/web/cli.js | 7 +- packages/backend/src/types.ts | 7 +- packages/backend/test/e2e/2fa.ts | 7 +- packages/backend/test/e2e/antennas.ts | 7 +- packages/backend/test/e2e/api-visibility.ts | 7 +- packages/backend/test/e2e/api.ts | 9 +- packages/backend/test/e2e/block.ts | 7 +- packages/backend/test/e2e/clips.ts | 7 +- packages/backend/test/e2e/endpoints.ts | 7 +- packages/backend/test/e2e/fetch-resource.ts | 7 +- packages/backend/test/e2e/ff-visibility.ts | 7 +- packages/backend/test/e2e/move.ts | 7 +- packages/backend/test/e2e/mute.ts | 7 +- packages/backend/test/e2e/note.ts | 23 ++-- packages/backend/test/e2e/renote-mute.ts | 7 +- packages/backend/test/e2e/streaming.ts | 7 +- packages/backend/test/e2e/thread-mute.ts | 7 +- packages/backend/test/e2e/user-notes.ts | 7 +- packages/backend/test/e2e/users.ts | 7 +- packages/backend/test/misc/mock-resolver.ts | 7 +- .../backend/test/prelude/get-api-validator.ts | 21 +-- packages/backend/test/prelude/maybe.ts | 7 +- packages/backend/test/prelude/url.ts | 7 +- packages/backend/test/unit/DriveService.ts | 7 +- .../test/unit/FetchInstanceMetadataService.ts | 29 ++-- packages/backend/test/unit/FileInfoService.ts | 9 +- packages/backend/test/unit/MetaService.ts | 7 +- packages/backend/test/unit/MfmService.ts | 7 +- packages/backend/test/unit/ReactionService.ts | 7 +- packages/backend/test/unit/RelayService.ts | 7 +- packages/backend/test/unit/RoleService.ts | 7 +- packages/backend/test/unit/S3Service.ts | 7 +- packages/backend/test/unit/activitypub.ts | 7 +- packages/backend/test/unit/ap-request.ts | 7 +- packages/backend/test/unit/chart.ts | 7 +- .../backend/test/unit/extract-mentions.ts | 7 +- .../backend/test/unit/misc/check-word-mute.ts | 7 +- packages/backend/test/unit/misc/id.ts | 71 +++++----- packages/backend/test/unit/misc/others.ts | 73 +++++----- packages/backend/test/utils.ts | 7 +- packages/backend/watch.mjs | 7 +- packages/frontend/@types/global.d.ts | 7 +- packages/frontend/@types/theme.d.ts | 9 +- ...lugin-unwind-css-module-class-name.test.ts | 7 +- ...lup-plugin-unwind-css-module-class-name.ts | 7 +- packages/frontend/public/mockServiceWorker.js | 7 +- packages/frontend/src/_boot_.ts | 7 +- packages/frontend/src/account.ts | 7 +- packages/frontend/src/boot/common.ts | 7 +- packages/frontend/src/boot/main-boot.ts | 7 +- packages/frontend/src/boot/sub-boot.ts | 7 +- packages/frontend/src/cache.ts | 7 +- .../components/MkAbuseReport.stories.impl.ts | 7 +- .../frontend/src/components/MkAbuseReport.vue | 1 - .../MkAbuseReportWindow.stories.impl.ts | 7 +- .../src/components/MkAbuseReportWindow.vue | 1 - .../components/MkAccountMoved.stories.impl.ts | 7 +- .../src/components/MkAccountMoved.vue | 1 - .../components/MkAchievements.stories.impl.ts | 7 +- .../src/components/MkAchievements.vue | 1 - .../components/MkAnalogClock.stories.impl.ts | 7 +- .../frontend/src/components/MkAnalogClock.vue | 1 - packages/frontend/src/components/MkAnimBg.vue | 1 - .../src/components/MkAsUi.stories.impl.ts | 7 +- packages/frontend/src/components/MkAsUi.vue | 1 - .../components/MkAutocomplete.stories.impl.ts | 7 +- .../src/components/MkAutocomplete.vue | 1 - .../src/components/MkAvatars.stories.impl.ts | 7 +- .../frontend/src/components/MkAvatars.vue | 1 - .../src/components/MkButton.stories.impl.ts | 7 +- packages/frontend/src/components/MkButton.vue | 1 - .../src/components/MkCaptcha.stories.impl.ts | 7 +- .../frontend/src/components/MkCaptcha.vue | 1 - .../src/components/MkChannelFollowButton.vue | 1 - .../frontend/src/components/MkChannelList.vue | 1 - .../src/components/MkChannelPreview.vue | 1 - packages/frontend/src/components/MkChart.vue | 1 - .../frontend/src/components/MkChartLegend.vue | 1 - .../src/components/MkChartTooltip.vue | 1 - .../frontend/src/components/MkClickerGame.vue | 1 - .../frontend/src/components/MkClipPreview.vue | 1 - .../frontend/src/components/MkCode.core.vue | 1 - packages/frontend/src/components/MkCode.vue | 1 - .../frontend/src/components/MkColorInput.vue | 1 - .../frontend/src/components/MkContainer.vue | 1 - .../frontend/src/components/MkContextMenu.vue | 1 - .../src/components/MkCropperDialog.vue | 1 - .../frontend/src/components/MkCwButton.vue | 1 - .../src/components/MkDateSeparatedList.vue | 1 - packages/frontend/src/components/MkDialog.vue | 1 - .../components/MkDigitalClock.stories.impl.ts | 7 +- .../src/components/MkDigitalClock.vue | 1 - .../frontend/src/components/MkDonation.vue | 1 - .../frontend/src/components/MkDrive.file.vue | 1 - .../src/components/MkDrive.folder.vue | 1 - .../src/components/MkDrive.navFolder.vue | 1 - packages/frontend/src/components/MkDrive.vue | 1 - .../src/components/MkDriveFileThumbnail.vue | 1 - .../src/components/MkDriveSelectDialog.vue | 1 - .../frontend/src/components/MkDriveWindow.vue | 1 - .../src/components/MkEmojiPicker.section.vue | 1 - .../frontend/src/components/MkEmojiPicker.vue | 1 - .../src/components/MkEmojiPickerDialog.vue | 1 - .../src/components/MkEmojiPickerWindow.vue | 1 - .../src/components/MkFeaturedPhotos.vue | 1 - .../components/MkFileCaptionEditWindow.vue | 1 - .../src/components/MkFileListForAdmin.vue | 1 - .../src/components/MkFlashPreview.vue | 1 - .../src/components/MkFoldableSection.vue | 1 - packages/frontend/src/components/MkFolder.vue | 1 - .../src/components/MkFollowButton.vue | 1 - .../src/components/MkForgotPassword.vue | 1 - .../frontend/src/components/MkFormDialog.vue | 1 - .../MkGalleryPostPreview.stories.impl.ts | 7 +- .../src/components/MkGalleryPostPreview.vue | 1 - packages/frontend/src/components/MkGoogle.vue | 1 - .../frontend/src/components/MkHeatmap.vue | 1 - .../src/components/MkImgWithBlurhash.vue | 1 - packages/frontend/src/components/MkInfo.vue | 1 - packages/frontend/src/components/MkInput.vue | 1 - .../src/components/MkInstanceCardMini.vue | 1 - .../src/components/MkInstanceStats.vue | 1 - .../src/components/MkInstanceTicker.vue | 1 - .../components/MkInviteCode.stories.impl.ts | 11 +- .../frontend/src/components/MkInviteCode.vue | 1 - .../frontend/src/components/MkKeyValue.vue | 1 - .../frontend/src/components/MkLaunchPad.vue | 1 - packages/frontend/src/components/MkLink.vue | 1 - .../frontend/src/components/MkMarquee.vue | 1 - .../frontend/src/components/MkMediaBanner.vue | 1 - .../frontend/src/components/MkMediaImage.vue | 1 - .../frontend/src/components/MkMediaList.vue | 1 - .../frontend/src/components/MkMediaVideo.vue | 1 - .../frontend/src/components/MkMention.vue | 1 - .../frontend/src/components/MkMenu.child.vue | 1 - packages/frontend/src/components/MkMenu.vue | 1 - .../frontend/src/components/MkMiniChart.vue | 1 - packages/frontend/src/components/MkModal.vue | 1 - .../frontend/src/components/MkModalWindow.vue | 1 - packages/frontend/src/components/MkNote.vue | 1 - .../src/components/MkNoteDetailed.vue | 1 - .../frontend/src/components/MkNoteHeader.vue | 1 - .../frontend/src/components/MkNotePreview.vue | 1 - .../frontend/src/components/MkNoteSimple.vue | 1 - .../frontend/src/components/MkNoteSub.vue | 1 - packages/frontend/src/components/MkNotes.vue | 1 - .../src/components/MkNotification.vue | 1 - .../MkNotificationSettingWindow.vue | 1 - .../src/components/MkNotifications.vue | 1 - packages/frontend/src/components/MkNumber.vue | 1 - .../frontend/src/components/MkNumberDiff.vue | 1 - .../src/components/MkObjectView.value.vue | 1 - .../frontend/src/components/MkObjectView.vue | 1 - packages/frontend/src/components/MkOmit.vue | 1 - .../frontend/src/components/MkPagePreview.vue | 1 - .../frontend/src/components/MkPageWindow.vue | 1 - .../frontend/src/components/MkPagination.vue | 1 - .../src/components/MkPlusOneEffect.vue | 1 - packages/frontend/src/components/MkPoll.vue | 1 - .../frontend/src/components/MkPollEditor.vue | 1 - .../frontend/src/components/MkPopupMenu.vue | 1 - .../frontend/src/components/MkPostForm.vue | 1 - .../src/components/MkPostFormAttaches.vue | 1 - .../src/components/MkPostFormDialog.vue | 1 - .../MkPushNotificationAllowButton.vue | 1 - packages/frontend/src/components/MkRadio.vue | 1 - packages/frontend/src/components/MkRadios.vue | 1 - packages/frontend/src/components/MkRange.vue | 1 - .../src/components/MkReactedUsersDialog.vue | 1 - .../src/components/MkReactionEffect.vue | 1 - .../src/components/MkReactionIcon.vue | 1 - .../src/components/MkReactionTooltip.vue | 1 - .../components/MkReactionsViewer.details.vue | 1 - .../components/MkReactionsViewer.reaction.vue | 1 - .../src/components/MkReactionsViewer.vue | 1 - .../src/components/MkRemoteCaution.vue | 1 - .../src/components/MkRenotedUsersDialog.vue | 1 - .../src/components/MkRetentionHeatmap.vue | 1 - .../src/components/MkRetentionLineChart.vue | 1 - .../src/components/MkRippleEffect.vue | 1 - .../frontend/src/components/MkRolePreview.vue | 1 - packages/frontend/src/components/MkSelect.vue | 1 - packages/frontend/src/components/MkSignin.vue | 1 - .../src/components/MkSigninDialog.vue | 1 - .../src/components/MkSignupDialog.form.vue | 1 - .../MkSignupDialog.rules.stories.impl.ts | 7 +- .../src/components/MkSignupDialog.rules.vue | 1 - .../src/components/MkSignupDialog.vue | 1 - .../frontend/src/components/MkSparkle.vue | 1 - .../src/components/MkSubNoteContent.vue | 1 - .../frontend/src/components/MkSuperMenu.vue | 1 - packages/frontend/src/components/MkSwitch.vue | 1 - packages/frontend/src/components/MkTab.vue | 1 - .../frontend/src/components/MkTagCloud.vue | 1 - .../frontend/src/components/MkTextarea.vue | 1 - .../frontend/src/components/MkTimeline.vue | 1 - packages/frontend/src/components/MkToast.vue | 1 - .../src/components/MkTokenGenerateWindow.vue | 1 - .../frontend/src/components/MkTooltip.vue | 1 - .../frontend/src/components/MkUpdated.vue | 1 - .../frontend/src/components/MkUrlPreview.vue | 1 - .../src/components/MkUrlPreviewPopup.vue | 1 - .../src/components/MkUserCardMini.vue | 1 - .../frontend/src/components/MkUserInfo.vue | 1 - .../frontend/src/components/MkUserList.vue | 1 - .../src/components/MkUserOnlineIndicator.vue | 1 - .../frontend/src/components/MkUserPopup.vue | 1 - .../src/components/MkUserSelectDialog.vue | 1 - .../MkUserSetupDialog.Follow.stories.impl.ts | 7 +- .../components/MkUserSetupDialog.Follow.vue | 1 - .../MkUserSetupDialog.Privacy.stories.impl.ts | 7 +- .../components/MkUserSetupDialog.Privacy.vue | 1 - .../MkUserSetupDialog.Profile.stories.impl.ts | 7 +- .../components/MkUserSetupDialog.Profile.vue | 1 - .../MkUserSetupDialog.User.stories.impl.ts | 7 +- .../src/components/MkUserSetupDialog.User.vue | 1 - .../MkUserSetupDialog.stories.impl.ts | 7 +- .../src/components/MkUserSetupDialog.vue | 1 - .../src/components/MkUsersTooltip.vue | 1 - .../src/components/MkVisibilityPicker.vue | 1 - .../MkVisitorDashboard.ActiveUsersChart.vue | 1 - .../src/components/MkVisitorDashboard.vue | 1 - .../src/components/MkWaitingDialog.vue | 1 - .../frontend/src/components/MkWidgets.vue | 1 - packages/frontend/src/components/MkWindow.vue | 1 - .../src/components/MkYouTubePlayer.vue | 1 - .../frontend/src/components/form/link.vue | 1 - .../frontend/src/components/form/section.vue | 1 - .../frontend/src/components/form/slot.vue | 1 - .../frontend/src/components/form/split.vue | 1 - .../frontend/src/components/form/suspense.vue | 1 - .../src/components/global/MkA.stories.impl.ts | 7 +- .../frontend/src/components/global/MkA.vue | 1 - .../components/global/MkAcct.stories.impl.ts | 7 +- .../frontend/src/components/global/MkAcct.vue | 1 - .../components/global/MkAd.stories.impl.ts | 7 +- .../frontend/src/components/global/MkAd.vue | 1 - .../global/MkAvatar.stories.impl.ts | 7 +- .../src/components/global/MkAvatar.vue | 1 - .../global/MkCondensedLine.stories.impl.ts | 7 +- .../src/components/global/MkCondensedLine.vue | 1 - .../global/MkCustomEmoji.stories.impl.ts | 7 +- .../src/components/global/MkCustomEmoji.vue | 1 - .../global/MkEllipsis.stories.impl.ts | 7 +- .../src/components/global/MkEllipsis.vue | 1 - .../components/global/MkEmoji.stories.impl.ts | 7 +- .../src/components/global/MkEmoji.vue | 1 - .../components/global/MkError.stories.impl.ts | 7 +- .../components/global/MkError.stories.meta.ts | 7 +- .../src/components/global/MkError.vue | 1 - .../global/MkLoading.stories.impl.ts | 7 +- .../src/components/global/MkLoading.vue | 1 - .../MkMisskeyFlavoredMarkdown.stories.impl.ts | 7 +- .../global/MkMisskeyFlavoredMarkdown.ts | 7 +- .../global/MkPageHeader.stories.impl.ts | 7 +- .../global/MkPageHeader.tabs.stories.impl.ts | 7 +- .../components/global/MkPageHeader.tabs.vue | 1 - .../src/components/global/MkPageHeader.vue | 1 - .../src/components/global/MkSpacer.vue | 1 - .../global/MkStickyContainer.stories.impl.ts | 7 +- .../components/global/MkStickyContainer.vue | 1 - .../components/global/MkTime.stories.impl.ts | 7 +- .../frontend/src/components/global/MkTime.vue | 1 - .../components/global/MkUrl.stories.impl.ts | 7 +- .../frontend/src/components/global/MkUrl.vue | 1 - .../global/MkUserName.stories.impl.ts | 7 +- .../src/components/global/MkUserName.vue | 1 - .../global/RouterView.stories.impl.ts | 7 +- .../src/components/global/RouterView.vue | 1 - .../frontend/src/components/global/i18n.ts | 7 +- packages/frontend/src/components/index.ts | 7 +- .../src/components/page/block.type.ts | 7 +- .../src/components/page/page.block.vue | 1 - .../src/components/page/page.image.vue | 1 - .../src/components/page/page.note.vue | 1 - .../src/components/page/page.section.vue | 1 - .../src/components/page/page.text.vue | 1 - .../frontend/src/components/page/page.vue | 1 - packages/frontend/src/config.ts | 7 +- packages/frontend/src/const.ts | 7 +- packages/frontend/src/custom-emojis.ts | 7 +- packages/frontend/src/debug.ts | 7 +- .../frontend/src/directives/adaptive-bg.ts | 7 +- .../src/directives/adaptive-border.ts | 7 +- packages/frontend/src/directives/anim.ts | 7 +- packages/frontend/src/directives/appear.ts | 7 +- .../frontend/src/directives/click-anime.ts | 7 +- .../frontend/src/directives/follow-append.ts | 7 +- packages/frontend/src/directives/get-size.ts | 7 +- packages/frontend/src/directives/hotkey.ts | 7 +- packages/frontend/src/directives/index.ts | 7 +- packages/frontend/src/directives/panel.ts | 7 +- packages/frontend/src/directives/ripple.ts | 7 +- packages/frontend/src/directives/tooltip.ts | 7 +- .../frontend/src/directives/user-preview.ts | 7 +- packages/frontend/src/events.ts | 7 +- packages/frontend/src/filters/bytes.ts | 7 +- packages/frontend/src/filters/date.ts | 7 +- packages/frontend/src/filters/note.ts | 7 +- packages/frontend/src/filters/number.ts | 7 +- packages/frontend/src/filters/user.ts | 7 +- packages/frontend/src/i18n.ts | 7 +- packages/frontend/src/instance.ts | 7 +- packages/frontend/src/local-storage.ts | 7 +- packages/frontend/src/navbar.ts | 7 +- packages/frontend/src/nirax.ts | 7 +- packages/frontend/src/os.ts | 7 +- packages/frontend/src/pages/_empty_.vue | 1 - packages/frontend/src/pages/_error_.vue | 1 - packages/frontend/src/pages/_loading_.vue | 1 - packages/frontend/src/pages/about-misskey.vue | 1 - packages/frontend/src/pages/about.emojis.vue | 1 - .../frontend/src/pages/about.federation.vue | 1 - packages/frontend/src/pages/about.vue | 1 - packages/frontend/src/pages/achievements.vue | 1 - packages/frontend/src/pages/admin-file.vue | 1 - .../src/pages/admin/RolesEditorFormula.vue | 1 - .../frontend/src/pages/admin/_header_.vue | 1 - packages/frontend/src/pages/admin/abuses.vue | 1 - packages/frontend/src/pages/admin/ads.vue | 1 - .../src/pages/admin/announcements.vue | 1 - .../src/pages/admin/bot-protection.vue | 1 - .../frontend/src/pages/admin/branding.vue | 1 - .../frontend/src/pages/admin/database.vue | 1 - .../src/pages/admin/email-settings.vue | 1 - .../frontend/src/pages/admin/federation.vue | 1 - packages/frontend/src/pages/admin/files.vue | 1 - packages/frontend/src/pages/admin/index.vue | 1 - .../src/pages/admin/instance-block.vue | 1 - packages/frontend/src/pages/admin/invites.vue | 1 - .../frontend/src/pages/admin/moderation.vue | 1 - .../src/pages/admin/object-storage.vue | 1 - .../src/pages/admin/other-settings.vue | 1 - .../src/pages/admin/overview.active-users.vue | 1 - .../src/pages/admin/overview.ap-requests.vue | 1 - .../src/pages/admin/overview.federation.vue | 1 - .../src/pages/admin/overview.heatmap.vue | 1 - .../src/pages/admin/overview.instances.vue | 1 - .../src/pages/admin/overview.moderators.vue | 1 - .../frontend/src/pages/admin/overview.pie.vue | 1 - .../src/pages/admin/overview.queue.chart.vue | 1 - .../src/pages/admin/overview.queue.vue | 1 - .../src/pages/admin/overview.retention.vue | 1 - .../src/pages/admin/overview.stats.vue | 1 - .../src/pages/admin/overview.users.vue | 1 - .../frontend/src/pages/admin/overview.vue | 1 - .../src/pages/admin/proxy-account.vue | 1 - .../src/pages/admin/queue.chart.chart.vue | 1 - .../frontend/src/pages/admin/queue.chart.vue | 1 - packages/frontend/src/pages/admin/queue.vue | 1 - packages/frontend/src/pages/admin/relays.vue | 1 - .../frontend/src/pages/admin/roles.edit.vue | 1 - .../frontend/src/pages/admin/roles.editor.vue | 1 - .../frontend/src/pages/admin/roles.role.vue | 1 - packages/frontend/src/pages/admin/roles.vue | 3 +- .../frontend/src/pages/admin/security.vue | 1 - .../frontend/src/pages/admin/server-rules.vue | 1 - .../frontend/src/pages/admin/settings.vue | 1 - packages/frontend/src/pages/admin/users.vue | 1 - packages/frontend/src/pages/ads.vue | 1 - packages/frontend/src/pages/announcements.vue | 1 - .../frontend/src/pages/antenna-timeline.vue | 1 - packages/frontend/src/pages/api-console.vue | 1 - packages/frontend/src/pages/auth.form.vue | 1 - packages/frontend/src/pages/auth.vue | 1 - .../frontend/src/pages/channel-editor.vue | 1 - packages/frontend/src/pages/channel.vue | 1 - packages/frontend/src/pages/channels.vue | 1 - packages/frontend/src/pages/clicker.vue | 1 - packages/frontend/src/pages/clip.vue | 1 - .../src/pages/custom-emojis-manager.vue | 1 - packages/frontend/src/pages/drive.vue | 1 - .../frontend/src/pages/emoji-edit-dialog.vue | 1 - packages/frontend/src/pages/emojis.emoji.vue | 1 - .../frontend/src/pages/explore.featured.vue | 1 - packages/frontend/src/pages/explore.roles.vue | 1 - packages/frontend/src/pages/explore.users.vue | 1 - packages/frontend/src/pages/explore.vue | 1 - packages/frontend/src/pages/favorites.vue | 1 - .../frontend/src/pages/flash/flash-edit.vue | 1 - .../frontend/src/pages/flash/flash-index.vue | 1 - packages/frontend/src/pages/flash/flash.vue | 1 - .../frontend/src/pages/follow-requests.vue | 1 - packages/frontend/src/pages/follow.vue | 1 - packages/frontend/src/pages/gallery/edit.vue | 1 - packages/frontend/src/pages/gallery/index.vue | 1 - packages/frontend/src/pages/gallery/post.vue | 1 - packages/frontend/src/pages/instance-info.vue | 1 - packages/frontend/src/pages/invite.vue | 1 - packages/frontend/src/pages/list.vue | 1 - packages/frontend/src/pages/miauth.vue | 1 - .../frontend/src/pages/my-antennas/create.vue | 1 - .../frontend/src/pages/my-antennas/edit.vue | 1 - .../frontend/src/pages/my-antennas/editor.vue | 1 - .../frontend/src/pages/my-antennas/index.vue | 1 - .../frontend/src/pages/my-clips/index.vue | 1 - .../frontend/src/pages/my-lists/index.vue | 1 - packages/frontend/src/pages/my-lists/list.vue | 1 - packages/frontend/src/pages/not-found.vue | 1 - packages/frontend/src/pages/note.vue | 1 - packages/frontend/src/pages/notifications.vue | 1 - .../page-editor/els/page-editor.el.image.vue | 1 - .../page-editor/els/page-editor.el.note.vue | 1 - .../els/page-editor.el.section.vue | 1 - .../page-editor/els/page-editor.el.text.vue | 1 - .../pages/page-editor/page-editor.blocks.vue | 1 - .../page-editor/page-editor.container.vue | 1 - .../src/pages/page-editor/page-editor.vue | 1 - packages/frontend/src/pages/page.vue | 1 - packages/frontend/src/pages/pages.vue | 1 - packages/frontend/src/pages/registry.keys.vue | 1 - .../frontend/src/pages/registry.value.vue | 1 - packages/frontend/src/pages/registry.vue | 1 - .../frontend/src/pages/reset-password.vue | 1 - packages/frontend/src/pages/role.vue | 1 - packages/frontend/src/pages/scratchpad.vue | 1 - packages/frontend/src/pages/search.note.vue | 1 - packages/frontend/src/pages/search.user.vue | 1 - packages/frontend/src/pages/search.vue | 1 - .../src/pages/settings/2fa.qrdialog.vue | 1 - packages/frontend/src/pages/settings/2fa.vue | 1 - .../frontend/src/pages/settings/accounts.vue | 1 - packages/frontend/src/pages/settings/api.vue | 1 - packages/frontend/src/pages/settings/apps.vue | 1 - .../src/pages/settings/custom-css.vue | 1 - packages/frontend/src/pages/settings/deck.vue | 1 - .../src/pages/settings/drive-cleaner.vue | 1 - .../frontend/src/pages/settings/drive.vue | 1 - .../frontend/src/pages/settings/email.vue | 1 - .../frontend/src/pages/settings/general.vue | 1 - .../src/pages/settings/import-export.vue | 1 - .../frontend/src/pages/settings/index.vue | 1 - .../src/pages/settings/instance-mute.vue | 1 - .../frontend/src/pages/settings/migration.vue | 1 - .../src/pages/settings/mute-block.vue | 1 - .../frontend/src/pages/settings/navbar.vue | 1 - .../src/pages/settings/notifications.vue | 1 - .../frontend/src/pages/settings/other.vue | 1 - .../src/pages/settings/plugin.install.vue | 1 - .../frontend/src/pages/settings/plugin.vue | 1 - .../pages/settings/preferences-backups.vue | 1 - .../frontend/src/pages/settings/privacy.vue | 1 - .../frontend/src/pages/settings/profile.vue | 1 - .../frontend/src/pages/settings/reaction.vue | 1 - .../frontend/src/pages/settings/roles.vue | 1 - .../frontend/src/pages/settings/security.vue | 1 - .../src/pages/settings/sounds.sound.vue | 1 - .../frontend/src/pages/settings/sounds.vue | 1 - .../pages/settings/statusbar.statusbar.vue | 1 - .../frontend/src/pages/settings/statusbar.vue | 1 - .../src/pages/settings/theme.install.vue | 1 - .../src/pages/settings/theme.manage.vue | 1 - .../frontend/src/pages/settings/theme.vue | 1 - .../src/pages/settings/webhook.edit.vue | 1 - .../src/pages/settings/webhook.new.vue | 1 - .../frontend/src/pages/settings/webhook.vue | 1 - .../frontend/src/pages/settings/word-mute.vue | 1 - packages/frontend/src/pages/share.vue | 1 - .../frontend/src/pages/signup-complete.vue | 1 - packages/frontend/src/pages/tag.vue | 1 - packages/frontend/src/pages/theme-editor.vue | 1 - .../frontend/src/pages/timeline.tutorial.vue | 1 - packages/frontend/src/pages/timeline.vue | 1 - packages/frontend/src/pages/user-info.vue | 1 - .../frontend/src/pages/user-list-timeline.vue | 1 - packages/frontend/src/pages/user-tag.vue | 1 - .../frontend/src/pages/user/achievements.vue | 1 - .../src/pages/user/activity.following.vue | 1 - .../src/pages/user/activity.heatmap.vue | 1 - .../src/pages/user/activity.notes.vue | 1 - .../frontend/src/pages/user/activity.pv.vue | 1 - packages/frontend/src/pages/user/activity.vue | 1 - packages/frontend/src/pages/user/clips.vue | 1 - .../frontend/src/pages/user/follow-list.vue | 1 - .../frontend/src/pages/user/followers.vue | 1 - .../frontend/src/pages/user/following.vue | 1 - packages/frontend/src/pages/user/gallery.vue | 1 - .../src/pages/user/home.stories.impl.ts | 7 +- packages/frontend/src/pages/user/home.vue | 1 - .../src/pages/user/index.activity.vue | 1 - .../frontend/src/pages/user/index.photos.vue | 1 - .../src/pages/user/index.timeline.vue | 1 - packages/frontend/src/pages/user/index.vue | 1 - packages/frontend/src/pages/user/lists.vue | 1 - packages/frontend/src/pages/user/pages.vue | 1 - .../frontend/src/pages/user/reactions.vue | 1 - .../frontend/src/pages/welcome.entrance.a.vue | 1 - packages/frontend/src/pages/welcome.setup.vue | 1 - .../frontend/src/pages/welcome.timeline.vue | 1 - packages/frontend/src/pages/welcome.vue | 1 - packages/frontend/src/pizzax.ts | 7 +- packages/frontend/src/plugin.ts | 7 +- packages/frontend/src/router.ts | 7 +- packages/frontend/src/scripts/2fa.ts | 7 +- packages/frontend/src/scripts/achievements.ts | 7 +- packages/frontend/src/scripts/aiscript/api.ts | 7 +- packages/frontend/src/scripts/aiscript/ui.ts | 7 +- packages/frontend/src/scripts/api.ts | 7 +- packages/frontend/src/scripts/array.ts | 7 +- packages/frontend/src/scripts/autocomplete.ts | 7 +- packages/frontend/src/scripts/cache.ts | 9 +- packages/frontend/src/scripts/chart-legend.ts | 7 +- packages/frontend/src/scripts/chart-vline.ts | 7 +- .../frontend/src/scripts/check-word-mute.ts | 7 +- packages/frontend/src/scripts/clicker-game.ts | 7 +- packages/frontend/src/scripts/clone.ts | 7 +- packages/frontend/src/scripts/collapsed.ts | 7 +- .../frontend/src/scripts/collect-page-vars.ts | 7 +- packages/frontend/src/scripts/color.ts | 7 +- packages/frontend/src/scripts/confetti.ts | 7 +- packages/frontend/src/scripts/contains.ts | 7 +- .../frontend/src/scripts/copy-to-clipboard.ts | 7 +- packages/frontend/src/scripts/device-kind.ts | 7 +- packages/frontend/src/scripts/emoji-base.ts | 7 +- packages/frontend/src/scripts/emojilist.ts | 7 +- .../extract-avg-color-from-blurhash.ts | 15 +- .../frontend/src/scripts/extract-mentions.ts | 7 +- .../src/scripts/extract-url-from-mfm.ts | 7 +- packages/frontend/src/scripts/focus.ts | 7 +- packages/frontend/src/scripts/form.ts | 7 +- .../src/scripts/format-time-string.ts | 7 +- .../frontend/src/scripts/gen-search-query.ts | 7 +- .../src/scripts/get-account-from-id.ts | 7 +- .../src/scripts/get-drive-file-menu.ts | 9 +- .../frontend/src/scripts/get-note-menu.ts | 7 +- .../frontend/src/scripts/get-note-summary.ts | 7 +- .../frontend/src/scripts/get-user-menu.ts | 7 +- .../frontend/src/scripts/get-user-name.ts | 7 +- packages/frontend/src/scripts/hotkey.ts | 7 +- packages/frontend/src/scripts/i18n.ts | 7 +- packages/frontend/src/scripts/idb-proxy.ts | 7 +- packages/frontend/src/scripts/idle-render.ts | 7 +- packages/frontend/src/scripts/init-chart.ts | 7 +- .../frontend/src/scripts/initialize-sw.ts | 9 +- packages/frontend/src/scripts/intl-const.ts | 19 +-- .../src/scripts/is-device-darkmode.ts | 7 +- .../frontend/src/scripts/isFfVisibleForMe.ts | 7 +- packages/frontend/src/scripts/keycode.ts | 7 +- packages/frontend/src/scripts/langmap.ts | 7 +- packages/frontend/src/scripts/login-id.ts | 7 +- packages/frontend/src/scripts/lookup-user.ts | 7 +- packages/frontend/src/scripts/lookup.ts | 7 +- packages/frontend/src/scripts/media-proxy.ts | 9 +- packages/frontend/src/scripts/mfm-tags.ts | 7 +- .../frontend/src/scripts/page-metadata.ts | 7 +- packages/frontend/src/scripts/physics.ts | 7 +- packages/frontend/src/scripts/please-login.ts | 7 +- packages/frontend/src/scripts/popout.ts | 9 +- .../frontend/src/scripts/popup-position.ts | 7 +- .../frontend/src/scripts/reaction-picker.ts | 7 +- .../frontend/src/scripts/safe-uri-decode.ts | 7 +- packages/frontend/src/scripts/scroll.ts | 7 +- packages/frontend/src/scripts/select-file.ts | 7 +- .../frontend/src/scripts/show-moved-dialog.ts | 7 +- .../src/scripts/show-suspended-dialog.ts | 7 +- packages/frontend/src/scripts/shuffle.ts | 7 +- packages/frontend/src/scripts/sound.ts | 25 ++-- .../frontend/src/scripts/sticky-sidebar.ts | 7 +- packages/frontend/src/scripts/test-utils.ts | 7 +- packages/frontend/src/scripts/theme-editor.ts | 9 +- packages/frontend/src/scripts/theme.ts | 7 +- packages/frontend/src/scripts/time.ts | 7 +- packages/frontend/src/scripts/timezones.ts | 7 +- packages/frontend/src/scripts/touch.ts | 7 +- .../frontend/src/scripts/unison-reload.ts | 7 +- packages/frontend/src/scripts/upload.ts | 7 +- .../src/scripts/upload/compress-config.ts | 7 +- .../src/scripts/upload/isWebpSupported.ts | 7 +- packages/frontend/src/scripts/url.ts | 7 +- .../frontend/src/scripts/use-chart-tooltip.ts | 7 +- .../src/scripts/use-document-visibility.ts | 7 +- packages/frontend/src/scripts/use-interval.ts | 7 +- .../frontend/src/scripts/use-leave-guard.ts | 7 +- .../frontend/src/scripts/use-note-capture.ts | 7 +- packages/frontend/src/scripts/use-tooltip.ts | 7 +- .../src/scripts/worker-multi-dispatch.ts | 129 +++++++++--------- packages/frontend/src/store.ts | 7 +- packages/frontend/src/stream.ts | 7 +- packages/frontend/src/theme-store.ts | 7 +- .../frontend/src/types/date-separated-list.ts | 7 +- packages/frontend/src/types/menu.ts | 7 +- packages/frontend/src/ui/_common_/common.ts | 7 +- packages/frontend/src/ui/_common_/common.vue | 1 - .../src/ui/_common_/navbar-for-mobile.vue | 1 - packages/frontend/src/ui/_common_/navbar.vue | 1 - .../frontend/src/ui/_common_/notification.vue | 1 - .../src/ui/_common_/statusbar-federation.vue | 1 - .../src/ui/_common_/statusbar-rss.vue | 1 - .../src/ui/_common_/statusbar-user-list.vue | 1 - .../frontend/src/ui/_common_/statusbars.vue | 1 - .../src/ui/_common_/stream-indicator.vue | 1 - .../frontend/src/ui/_common_/sw-inject.ts | 7 +- packages/frontend/src/ui/_common_/upload.vue | 1 - packages/frontend/src/ui/classic.header.vue | 1 - packages/frontend/src/ui/classic.sidebar.vue | 1 - packages/frontend/src/ui/classic.vue | 1 - packages/frontend/src/ui/deck.vue | 1 - .../frontend/src/ui/deck/antenna-column.vue | 1 - .../frontend/src/ui/deck/channel-column.vue | 1 - packages/frontend/src/ui/deck/column.vue | 1 - packages/frontend/src/ui/deck/deck-store.ts | 7 +- .../frontend/src/ui/deck/direct-column.vue | 1 - packages/frontend/src/ui/deck/list-column.vue | 1 - packages/frontend/src/ui/deck/main-column.vue | 1 - .../frontend/src/ui/deck/mentions-column.vue | 1 - .../src/ui/deck/notifications-column.vue | 1 - .../src/ui/deck/role-timeline-column.vue | 1 - packages/frontend/src/ui/deck/tl-column.vue | 1 - .../frontend/src/ui/deck/widgets-column.vue | 1 - packages/frontend/src/ui/minimum.vue | 1 - packages/frontend/src/ui/universal.vue | 1 - .../frontend/src/ui/universal.widgets.vue | 1 - packages/frontend/src/ui/visitor.vue | 1 - packages/frontend/src/ui/zen.vue | 1 - .../src/widgets/WidgetActivity.calendar.vue | 1 - .../src/widgets/WidgetActivity.chart.vue | 1 - .../frontend/src/widgets/WidgetActivity.vue | 1 - .../frontend/src/widgets/WidgetAichan.vue | 1 - .../frontend/src/widgets/WidgetAiscript.vue | 1 - .../src/widgets/WidgetAiscriptApp.vue | 1 - .../frontend/src/widgets/WidgetButton.vue | 1 - .../frontend/src/widgets/WidgetCalendar.vue | 1 - .../frontend/src/widgets/WidgetClicker.vue | 1 - packages/frontend/src/widgets/WidgetClock.vue | 1 - .../src/widgets/WidgetDigitalClock.vue | 1 - .../frontend/src/widgets/WidgetFederation.vue | 1 - .../src/widgets/WidgetInstanceCloud.vue | 1 - .../src/widgets/WidgetInstanceInfo.vue | 1 - .../frontend/src/widgets/WidgetJobQueue.vue | 1 - packages/frontend/src/widgets/WidgetMemo.vue | 1 - .../src/widgets/WidgetNotifications.vue | 1 - .../src/widgets/WidgetOnlineUsers.vue | 1 - .../frontend/src/widgets/WidgetPhotos.vue | 1 - .../frontend/src/widgets/WidgetPostForm.vue | 1 - .../frontend/src/widgets/WidgetProfile.vue | 1 - packages/frontend/src/widgets/WidgetRss.vue | 1 - .../frontend/src/widgets/WidgetRssTicker.vue | 1 - .../frontend/src/widgets/WidgetSlideshow.vue | 1 - .../frontend/src/widgets/WidgetTimeline.vue | 1 - .../frontend/src/widgets/WidgetTrends.vue | 1 - .../frontend/src/widgets/WidgetUnixClock.vue | 1 - .../frontend/src/widgets/WidgetUserList.vue | 1 - packages/frontend/src/widgets/index.ts | 7 +- .../src/widgets/server-metric/cpu-mem.vue | 1 - .../src/widgets/server-metric/cpu.vue | 1 - .../src/widgets/server-metric/disk.vue | 1 - .../src/widgets/server-metric/index.vue | 1 - .../src/widgets/server-metric/mem.vue | 1 - .../src/widgets/server-metric/net.vue | 1 - .../src/widgets/server-metric/pie.vue | 1 - packages/frontend/src/widgets/widget.ts | 7 +- .../frontend/src/workers/draw-blurhash.ts | 27 ++-- packages/frontend/src/workers/test-webgl2.ts | 13 +- packages/frontend/test/home.test.ts | 7 +- packages/frontend/test/init.ts | 7 +- packages/frontend/test/note.test.ts | 7 +- packages/frontend/test/url-preview.test.ts | 7 +- packages/sw/build.js | 7 +- packages/sw/src/@types/global.d.ts | 7 +- .../sw/src/scripts/create-notification.ts | 7 +- .../sw/src/scripts/get-account-from-id.ts | 7 +- packages/sw/src/scripts/get-user-name.ts | 7 +- packages/sw/src/scripts/i18n.ts | 7 +- packages/sw/src/scripts/lang.ts | 7 +- packages/sw/src/scripts/login-id.ts | 7 +- packages/sw/src/scripts/operations.ts | 7 +- packages/sw/src/scripts/twemoji-base.ts | 7 +- packages/sw/src/sw.ts | 9 +- packages/sw/src/types.ts | 7 +- scripts/build-pre.js | 7 +- scripts/clean-all.js | 7 +- scripts/clean.js | 7 +- scripts/dev.mjs | 7 +- 1642 files changed, 5046 insertions(+), 4270 deletions(-) diff --git a/healthcheck.sh b/healthcheck.sh index 6129454063..0a36394836 100644 --- a/healthcheck.sh +++ b/healthcheck.sh @@ -1,7 +1,6 @@ #!/bin/bash # SPDX-FileCopyrightText: syuilo and other misskey contributors -# # SPDX-License-Identifier: AGPL-3.0-only PORT=$(grep '^port:' /misskey/.config/default.yml | awk 'NR==1{print $2; exit}') diff --git a/packages/backend/check_connect.js b/packages/backend/check_connect.js index 28f0c07f20..ea988a7f69 100644 --- a/packages/backend/check_connect.js +++ b/packages/backend/check_connect.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import Redis from 'ioredis'; import { loadConfig } from './built/config.js'; diff --git a/packages/backend/migration/1000000000000-Init.js b/packages/backend/migration/1000000000000-Init.js index adfb888caf..6f04b52ae1 100644 --- a/packages/backend/migration/1000000000000-Init.js +++ b/packages/backend/migration/1000000000000-Init.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class Init1000000000000 { async up(queryRunner) { diff --git a/packages/backend/migration/1556348509290-Pages.js b/packages/backend/migration/1556348509290-Pages.js index df09e01736..05d801227b 100644 --- a/packages/backend/migration/1556348509290-Pages.js +++ b/packages/backend/migration/1556348509290-Pages.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class Pages1556348509290 { async up(queryRunner) { diff --git a/packages/backend/migration/1556746559567-UserProfile.js b/packages/backend/migration/1556746559567-UserProfile.js index 4cb66e2100..7cc1ba0083 100644 --- a/packages/backend/migration/1556746559567-UserProfile.js +++ b/packages/backend/migration/1556746559567-UserProfile.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class UserProfile1556746559567 { async up(queryRunner) { diff --git a/packages/backend/migration/1557476068003-PinnedUsers.js b/packages/backend/migration/1557476068003-PinnedUsers.js index 0840c6d2a7..12f0b8fc6a 100644 --- a/packages/backend/migration/1557476068003-PinnedUsers.js +++ b/packages/backend/migration/1557476068003-PinnedUsers.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class PinnedUsers1557476068003 { async up(queryRunner) { diff --git a/packages/backend/migration/1557761316509-AddSomeUrls.js b/packages/backend/migration/1557761316509-AddSomeUrls.js index f93b155efb..244f64f8ef 100644 --- a/packages/backend/migration/1557761316509-AddSomeUrls.js +++ b/packages/backend/migration/1557761316509-AddSomeUrls.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class AddSomeUrls1557761316509 { async up(queryRunner) { diff --git a/packages/backend/migration/1557932705754-ObjectStorageSetting.js b/packages/backend/migration/1557932705754-ObjectStorageSetting.js index 7b9f05b4de..736dcafaac 100644 --- a/packages/backend/migration/1557932705754-ObjectStorageSetting.js +++ b/packages/backend/migration/1557932705754-ObjectStorageSetting.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class ObjectStorageSetting1557932705754 { async up(queryRunner) { diff --git a/packages/backend/migration/1558072954435-PageLike.js b/packages/backend/migration/1558072954435-PageLike.js index 8ba054e681..d9502a6e03 100644 --- a/packages/backend/migration/1558072954435-PageLike.js +++ b/packages/backend/migration/1558072954435-PageLike.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class PageLike1558072954435 { async up(queryRunner) { diff --git a/packages/backend/migration/1558103093633-UserGroup.js b/packages/backend/migration/1558103093633-UserGroup.js index 2453accf02..b3cc6eb949 100644 --- a/packages/backend/migration/1558103093633-UserGroup.js +++ b/packages/backend/migration/1558103093633-UserGroup.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class UserGroup1558103093633 { async up(queryRunner) { diff --git a/packages/backend/migration/1558257926829-UserGroupInvite.js b/packages/backend/migration/1558257926829-UserGroupInvite.js index f57bdf837a..a87173cdfe 100644 --- a/packages/backend/migration/1558257926829-UserGroupInvite.js +++ b/packages/backend/migration/1558257926829-UserGroupInvite.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class UserGroupInvite1558257926829 { async up(queryRunner) { diff --git a/packages/backend/migration/1558266512381-UserListJoining.js b/packages/backend/migration/1558266512381-UserListJoining.js index fb895533cc..bc94b7f425 100644 --- a/packages/backend/migration/1558266512381-UserListJoining.js +++ b/packages/backend/migration/1558266512381-UserListJoining.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class UserListJoining1558266512381 { async up(queryRunner) { diff --git a/packages/backend/migration/1561706992953-webauthn.js b/packages/backend/migration/1561706992953-webauthn.js index febb46d80c..fa9b1188ca 100644 --- a/packages/backend/migration/1561706992953-webauthn.js +++ b/packages/backend/migration/1561706992953-webauthn.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class webauthn1561706992953 { async up(queryRunner) { diff --git a/packages/backend/migration/1561873850023-ChartIndexes.js b/packages/backend/migration/1561873850023-ChartIndexes.js index 453219e35e..c7e93ba7b7 100644 --- a/packages/backend/migration/1561873850023-ChartIndexes.js +++ b/packages/backend/migration/1561873850023-ChartIndexes.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class ChartIndexes1561873850023 { async up(queryRunner) { diff --git a/packages/backend/migration/1562422242907-PasswordLessLogin.js b/packages/backend/migration/1562422242907-PasswordLessLogin.js index b133a87347..3df3a6f5f5 100644 --- a/packages/backend/migration/1562422242907-PasswordLessLogin.js +++ b/packages/backend/migration/1562422242907-PasswordLessLogin.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class PasswordLessLogin1562422242907 { async up(queryRunner) { diff --git a/packages/backend/migration/1562444565093-PinnedPage.js b/packages/backend/migration/1562444565093-PinnedPage.js index 6a1f46607b..329d49bbed 100644 --- a/packages/backend/migration/1562444565093-PinnedPage.js +++ b/packages/backend/migration/1562444565093-PinnedPage.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class PinnedPage1562444565093 { async up(queryRunner) { diff --git a/packages/backend/migration/1562448332510-PageTitleHideOption.js b/packages/backend/migration/1562448332510-PageTitleHideOption.js index 8076a76130..e41db08090 100644 --- a/packages/backend/migration/1562448332510-PageTitleHideOption.js +++ b/packages/backend/migration/1562448332510-PageTitleHideOption.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class PageTitleHideOption1562448332510 { async up(queryRunner) { diff --git a/packages/backend/migration/1562869971568-ModerationLog.js b/packages/backend/migration/1562869971568-ModerationLog.js index 5dfa5c9ed4..2eb3015d5c 100644 --- a/packages/backend/migration/1562869971568-ModerationLog.js +++ b/packages/backend/migration/1562869971568-ModerationLog.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class ModerationLog1562869971568 { async up(queryRunner) { diff --git a/packages/backend/migration/1563757595828-UsedUsername.js b/packages/backend/migration/1563757595828-UsedUsername.js index 56c690973a..91d9d36b9d 100644 --- a/packages/backend/migration/1563757595828-UsedUsername.js +++ b/packages/backend/migration/1563757595828-UsedUsername.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class UsedUsername1563757595828 { async up(queryRunner) { diff --git a/packages/backend/migration/1565634203341-room.js b/packages/backend/migration/1565634203341-room.js index 7e012e403b..c2e5fca863 100644 --- a/packages/backend/migration/1565634203341-room.js +++ b/packages/backend/migration/1565634203341-room.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class room1565634203341 { async up(queryRunner) { diff --git a/packages/backend/migration/1571220798684-CustomEmojiCategory.js b/packages/backend/migration/1571220798684-CustomEmojiCategory.js index c8d37fc9db..f211af67be 100644 --- a/packages/backend/migration/1571220798684-CustomEmojiCategory.js +++ b/packages/backend/migration/1571220798684-CustomEmojiCategory.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class CustomEmojiCategory1571220798684 { async up(queryRunner) { diff --git a/packages/backend/migration/1572760203493-nodeinfo.js b/packages/backend/migration/1572760203493-nodeinfo.js index 1760dfab13..c281b0b2db 100644 --- a/packages/backend/migration/1572760203493-nodeinfo.js +++ b/packages/backend/migration/1572760203493-nodeinfo.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class nodeinfo1572760203493 { async up(queryRunner) { diff --git a/packages/backend/migration/1576269851876-TalkFederationId.js b/packages/backend/migration/1576269851876-TalkFederationId.js index 006f8c16ad..045f9ddb04 100644 --- a/packages/backend/migration/1576269851876-TalkFederationId.js +++ b/packages/backend/migration/1576269851876-TalkFederationId.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class TalkFederationId1576269851876 { constructor() { diff --git a/packages/backend/migration/1576869585998-ProxyRemoteFiles.js b/packages/backend/migration/1576869585998-ProxyRemoteFiles.js index a7bb09f189..0dde1ae70c 100644 --- a/packages/backend/migration/1576869585998-ProxyRemoteFiles.js +++ b/packages/backend/migration/1576869585998-ProxyRemoteFiles.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class ProxyRemoteFiles1576869585998 { constructor() { diff --git a/packages/backend/migration/1579267006611-v12.js b/packages/backend/migration/1579267006611-v12.js index 9e7c65efdb..86f9da7e7a 100644 --- a/packages/backend/migration/1579267006611-v12.js +++ b/packages/backend/migration/1579267006611-v12.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class v121579267006611 { constructor() { diff --git a/packages/backend/migration/1579270193251-v12-2.js b/packages/backend/migration/1579270193251-v12-2.js index a07e6f52c7..2593aca573 100644 --- a/packages/backend/migration/1579270193251-v12-2.js +++ b/packages/backend/migration/1579270193251-v12-2.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class v1221579270193251 { constructor() { diff --git a/packages/backend/migration/1579282808087-v12-3.js b/packages/backend/migration/1579282808087-v12-3.js index 2814e462d3..a816b2e82e 100644 --- a/packages/backend/migration/1579282808087-v12-3.js +++ b/packages/backend/migration/1579282808087-v12-3.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class v1231579282808087 { constructor() { diff --git a/packages/backend/migration/1579544426412-v12-4.js b/packages/backend/migration/1579544426412-v12-4.js index d64dc3c3ea..600dc270a5 100644 --- a/packages/backend/migration/1579544426412-v12-4.js +++ b/packages/backend/migration/1579544426412-v12-4.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class v1241579544426412 { constructor() { diff --git a/packages/backend/migration/1579977526288-v12-5.js b/packages/backend/migration/1579977526288-v12-5.js index 6686167ca3..73f3343347 100644 --- a/packages/backend/migration/1579977526288-v12-5.js +++ b/packages/backend/migration/1579977526288-v12-5.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class v1251579977526288 { constructor() { diff --git a/packages/backend/migration/1579993013959-v12-6.js b/packages/backend/migration/1579993013959-v12-6.js index 377648e46e..5009e0aa88 100644 --- a/packages/backend/migration/1579993013959-v12-6.js +++ b/packages/backend/migration/1579993013959-v12-6.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class v1261579993013959 { constructor() { diff --git a/packages/backend/migration/1580069531114-v12-7.js b/packages/backend/migration/1580069531114-v12-7.js index 20cdbb28db..ff943ffa6b 100644 --- a/packages/backend/migration/1580069531114-v12-7.js +++ b/packages/backend/migration/1580069531114-v12-7.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class v1271580069531114 { constructor() { diff --git a/packages/backend/migration/1580148575182-v12-8.js b/packages/backend/migration/1580148575182-v12-8.js index 3e0c05cb9b..20b77b391f 100644 --- a/packages/backend/migration/1580148575182-v12-8.js +++ b/packages/backend/migration/1580148575182-v12-8.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class v1281580148575182 { constructor() { diff --git a/packages/backend/migration/1580154400017-v12-9.js b/packages/backend/migration/1580154400017-v12-9.js index 17ea3e1f5c..f78dc47456 100644 --- a/packages/backend/migration/1580154400017-v12-9.js +++ b/packages/backend/migration/1580154400017-v12-9.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class v1291580154400017 { constructor() { diff --git a/packages/backend/migration/1580276619901-v12-10.js b/packages/backend/migration/1580276619901-v12-10.js index 19be371ca1..09fa27ae83 100644 --- a/packages/backend/migration/1580276619901-v12-10.js +++ b/packages/backend/migration/1580276619901-v12-10.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class v12101580276619901 { constructor() { diff --git a/packages/backend/migration/1580331224276-v12-11.js b/packages/backend/migration/1580331224276-v12-11.js index 3c0099f843..f118c34937 100644 --- a/packages/backend/migration/1580331224276-v12-11.js +++ b/packages/backend/migration/1580331224276-v12-11.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class v12111580331224276 { constructor() { diff --git a/packages/backend/migration/1580508795118-v12-12.js b/packages/backend/migration/1580508795118-v12-12.js index 2979ea4009..4fba933a08 100644 --- a/packages/backend/migration/1580508795118-v12-12.js +++ b/packages/backend/migration/1580508795118-v12-12.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class v12121580508795118 { constructor() { diff --git a/packages/backend/migration/1580543501339-v12-13.js b/packages/backend/migration/1580543501339-v12-13.js index aed1db946e..9344516309 100644 --- a/packages/backend/migration/1580543501339-v12-13.js +++ b/packages/backend/migration/1580543501339-v12-13.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class v12131580543501339 { constructor() { diff --git a/packages/backend/migration/1580864313253-v12-14.js b/packages/backend/migration/1580864313253-v12-14.js index 42f4b6b73d..5034492a70 100644 --- a/packages/backend/migration/1580864313253-v12-14.js +++ b/packages/backend/migration/1580864313253-v12-14.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class v12141580864313253 { constructor() { diff --git a/packages/backend/migration/1581526429287-user-group-invitation.js b/packages/backend/migration/1581526429287-user-group-invitation.js index 3bf26f3779..fc81813807 100644 --- a/packages/backend/migration/1581526429287-user-group-invitation.js +++ b/packages/backend/migration/1581526429287-user-group-invitation.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class userGroupInvitation1581526429287 { constructor() { diff --git a/packages/backend/migration/1581695816408-user-group-antenna.js b/packages/backend/migration/1581695816408-user-group-antenna.js index 53482a1edb..8a212c092a 100644 --- a/packages/backend/migration/1581695816408-user-group-antenna.js +++ b/packages/backend/migration/1581695816408-user-group-antenna.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class userGroupAntenna1581695816408 { constructor() { diff --git a/packages/backend/migration/1581708415836-drive-user-folder-id-index.js b/packages/backend/migration/1581708415836-drive-user-folder-id-index.js index 4bdc6e48ab..6594078db8 100644 --- a/packages/backend/migration/1581708415836-drive-user-folder-id-index.js +++ b/packages/backend/migration/1581708415836-drive-user-folder-id-index.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class driveUserFolderIdIndex1581708415836 { constructor() { diff --git a/packages/backend/migration/1581979837262-promo.js b/packages/backend/migration/1581979837262-promo.js index 4481411259..585564a400 100644 --- a/packages/backend/migration/1581979837262-promo.js +++ b/packages/backend/migration/1581979837262-promo.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class promo1581979837262 { constructor() { diff --git a/packages/backend/migration/1582019042083-featured-injecttion.js b/packages/backend/migration/1582019042083-featured-injecttion.js index 1d2b7cccb3..d270006277 100644 --- a/packages/backend/migration/1582019042083-featured-injecttion.js +++ b/packages/backend/migration/1582019042083-featured-injecttion.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class featuredInjecttion1582019042083 { constructor() { diff --git a/packages/backend/migration/1582210532752-antenna-exclude.js b/packages/backend/migration/1582210532752-antenna-exclude.js index aee9ac2b85..12eee2364c 100644 --- a/packages/backend/migration/1582210532752-antenna-exclude.js +++ b/packages/backend/migration/1582210532752-antenna-exclude.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class antennaExclude1582210532752 { constructor() { diff --git a/packages/backend/migration/1582875306439-note-reaction-length.js b/packages/backend/migration/1582875306439-note-reaction-length.js index 0b04518325..a4413c9533 100644 --- a/packages/backend/migration/1582875306439-note-reaction-length.js +++ b/packages/backend/migration/1582875306439-note-reaction-length.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class noteReactionLength1582875306439 { constructor() { diff --git a/packages/backend/migration/1585361548360-miauth.js b/packages/backend/migration/1585361548360-miauth.js index 466151a3b8..d073fa3d26 100644 --- a/packages/backend/migration/1585361548360-miauth.js +++ b/packages/backend/migration/1585361548360-miauth.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class miauth1585361548360 { constructor() { diff --git a/packages/backend/migration/1585385921215-custom-notification.js b/packages/backend/migration/1585385921215-custom-notification.js index 5c4a6eaf3d..a3336e0eca 100644 --- a/packages/backend/migration/1585385921215-custom-notification.js +++ b/packages/backend/migration/1585385921215-custom-notification.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class customNotification1585385921215 { constructor() { diff --git a/packages/backend/migration/1585772678853-ap-url.js b/packages/backend/migration/1585772678853-ap-url.js index e04d50d52f..f67f5a4542 100644 --- a/packages/backend/migration/1585772678853-ap-url.js +++ b/packages/backend/migration/1585772678853-ap-url.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class apUrl1585772678853 { constructor() { diff --git a/packages/backend/migration/1586624197029-AddObjectStorageUseProxy.js b/packages/backend/migration/1586624197029-AddObjectStorageUseProxy.js index c31ab183ad..16f7599b80 100644 --- a/packages/backend/migration/1586624197029-AddObjectStorageUseProxy.js +++ b/packages/backend/migration/1586624197029-AddObjectStorageUseProxy.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class AddObjectStorageUseProxy1586624197029 { constructor() { diff --git a/packages/backend/migration/1586641139527-remote-reaction.js b/packages/backend/migration/1586641139527-remote-reaction.js index 7e6610f04e..666bb42ca6 100644 --- a/packages/backend/migration/1586641139527-remote-reaction.js +++ b/packages/backend/migration/1586641139527-remote-reaction.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class remoteReaction1586641139527 { constructor() { diff --git a/packages/backend/migration/1586708940386-pageAiScript.js b/packages/backend/migration/1586708940386-pageAiScript.js index 080b93b0aa..3d0d0ab915 100644 --- a/packages/backend/migration/1586708940386-pageAiScript.js +++ b/packages/backend/migration/1586708940386-pageAiScript.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class pageAiScript1586708940386 { constructor() { diff --git a/packages/backend/migration/1588044505511-hCaptcha.js b/packages/backend/migration/1588044505511-hCaptcha.js index 711aedcf8e..22cc6672c5 100644 --- a/packages/backend/migration/1588044505511-hCaptcha.js +++ b/packages/backend/migration/1588044505511-hCaptcha.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class hCaptcha1588044505511 { constructor() { diff --git a/packages/backend/migration/1589023282116-pubRelay.js b/packages/backend/migration/1589023282116-pubRelay.js index 85c9d3d240..ed010699e1 100644 --- a/packages/backend/migration/1589023282116-pubRelay.js +++ b/packages/backend/migration/1589023282116-pubRelay.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class pubRelay1589023282116 { constructor() { diff --git a/packages/backend/migration/1595075960584-blurhash.js b/packages/backend/migration/1595075960584-blurhash.js index d0ac37028e..967676531f 100644 --- a/packages/backend/migration/1595075960584-blurhash.js +++ b/packages/backend/migration/1595075960584-blurhash.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class blurhash1595075960584 { constructor() { diff --git a/packages/backend/migration/1595077605646-blurhash-for-avatar-banner.js b/packages/backend/migration/1595077605646-blurhash-for-avatar-banner.js index c6c240bb5a..7df079ac05 100644 --- a/packages/backend/migration/1595077605646-blurhash-for-avatar-banner.js +++ b/packages/backend/migration/1595077605646-blurhash-for-avatar-banner.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class blurhashForAvatarBanner1595077605646 { constructor() { diff --git a/packages/backend/migration/1595676934834-instance-icon-url.js b/packages/backend/migration/1595676934834-instance-icon-url.js index 41317534ee..6bccff082b 100644 --- a/packages/backend/migration/1595676934834-instance-icon-url.js +++ b/packages/backend/migration/1595676934834-instance-icon-url.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class instanceIconUrl1595676934834 { constructor() { diff --git a/packages/backend/migration/1595771249699-word-mute.js b/packages/backend/migration/1595771249699-word-mute.js index 63bd4357d2..cfd0a5ccc1 100644 --- a/packages/backend/migration/1595771249699-word-mute.js +++ b/packages/backend/migration/1595771249699-word-mute.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class wordMute1595771249699 { constructor() { diff --git a/packages/backend/migration/1595782306083-word-mute2.js b/packages/backend/migration/1595782306083-word-mute2.js index 7f7f54ece7..64acf2b721 100644 --- a/packages/backend/migration/1595782306083-word-mute2.js +++ b/packages/backend/migration/1595782306083-word-mute2.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class wordMute21595782306083 { constructor() { diff --git a/packages/backend/migration/1596548170836-channel.js b/packages/backend/migration/1596548170836-channel.js index d1a4fdd1b0..a26991d4d8 100644 --- a/packages/backend/migration/1596548170836-channel.js +++ b/packages/backend/migration/1596548170836-channel.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class channel1596548170836 { constructor() { diff --git a/packages/backend/migration/1596786425167-channel2.js b/packages/backend/migration/1596786425167-channel2.js index d2e6b7f91e..4e87b11bb5 100644 --- a/packages/backend/migration/1596786425167-channel2.js +++ b/packages/backend/migration/1596786425167-channel2.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class channel21596786425167 { constructor() { diff --git a/packages/backend/migration/1597230137744-objectStorageSetPublicRead.js b/packages/backend/migration/1597230137744-objectStorageSetPublicRead.js index 51621433fb..93e6f186d5 100644 --- a/packages/backend/migration/1597230137744-objectStorageSetPublicRead.js +++ b/packages/backend/migration/1597230137744-objectStorageSetPublicRead.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class objectStorageSetPublicRead1597230137744 { constructor() { diff --git a/packages/backend/migration/1597236229720-IncludingNotificationTypes.js b/packages/backend/migration/1597236229720-IncludingNotificationTypes.js index 696ccf9b05..bda702d999 100644 --- a/packages/backend/migration/1597236229720-IncludingNotificationTypes.js +++ b/packages/backend/migration/1597236229720-IncludingNotificationTypes.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class IncludingNotificationTypes1597236229720 { constructor() { diff --git a/packages/backend/migration/1597385880794-add-sensitive-index.js b/packages/backend/migration/1597385880794-add-sensitive-index.js index 6223b179a2..ffb94895d7 100644 --- a/packages/backend/migration/1597385880794-add-sensitive-index.js +++ b/packages/backend/migration/1597385880794-add-sensitive-index.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class addSensitiveIndex1597385880794 { constructor() { diff --git a/packages/backend/migration/1597459042300-channel-unread.js b/packages/backend/migration/1597459042300-channel-unread.js index 8cd0666255..5b94d8296a 100644 --- a/packages/backend/migration/1597459042300-channel-unread.js +++ b/packages/backend/migration/1597459042300-channel-unread.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class channelUnread1597459042300 { constructor() { diff --git a/packages/backend/migration/1597893996136-ChannelNoteIdDescIndex.js b/packages/backend/migration/1597893996136-ChannelNoteIdDescIndex.js index 3c1d845d98..543e511404 100644 --- a/packages/backend/migration/1597893996136-ChannelNoteIdDescIndex.js +++ b/packages/backend/migration/1597893996136-ChannelNoteIdDescIndex.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class ChannelNoteIdDescIndex1597893996136 { constructor() { diff --git a/packages/backend/migration/1600353287890-mutingNotificationTypes.js b/packages/backend/migration/1600353287890-mutingNotificationTypes.js index 76a49bf336..4e0b8ad6eb 100644 --- a/packages/backend/migration/1600353287890-mutingNotificationTypes.js +++ b/packages/backend/migration/1600353287890-mutingNotificationTypes.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class mutingNotificationTypes1600353287890 { constructor() { diff --git a/packages/backend/migration/1603094348345-refine-abuse-user-report.js b/packages/backend/migration/1603094348345-refine-abuse-user-report.js index 46226a4fb7..4e052e07c2 100644 --- a/packages/backend/migration/1603094348345-refine-abuse-user-report.js +++ b/packages/backend/migration/1603094348345-refine-abuse-user-report.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class refineAbuseUserReport1603094348345 { constructor() { diff --git a/packages/backend/migration/1603095701770-refine-abuse-user-report2.js b/packages/backend/migration/1603095701770-refine-abuse-user-report2.js index 9b074b9d50..2eb205c6e0 100644 --- a/packages/backend/migration/1603095701770-refine-abuse-user-report2.js +++ b/packages/backend/migration/1603095701770-refine-abuse-user-report2.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class refineAbuseUserReport21603095701770 { constructor() { diff --git a/packages/backend/migration/1603776877564-instance-theme-color.js b/packages/backend/migration/1603776877564-instance-theme-color.js index 3748922a41..5f83bc14e6 100644 --- a/packages/backend/migration/1603776877564-instance-theme-color.js +++ b/packages/backend/migration/1603776877564-instance-theme-color.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class instanceThemeColor1603776877564 { constructor() { diff --git a/packages/backend/migration/1603781553011-instance-favicon.js b/packages/backend/migration/1603781553011-instance-favicon.js index 83dfa736f4..758b86408f 100644 --- a/packages/backend/migration/1603781553011-instance-favicon.js +++ b/packages/backend/migration/1603781553011-instance-favicon.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class instanceFavicon1603781553011 { constructor() { diff --git a/packages/backend/migration/1604821689616-delete-auto-watch.js b/packages/backend/migration/1604821689616-delete-auto-watch.js index 88dc4143dd..917ef5b10c 100644 --- a/packages/backend/migration/1604821689616-delete-auto-watch.js +++ b/packages/backend/migration/1604821689616-delete-auto-watch.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class deleteAutoWatch1604821689616 { constructor() { diff --git a/packages/backend/migration/1605408848373-clip-description.js b/packages/backend/migration/1605408848373-clip-description.js index 1bf439510a..fedc603b3c 100644 --- a/packages/backend/migration/1605408848373-clip-description.js +++ b/packages/backend/migration/1605408848373-clip-description.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class clipDescription1605408848373 { constructor() { diff --git a/packages/backend/migration/1605408971051-comments.js b/packages/backend/migration/1605408971051-comments.js index cb035e11b7..8ab16859d2 100644 --- a/packages/backend/migration/1605408971051-comments.js +++ b/packages/backend/migration/1605408971051-comments.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class comments1605408971051 { constructor() { diff --git a/packages/backend/migration/1605585339718-instance-pinned-pages.js b/packages/backend/migration/1605585339718-instance-pinned-pages.js index f26d90efa6..e6f3c2a785 100644 --- a/packages/backend/migration/1605585339718-instance-pinned-pages.js +++ b/packages/backend/migration/1605585339718-instance-pinned-pages.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class instancePinnedPages1605585339718 { constructor() { diff --git a/packages/backend/migration/1605965516823-instance-images.js b/packages/backend/migration/1605965516823-instance-images.js index 0c98e3d8ea..848b53f1ba 100644 --- a/packages/backend/migration/1605965516823-instance-images.js +++ b/packages/backend/migration/1605965516823-instance-images.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class instanceImages1605965516823 { constructor() { diff --git a/packages/backend/migration/1606191203881-no-crawle.js b/packages/backend/migration/1606191203881-no-crawle.js index bc03e92d54..5c878f5a24 100644 --- a/packages/backend/migration/1606191203881-no-crawle.js +++ b/packages/backend/migration/1606191203881-no-crawle.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class noCrawle1606191203881 { constructor() { diff --git a/packages/backend/migration/1607151207216-instance-pinned-clip.js b/packages/backend/migration/1607151207216-instance-pinned-clip.js index 6a7b9cbaf2..67db39fede 100644 --- a/packages/backend/migration/1607151207216-instance-pinned-clip.js +++ b/packages/backend/migration/1607151207216-instance-pinned-clip.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class instancePinnedClip1607151207216 { constructor() { diff --git a/packages/backend/migration/1607353487793-isExplorable.js b/packages/backend/migration/1607353487793-isExplorable.js index cb2d66e6a0..95ee07e917 100644 --- a/packages/backend/migration/1607353487793-isExplorable.js +++ b/packages/backend/migration/1607353487793-isExplorable.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class isExplorable1607353487793 { constructor() { diff --git a/packages/backend/migration/1610277136869-registry.js b/packages/backend/migration/1610277136869-registry.js index b320958bc7..c5fe2c5a62 100644 --- a/packages/backend/migration/1610277136869-registry.js +++ b/packages/backend/migration/1610277136869-registry.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class registry1610277136869 { constructor() { diff --git a/packages/backend/migration/1610277585759-registry2.js b/packages/backend/migration/1610277585759-registry2.js index 0488005f6f..f734a235b0 100644 --- a/packages/backend/migration/1610277585759-registry2.js +++ b/packages/backend/migration/1610277585759-registry2.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class registry21610277585759 { constructor() { diff --git a/packages/backend/migration/1610283021566-registry3.js b/packages/backend/migration/1610283021566-registry3.js index 0b409bbe8e..c94546c732 100644 --- a/packages/backend/migration/1610283021566-registry3.js +++ b/packages/backend/migration/1610283021566-registry3.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class registry31610283021566 { constructor() { diff --git a/packages/backend/migration/1611354329133-followersUri.js b/packages/backend/migration/1611354329133-followersUri.js index 77e1fcc7c9..7e5f8c3093 100644 --- a/packages/backend/migration/1611354329133-followersUri.js +++ b/packages/backend/migration/1611354329133-followersUri.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class followersUri1611354329133 { constructor() { diff --git a/packages/backend/migration/1611397665007-gallery.js b/packages/backend/migration/1611397665007-gallery.js index 75756d2d25..cd5c39cc10 100644 --- a/packages/backend/migration/1611397665007-gallery.js +++ b/packages/backend/migration/1611397665007-gallery.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class gallery1611397665007 { constructor() { diff --git a/packages/backend/migration/1611547387175-objectStorageS3ForcePathStyle.js b/packages/backend/migration/1611547387175-objectStorageS3ForcePathStyle.js index 090d3c66a8..c0b1da1e53 100644 --- a/packages/backend/migration/1611547387175-objectStorageS3ForcePathStyle.js +++ b/packages/backend/migration/1611547387175-objectStorageS3ForcePathStyle.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class objectStorageS3ForcePathStyle1611547387175 { constructor() { diff --git a/packages/backend/migration/1612619156584-announcement-email.js b/packages/backend/migration/1612619156584-announcement-email.js index 6d3f4ec5d4..f8277725f7 100644 --- a/packages/backend/migration/1612619156584-announcement-email.js +++ b/packages/backend/migration/1612619156584-announcement-email.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class announcementEmail1612619156584 { constructor() { diff --git a/packages/backend/migration/1613155914446-emailNotificationTypes.js b/packages/backend/migration/1613155914446-emailNotificationTypes.js index deec603ea0..3afe491e48 100644 --- a/packages/backend/migration/1613155914446-emailNotificationTypes.js +++ b/packages/backend/migration/1613155914446-emailNotificationTypes.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class emailNotificationTypes1613155914446 { constructor() { diff --git a/packages/backend/migration/1613181457597-user-lang.js b/packages/backend/migration/1613181457597-user-lang.js index f316266fef..33e363477f 100644 --- a/packages/backend/migration/1613181457597-user-lang.js +++ b/packages/backend/migration/1613181457597-user-lang.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class userLang1613181457597 { constructor() { diff --git a/packages/backend/migration/1613503367223-use-bigint-for-driveUsage.js b/packages/backend/migration/1613503367223-use-bigint-for-driveUsage.js index 89fa8a85c3..9c75c0ae54 100644 --- a/packages/backend/migration/1613503367223-use-bigint-for-driveUsage.js +++ b/packages/backend/migration/1613503367223-use-bigint-for-driveUsage.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class useBigintForDriveUsage1613503367223 { constructor() { diff --git a/packages/backend/migration/1615965918224-chart-v2.js b/packages/backend/migration/1615965918224-chart-v2.js index 2a8fb3eaed..2c0cacd1d9 100644 --- a/packages/backend/migration/1615965918224-chart-v2.js +++ b/packages/backend/migration/1615965918224-chart-v2.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class chartV21615965918224 { constructor() { diff --git a/packages/backend/migration/1615966519402-chart-v2-2.js b/packages/backend/migration/1615966519402-chart-v2-2.js index 579cb0106a..8d6ebf6a81 100644 --- a/packages/backend/migration/1615966519402-chart-v2-2.js +++ b/packages/backend/migration/1615966519402-chart-v2-2.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class chartV221615966519402 { constructor() { diff --git a/packages/backend/migration/1618637372000-user-last-active-date.js b/packages/backend/migration/1618637372000-user-last-active-date.js index 2b0c593ca8..8b4652898d 100644 --- a/packages/backend/migration/1618637372000-user-last-active-date.js +++ b/packages/backend/migration/1618637372000-user-last-active-date.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class userLastActiveDate1618637372000 { constructor() { diff --git a/packages/backend/migration/1618639857000-user-hide-online-status.js b/packages/backend/migration/1618639857000-user-hide-online-status.js index cc3b00ea42..1f19a7ebb4 100644 --- a/packages/backend/migration/1618639857000-user-hide-online-status.js +++ b/packages/backend/migration/1618639857000-user-hide-online-status.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class userHideOnlineStatus1618639857000 { constructor() { diff --git a/packages/backend/migration/1619942102890-password-reset.js b/packages/backend/migration/1619942102890-password-reset.js index e6c29d0f41..9898011774 100644 --- a/packages/backend/migration/1619942102890-password-reset.js +++ b/packages/backend/migration/1619942102890-password-reset.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class passwordReset1619942102890 { constructor() { diff --git a/packages/backend/migration/1620019354680-ad.js b/packages/backend/migration/1620019354680-ad.js index 33875b2bbc..1ae66d71f4 100644 --- a/packages/backend/migration/1620019354680-ad.js +++ b/packages/backend/migration/1620019354680-ad.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class ad1620019354680 { constructor() { diff --git a/packages/backend/migration/1620364649428-ad2.js b/packages/backend/migration/1620364649428-ad2.js index e0b68cbe3f..b9b26be076 100644 --- a/packages/backend/migration/1620364649428-ad2.js +++ b/packages/backend/migration/1620364649428-ad2.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class ad21620364649428 { constructor() { diff --git a/packages/backend/migration/1621479946000-add-note-indexes.js b/packages/backend/migration/1621479946000-add-note-indexes.js index 265daf439b..299c1f6c02 100644 --- a/packages/backend/migration/1621479946000-add-note-indexes.js +++ b/packages/backend/migration/1621479946000-add-note-indexes.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class addNoteIndexes1621479946000 { constructor() { diff --git a/packages/backend/migration/1622679304522-user-profile-description-length.js b/packages/backend/migration/1622679304522-user-profile-description-length.js index 8d44c42d24..988456fe7d 100644 --- a/packages/backend/migration/1622679304522-user-profile-description-length.js +++ b/packages/backend/migration/1622679304522-user-profile-description-length.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class userProfileDescriptionLength1622679304522 { constructor() { diff --git a/packages/backend/migration/1622681548499-log-message-length.js b/packages/backend/migration/1622681548499-log-message-length.js index 9b160c53f2..e1fa22c88b 100644 --- a/packages/backend/migration/1622681548499-log-message-length.js +++ b/packages/backend/migration/1622681548499-log-message-length.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class logMessageLength1622681548499 { constructor() { diff --git a/packages/backend/migration/1626509500668-fix-remote-file-proxy.js b/packages/backend/migration/1626509500668-fix-remote-file-proxy.js index fbc17acb25..906e49cabb 100644 --- a/packages/backend/migration/1626509500668-fix-remote-file-proxy.js +++ b/packages/backend/migration/1626509500668-fix-remote-file-proxy.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class fixRemoteFileProxy1626509500668 { constructor() { diff --git a/packages/backend/migration/1629004542760-chart-reindex.js b/packages/backend/migration/1629004542760-chart-reindex.js index e4868317d3..f1d08ecfe4 100644 --- a/packages/backend/migration/1629004542760-chart-reindex.js +++ b/packages/backend/migration/1629004542760-chart-reindex.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class chartReindex1629004542760 { constructor() { diff --git a/packages/backend/migration/1629024377804-deepl-integration.js b/packages/backend/migration/1629024377804-deepl-integration.js index 6f3dcd220a..465f1bcca9 100644 --- a/packages/backend/migration/1629024377804-deepl-integration.js +++ b/packages/backend/migration/1629024377804-deepl-integration.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class deeplIntegration1629024377804 { constructor() { diff --git a/packages/backend/migration/1629288472000-fix-channel-userId.js b/packages/backend/migration/1629288472000-fix-channel-userId.js index a2e17ad9de..9f946ad550 100644 --- a/packages/backend/migration/1629288472000-fix-channel-userId.js +++ b/packages/backend/migration/1629288472000-fix-channel-userId.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class fixChannelUserId1629288472000 { constructor() { diff --git a/packages/backend/migration/1629512953000-user-is-deleted.js b/packages/backend/migration/1629512953000-user-is-deleted.js index ce014c4e00..78bbd8bbee 100644 --- a/packages/backend/migration/1629512953000-user-is-deleted.js +++ b/packages/backend/migration/1629512953000-user-is-deleted.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class isUserDeleted1629512953000 { constructor() { diff --git a/packages/backend/migration/1629778475000-deepl-integration2.js b/packages/backend/migration/1629778475000-deepl-integration2.js index 4712b69523..b719dcf57f 100644 --- a/packages/backend/migration/1629778475000-deepl-integration2.js +++ b/packages/backend/migration/1629778475000-deepl-integration2.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class deeplIntegration21629778475000 { constructor() { diff --git a/packages/backend/migration/1629833361000-AddShowTLReplies.js b/packages/backend/migration/1629833361000-AddShowTLReplies.js index 2aea404d00..00aef6aeb8 100644 --- a/packages/backend/migration/1629833361000-AddShowTLReplies.js +++ b/packages/backend/migration/1629833361000-AddShowTLReplies.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class addShowTLReplies1629833361000 { constructor() { diff --git a/packages/backend/migration/1629968054000_userInstanceBlocks.js b/packages/backend/migration/1629968054000_userInstanceBlocks.js index a7ce475cd6..e8168e372e 100644 --- a/packages/backend/migration/1629968054000_userInstanceBlocks.js +++ b/packages/backend/migration/1629968054000_userInstanceBlocks.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class userInstanceBlocks1629968054000 { constructor() { diff --git a/packages/backend/migration/1633068642000-email-required-for-signup.js b/packages/backend/migration/1633068642000-email-required-for-signup.js index 82566a5a51..230227d364 100644 --- a/packages/backend/migration/1633068642000-email-required-for-signup.js +++ b/packages/backend/migration/1633068642000-email-required-for-signup.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class emailRequiredForSignup1633068642000 { constructor() { diff --git a/packages/backend/migration/1633071909016-user-pending.js b/packages/backend/migration/1633071909016-user-pending.js index 7e72551fab..f0d037967f 100644 --- a/packages/backend/migration/1633071909016-user-pending.js +++ b/packages/backend/migration/1633071909016-user-pending.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class userPending1633071909016 { constructor() { diff --git a/packages/backend/migration/1634486652000-user-public-reactions.js b/packages/backend/migration/1634486652000-user-public-reactions.js index b8770a7fc4..09870c79c6 100644 --- a/packages/backend/migration/1634486652000-user-public-reactions.js +++ b/packages/backend/migration/1634486652000-user-public-reactions.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class userPublicReactions1634486652000 { constructor() { diff --git a/packages/backend/migration/1634902659689-delete-log.js b/packages/backend/migration/1634902659689-delete-log.js index b4c0a41680..e4e625536b 100644 --- a/packages/backend/migration/1634902659689-delete-log.js +++ b/packages/backend/migration/1634902659689-delete-log.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class deleteLog1634902659689 { constructor() { diff --git a/packages/backend/migration/1635500777168-note-thread-mute.js b/packages/backend/migration/1635500777168-note-thread-mute.js index f0d897edf2..9f376c4795 100644 --- a/packages/backend/migration/1635500777168-note-thread-mute.js +++ b/packages/backend/migration/1635500777168-note-thread-mute.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class noteThreadMute1635500777168 { constructor() { diff --git a/packages/backend/migration/1636197624383-ff-visibility.js b/packages/backend/migration/1636197624383-ff-visibility.js index 57aaacd5c6..aa089d42ac 100644 --- a/packages/backend/migration/1636197624383-ff-visibility.js +++ b/packages/backend/migration/1636197624383-ff-visibility.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class ffVisibility1636197624383 { constructor() { diff --git a/packages/backend/migration/1636697408073-remove-via-mobile.js b/packages/backend/migration/1636697408073-remove-via-mobile.js index 7ac6ee207a..c014ceb921 100644 --- a/packages/backend/migration/1636697408073-remove-via-mobile.js +++ b/packages/backend/migration/1636697408073-remove-via-mobile.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class removeViaMobile1636697408073 { name = 'removeViaMobile1636697408073' diff --git a/packages/backend/migration/1637320813000-forwarded-report.js b/packages/backend/migration/1637320813000-forwarded-report.js index 8ff1fe6bda..0d1f48beb4 100644 --- a/packages/backend/migration/1637320813000-forwarded-report.js +++ b/packages/backend/migration/1637320813000-forwarded-report.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class forwardedReport1637320813000 { name = 'forwardedReport1637320813000'; diff --git a/packages/backend/migration/1639325650583-chart-v3.js b/packages/backend/migration/1639325650583-chart-v3.js index 407ec5ada9..e6209e2b70 100644 --- a/packages/backend/migration/1639325650583-chart-v3.js +++ b/packages/backend/migration/1639325650583-chart-v3.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class chartV31639325650583 { name = 'chartV31639325650583' diff --git a/packages/backend/migration/1642611822809-emoji-url.js b/packages/backend/migration/1642611822809-emoji-url.js index 7252fc886c..212fc957ad 100644 --- a/packages/backend/migration/1642611822809-emoji-url.js +++ b/packages/backend/migration/1642611822809-emoji-url.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class emojiUrl1642611822809 { name = 'emojiUrl1642611822809' diff --git a/packages/backend/migration/1642613870898-drive-file-webpublic-type.js b/packages/backend/migration/1642613870898-drive-file-webpublic-type.js index 6cdf149e6c..e50770fff3 100644 --- a/packages/backend/migration/1642613870898-drive-file-webpublic-type.js +++ b/packages/backend/migration/1642613870898-drive-file-webpublic-type.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class driveFileWebpublicType1642613870898 { name = 'driveFileWebpublicType1642613870898' diff --git a/packages/backend/migration/1643963705770-chart-v4.js b/packages/backend/migration/1643963705770-chart-v4.js index 86605909cc..af0bd18e58 100644 --- a/packages/backend/migration/1643963705770-chart-v4.js +++ b/packages/backend/migration/1643963705770-chart-v4.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class chartV41643963705770 { name = 'chartV41643963705770' diff --git a/packages/backend/migration/1643966656277-chart-v5.js b/packages/backend/migration/1643966656277-chart-v5.js index 3adaa55515..b3389a6539 100644 --- a/packages/backend/migration/1643966656277-chart-v5.js +++ b/packages/backend/migration/1643966656277-chart-v5.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class chartV51643966656277 { name = 'chartV51643966656277' diff --git a/packages/backend/migration/1643967331284-chart-v6.js b/packages/backend/migration/1643967331284-chart-v6.js index ea0a101233..1197bdd717 100644 --- a/packages/backend/migration/1643967331284-chart-v6.js +++ b/packages/backend/migration/1643967331284-chart-v6.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class chartV61643967331284 { name = 'chartV61643967331284' diff --git a/packages/backend/migration/1644010796173-convert-hard-mutes.js b/packages/backend/migration/1644010796173-convert-hard-mutes.js index 54dad92907..1a5316ac05 100644 --- a/packages/backend/migration/1644010796173-convert-hard-mutes.js +++ b/packages/backend/migration/1644010796173-convert-hard-mutes.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import RE2 from 're2'; diff --git a/packages/backend/migration/1644058404077-chart-v7.js b/packages/backend/migration/1644058404077-chart-v7.js index 94cf082a37..a850d5f48f 100644 --- a/packages/backend/migration/1644058404077-chart-v7.js +++ b/packages/backend/migration/1644058404077-chart-v7.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class chartV71644058404077 { name = 'chartV71644058404077' diff --git a/packages/backend/migration/1644059847460-chart-v8.js b/packages/backend/migration/1644059847460-chart-v8.js index cf731fcfd6..2e20159ba9 100644 --- a/packages/backend/migration/1644059847460-chart-v8.js +++ b/packages/backend/migration/1644059847460-chart-v8.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class chartV81644059847460 { name = 'chartV81644059847460' @@ -16,9 +17,9 @@ export class chartV81644059847460 { await queryRunner.query(`ALTER TABLE "__chart_day__active_users" ALTER COLUMN "___local_users" TYPE integer USING "___local_users"::integer`); await queryRunner.query(`ALTER TABLE "__chart_day__active_users" ALTER COLUMN "___remote_users" TYPE integer USING "___remote_users"::integer`); } - + async down(queryRunner) { - + await queryRunner.query(`ALTER TABLE "__chart__active_users" ALTER COLUMN "___local_users" TYPE bigint USING "___local_users"::bigint`); await queryRunner.query(`ALTER TABLE "__chart__active_users" ALTER COLUMN "___remote_users" TYPE bigint USING "___remote_users"::bigint`); await queryRunner.query(`ALTER TABLE "__chart_day__active_users" ALTER COLUMN "___local_users" TYPE bigint USING "___local_users"::bigint`); diff --git a/packages/backend/migration/1644060125705-chart-v9.js b/packages/backend/migration/1644060125705-chart-v9.js index 58b6940a51..d1d9469ea2 100644 --- a/packages/backend/migration/1644060125705-chart-v9.js +++ b/packages/backend/migration/1644060125705-chart-v9.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class chartV91644060125705 { name = 'chartV91644060125705' @@ -16,9 +17,9 @@ export class chartV91644060125705 { await queryRunner.query(`ALTER TABLE "__chart_day__hashtag" ALTER COLUMN "___local_users" TYPE integer USING "___local_users"::integer`); await queryRunner.query(`ALTER TABLE "__chart_day__hashtag" ALTER COLUMN "___remote_users" TYPE integer USING "___remote_users"::integer`); } - + async down(queryRunner) { - + await queryRunner.query(`ALTER TABLE "__chart__hashtag" ALTER COLUMN "___local_users" TYPE bigint USING "___local_users"::bigint`); await queryRunner.query(`ALTER TABLE "__chart__hashtag" ALTER COLUMN "___remote_users" TYPE bigint USING "___remote_users"::bigint`); await queryRunner.query(`ALTER TABLE "__chart_day__hashtag" ALTER COLUMN "___local_users" TYPE bigint USING "___local_users"::bigint`); diff --git a/packages/backend/migration/1644073149413-chart-v10.js b/packages/backend/migration/1644073149413-chart-v10.js index b6ce6dbe77..466ae59837 100644 --- a/packages/backend/migration/1644073149413-chart-v10.js +++ b/packages/backend/migration/1644073149413-chart-v10.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class chartV101644073149413 { name = 'chartV101644073149413' diff --git a/packages/backend/migration/1644095659741-chart-v11.js b/packages/backend/migration/1644095659741-chart-v11.js index 44f2fadfdd..5c98e25d86 100644 --- a/packages/backend/migration/1644095659741-chart-v11.js +++ b/packages/backend/migration/1644095659741-chart-v11.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class chartV111644095659741 { name = 'chartV111644095659741' diff --git a/packages/backend/migration/1644328606241-chart-v12.js b/packages/backend/migration/1644328606241-chart-v12.js index aaff29c72f..2a7272fd22 100644 --- a/packages/backend/migration/1644328606241-chart-v12.js +++ b/packages/backend/migration/1644328606241-chart-v12.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class chartV121644328606241 { name = 'chartV121644328606241' diff --git a/packages/backend/migration/1644331238153-chart-v13.js b/packages/backend/migration/1644331238153-chart-v13.js index ab68280e35..7e33b0a8e9 100644 --- a/packages/backend/migration/1644331238153-chart-v13.js +++ b/packages/backend/migration/1644331238153-chart-v13.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class chartV131644331238153 { name = 'chartV131644331238153' diff --git a/packages/backend/migration/1644344266289-chart-v14.js b/packages/backend/migration/1644344266289-chart-v14.js index 674a008ddc..2050d54591 100644 --- a/packages/backend/migration/1644344266289-chart-v14.js +++ b/packages/backend/migration/1644344266289-chart-v14.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class chartV141644344266289 { name = 'chartV141644344266289' diff --git a/packages/backend/migration/1644395759931-instance-theme-color.js b/packages/backend/migration/1644395759931-instance-theme-color.js index 7b2c2611e9..ac842e4fe5 100644 --- a/packages/backend/migration/1644395759931-instance-theme-color.js +++ b/packages/backend/migration/1644395759931-instance-theme-color.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class instanceThemeColor1644395759931 { name = 'instanceThemeColor1644395759931' diff --git a/packages/backend/migration/1644481657998-chart-v15.js b/packages/backend/migration/1644481657998-chart-v15.js index dda91627f3..ad5589df8b 100644 --- a/packages/backend/migration/1644481657998-chart-v15.js +++ b/packages/backend/migration/1644481657998-chart-v15.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class chartV151644481657998 { name = 'chartV151644481657998' diff --git a/packages/backend/migration/1644551208096-following-indexes.js b/packages/backend/migration/1644551208096-following-indexes.js index bad437ecb5..795b8e900e 100644 --- a/packages/backend/migration/1644551208096-following-indexes.js +++ b/packages/backend/migration/1644551208096-following-indexes.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class followingIndexes1644551208096 { name = 'followingIndexes1644551208096' diff --git a/packages/backend/migration/1645340161439-remove-max-note-text-length.js b/packages/backend/migration/1645340161439-remove-max-note-text-length.js index af69d17c2e..84eaeddfa4 100644 --- a/packages/backend/migration/1645340161439-remove-max-note-text-length.js +++ b/packages/backend/migration/1645340161439-remove-max-note-text-length.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class removeMaxNoteTextLength1645340161439 { name = 'removeMaxNoteTextLength1645340161439' diff --git a/packages/backend/migration/1645599900873-federation-chart-pubsub.js b/packages/backend/migration/1645599900873-federation-chart-pubsub.js index d647af328a..4f9f501cca 100644 --- a/packages/backend/migration/1645599900873-federation-chart-pubsub.js +++ b/packages/backend/migration/1645599900873-federation-chart-pubsub.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class federationChartPubsub1645599900873 { name = 'federationChartPubsub1645599900873' diff --git a/packages/backend/migration/1646143552768-instance-default-theme.js b/packages/backend/migration/1646143552768-instance-default-theme.js index 6fd39cde2d..3532916304 100644 --- a/packages/backend/migration/1646143552768-instance-default-theme.js +++ b/packages/backend/migration/1646143552768-instance-default-theme.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class instanceDefaultTheme1646143552768 { name = 'instanceDefaultTheme1646143552768' diff --git a/packages/backend/migration/1646387162108-mute-expires-at.js b/packages/backend/migration/1646387162108-mute-expires-at.js index f8a7bdd859..868f5c87ef 100644 --- a/packages/backend/migration/1646387162108-mute-expires-at.js +++ b/packages/backend/migration/1646387162108-mute-expires-at.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class muteExpiresAt1646387162108 { name = 'muteExpiresAt1646387162108' diff --git a/packages/backend/migration/1646549089451-poll-ended-notification.js b/packages/backend/migration/1646549089451-poll-ended-notification.js index 4fc8fe2758..fa7327ff9c 100644 --- a/packages/backend/migration/1646549089451-poll-ended-notification.js +++ b/packages/backend/migration/1646549089451-poll-ended-notification.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class pollEndedNotification1646549089451 { name = 'pollEndedNotification1646549089451' diff --git a/packages/backend/migration/1646633030285-chart-federation-active.js b/packages/backend/migration/1646633030285-chart-federation-active.js index 6cf3cb1c77..b9863746ad 100644 --- a/packages/backend/migration/1646633030285-chart-federation-active.js +++ b/packages/backend/migration/1646633030285-chart-federation-active.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class chartFederationActive1646633030285 { name = 'chartFederationActive1646633030285' diff --git a/packages/backend/migration/1646655454495-remove-instance-drive-columns.js b/packages/backend/migration/1646655454495-remove-instance-drive-columns.js index cd6840fe6d..8fd96ed4c6 100644 --- a/packages/backend/migration/1646655454495-remove-instance-drive-columns.js +++ b/packages/backend/migration/1646655454495-remove-instance-drive-columns.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class removeInstanceDriveColumns1646655454495 { name = 'removeInstanceDriveColumns1646655454495' diff --git a/packages/backend/migration/1646732390560-chart-federation-active-sub-pub.js b/packages/backend/migration/1646732390560-chart-federation-active-sub-pub.js index ae8e9e5995..1b28d012ae 100644 --- a/packages/backend/migration/1646732390560-chart-federation-active-sub-pub.js +++ b/packages/backend/migration/1646732390560-chart-federation-active-sub-pub.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class chartFederationActiveSubPub1646732390560 { name = 'chartFederationActiveSubPub1646732390560' diff --git a/packages/backend/migration/1648548247382-webhook.js b/packages/backend/migration/1648548247382-webhook.js index 62bad0dab5..fc2a691918 100644 --- a/packages/backend/migration/1648548247382-webhook.js +++ b/packages/backend/migration/1648548247382-webhook.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class webhook1648548247382 { name = 'webhook1648548247382' diff --git a/packages/backend/migration/1648816172177-webhook-2.js b/packages/backend/migration/1648816172177-webhook-2.js index 33ba098317..a7bccff82d 100644 --- a/packages/backend/migration/1648816172177-webhook-2.js +++ b/packages/backend/migration/1648816172177-webhook-2.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class webhook21648816172177 { name = 'webhook21648816172177' diff --git a/packages/backend/migration/1651224615271-foreign-key.js b/packages/backend/migration/1651224615271-foreign-key.js index 57f2029d5e..12e4646329 100644 --- a/packages/backend/migration/1651224615271-foreign-key.js +++ b/packages/backend/migration/1651224615271-foreign-key.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class foreignKeyReports1651224615271 { name = 'foreignKeyReports1651224615271' diff --git a/packages/backend/migration/1652859567549-uniform-themecolor.js b/packages/backend/migration/1652859567549-uniform-themecolor.js index 7ea6deb8c6..422e63dfec 100644 --- a/packages/backend/migration/1652859567549-uniform-themecolor.js +++ b/packages/backend/migration/1652859567549-uniform-themecolor.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import tinycolor from 'tinycolor2'; diff --git a/packages/backend/migration/1655368940105-nsfw-detection.js b/packages/backend/migration/1655368940105-nsfw-detection.js index 34535ccc56..ad37ff6f83 100644 --- a/packages/backend/migration/1655368940105-nsfw-detection.js +++ b/packages/backend/migration/1655368940105-nsfw-detection.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class nsfwDetection1655368940105 { name = 'nsfwDetection1655368940105' diff --git a/packages/backend/migration/1655371960534-nsfw-detection-2.js b/packages/backend/migration/1655371960534-nsfw-detection-2.js index 79e834ddff..e6cc266178 100644 --- a/packages/backend/migration/1655371960534-nsfw-detection-2.js +++ b/packages/backend/migration/1655371960534-nsfw-detection-2.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class nsfwDetection21655371960534 { name = 'nsfwDetection21655371960534' diff --git a/packages/backend/migration/1655388169582-nsfw-detection-3.js b/packages/backend/migration/1655388169582-nsfw-detection-3.js index 295cd1a968..40362cc20c 100644 --- a/packages/backend/migration/1655388169582-nsfw-detection-3.js +++ b/packages/backend/migration/1655388169582-nsfw-detection-3.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class nsfwDetection31655388169582 { name = 'nsfwDetection31655388169582' diff --git a/packages/backend/migration/1655393015659-nsfw-detection-4.js b/packages/backend/migration/1655393015659-nsfw-detection-4.js index a155f626ca..d74fe9c929 100644 --- a/packages/backend/migration/1655393015659-nsfw-detection-4.js +++ b/packages/backend/migration/1655393015659-nsfw-detection-4.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class nsfwDetection41655393015659 { name = 'nsfwDetection41655393015659' diff --git a/packages/backend/migration/1655813815729-driveCapacityOverrideMb.js b/packages/backend/migration/1655813815729-driveCapacityOverrideMb.js index f8ef918f69..7e97f9dc74 100644 --- a/packages/backend/migration/1655813815729-driveCapacityOverrideMb.js +++ b/packages/backend/migration/1655813815729-driveCapacityOverrideMb.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class driveCapacityOverrideMb1655813815729 { name = 'driveCapacityOverrideMb1655813815729' diff --git a/packages/backend/migration/1655918165614-user-ip.js b/packages/backend/migration/1655918165614-user-ip.js index 7b9b34ad46..ccb3ceb49d 100644 --- a/packages/backend/migration/1655918165614-user-ip.js +++ b/packages/backend/migration/1655918165614-user-ip.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class userIp1655918165614 { name = 'userIp1655918165614' diff --git a/packages/backend/migration/1656122560740-file-ip.js b/packages/backend/migration/1656122560740-file-ip.js index 29bce948f9..dc02df0e68 100644 --- a/packages/backend/migration/1656122560740-file-ip.js +++ b/packages/backend/migration/1656122560740-file-ip.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class fileIp1656122560740 { name = 'fileIp1656122560740' diff --git a/packages/backend/migration/1656251734807-nsfw-detection-5.js b/packages/backend/migration/1656251734807-nsfw-detection-5.js index 1150434d44..06da9251b1 100644 --- a/packages/backend/migration/1656251734807-nsfw-detection-5.js +++ b/packages/backend/migration/1656251734807-nsfw-detection-5.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class nsfwDetection51656251734807 { name = 'nsfwDetection51656251734807' diff --git a/packages/backend/migration/1656328812281-ip-2.js b/packages/backend/migration/1656328812281-ip-2.js index d2f153b767..1b53e697de 100644 --- a/packages/backend/migration/1656328812281-ip-2.js +++ b/packages/backend/migration/1656328812281-ip-2.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class ip21656328812281 { name = 'ip21656328812281' diff --git a/packages/backend/migration/1656408772602-nsfw-detection-6.js b/packages/backend/migration/1656408772602-nsfw-detection-6.js index 7ca45b3196..0adc8bb793 100644 --- a/packages/backend/migration/1656408772602-nsfw-detection-6.js +++ b/packages/backend/migration/1656408772602-nsfw-detection-6.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class nsfwDetection61656408772602 { name = 'nsfwDetection61656408772602' diff --git a/packages/backend/migration/1656772790599-user-moderation-note.js b/packages/backend/migration/1656772790599-user-moderation-note.js index 1c8f86cb86..63a993851f 100644 --- a/packages/backend/migration/1656772790599-user-moderation-note.js +++ b/packages/backend/migration/1656772790599-user-moderation-note.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class userModerationNote1656772790599 { name = 'userModerationNote1656772790599' diff --git a/packages/backend/migration/1657346559800-active-email-validation.js b/packages/backend/migration/1657346559800-active-email-validation.js index a82732d746..44b1f3f4fa 100644 --- a/packages/backend/migration/1657346559800-active-email-validation.js +++ b/packages/backend/migration/1657346559800-active-email-validation.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class activeEmailValidation1657346559800 { name = 'activeEmailValidation1657346559800' diff --git a/packages/backend/migration/1664694635394-turnstile.js b/packages/backend/migration/1664694635394-turnstile.js index a484a31feb..3ec6da9136 100644 --- a/packages/backend/migration/1664694635394-turnstile.js +++ b/packages/backend/migration/1664694635394-turnstile.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class turnstile1664694635394 { name = 'turnstile1664694635394' diff --git a/packages/backend/migration/1665091090561-add-renote-muting.js b/packages/backend/migration/1665091090561-add-renote-muting.js index 4e2fb22b6e..575a63703c 100644 --- a/packages/backend/migration/1665091090561-add-renote-muting.js +++ b/packages/backend/migration/1665091090561-add-renote-muting.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class addRenoteMuting1665091090561 { constructor() { diff --git a/packages/backend/migration/1669138716634-whetherPushNotifyToSendReadMessage.js b/packages/backend/migration/1669138716634-whetherPushNotifyToSendReadMessage.js index 9d429f9b90..a317468ac9 100644 --- a/packages/backend/migration/1669138716634-whetherPushNotifyToSendReadMessage.js +++ b/packages/backend/migration/1669138716634-whetherPushNotifyToSendReadMessage.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class whetherPushNotifyToSendReadMessage1669138716634 { name = 'whetherPushNotifyToSendReadMessage1669138716634' diff --git a/packages/backend/migration/1671924750884-RetentionAggregation.js b/packages/backend/migration/1671924750884-RetentionAggregation.js index 274e991eba..5057bf1060 100644 --- a/packages/backend/migration/1671924750884-RetentionAggregation.js +++ b/packages/backend/migration/1671924750884-RetentionAggregation.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class RetentionAggregation1671924750884 { name = 'RetentionAggregation1671924750884' diff --git a/packages/backend/migration/1671926422832-RetentionAggregation2.js b/packages/backend/migration/1671926422832-RetentionAggregation2.js index a9c15cb6ce..665e24d721 100644 --- a/packages/backend/migration/1671926422832-RetentionAggregation2.js +++ b/packages/backend/migration/1671926422832-RetentionAggregation2.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class RetentionAggregation21671926422832 { name = 'RetentionAggregation21671926422832' diff --git a/packages/backend/migration/1672562400597-PerUserPvChart.js b/packages/backend/migration/1672562400597-PerUserPvChart.js index 4cc5a43fac..1fbe1eb14a 100644 --- a/packages/backend/migration/1672562400597-PerUserPvChart.js +++ b/packages/backend/migration/1672562400597-PerUserPvChart.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class PerUserPvChart1672562400597 { name = 'PerUserPvChart1672562400597' diff --git a/packages/backend/migration/1672703171386-remove-latestRequestSentAt.js b/packages/backend/migration/1672703171386-remove-latestRequestSentAt.js index 8e6dd9bc95..f053e5c20c 100644 --- a/packages/backend/migration/1672703171386-remove-latestRequestSentAt.js +++ b/packages/backend/migration/1672703171386-remove-latestRequestSentAt.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class removeLatestRequestSentAt1672703171386 { name = 'removeLatestRequestSentAt1672703171386' diff --git a/packages/backend/migration/1672704017999-remove-lastCommunicatedAt.js b/packages/backend/migration/1672704017999-remove-lastCommunicatedAt.js index 3ed771b80b..b71f7e1306 100644 --- a/packages/backend/migration/1672704017999-remove-lastCommunicatedAt.js +++ b/packages/backend/migration/1672704017999-remove-lastCommunicatedAt.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class removeLastCommunicatedAt1672704017999 { name = 'removeLastCommunicatedAt1672704017999' diff --git a/packages/backend/migration/1672704136584-remove-latestStatus.js b/packages/backend/migration/1672704136584-remove-latestStatus.js index 36509bbac2..f08ed96a45 100644 --- a/packages/backend/migration/1672704136584-remove-latestStatus.js +++ b/packages/backend/migration/1672704136584-remove-latestStatus.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class removeLatestStatus1672704136584 { name = 'removeLatestStatus1672704136584' diff --git a/packages/backend/migration/1672822262496-Flash.js b/packages/backend/migration/1672822262496-Flash.js index 04fe3d966a..e45055b3cc 100644 --- a/packages/backend/migration/1672822262496-Flash.js +++ b/packages/backend/migration/1672822262496-Flash.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class Flash1672822262496 { name = 'Flash1672822262496' diff --git a/packages/backend/migration/1673336077243-PollChoiceLength.js b/packages/backend/migration/1673336077243-PollChoiceLength.js index 0560241e07..8c4a5007e4 100644 --- a/packages/backend/migration/1673336077243-PollChoiceLength.js +++ b/packages/backend/migration/1673336077243-PollChoiceLength.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class PollChoiceLength1673336077243 { name = 'PollChoiceLength1673336077243' diff --git a/packages/backend/migration/1673500412259-Role.js b/packages/backend/migration/1673500412259-Role.js index 048bc76f92..2bf6a7f4e8 100644 --- a/packages/backend/migration/1673500412259-Role.js +++ b/packages/backend/migration/1673500412259-Role.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class Role1673500412259 { name = 'Role1673500412259' diff --git a/packages/backend/migration/1673515526953-RoleColor.js b/packages/backend/migration/1673515526953-RoleColor.js index f39cd0972a..693dcfb0b6 100644 --- a/packages/backend/migration/1673515526953-RoleColor.js +++ b/packages/backend/migration/1673515526953-RoleColor.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class RoleColor1673515526953 { name = 'RoleColor1673515526953' diff --git a/packages/backend/migration/1673522856499-RoleIroiro.js b/packages/backend/migration/1673522856499-RoleIroiro.js index 3afdf08923..10a6eef162 100644 --- a/packages/backend/migration/1673522856499-RoleIroiro.js +++ b/packages/backend/migration/1673522856499-RoleIroiro.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class RoleIroiro1673522856499 { name = 'RoleIroiro1673522856499' diff --git a/packages/backend/migration/1673524604156-RoleLastUsedAt.js b/packages/backend/migration/1673524604156-RoleLastUsedAt.js index d85d810cf0..5bbd0c39ac 100644 --- a/packages/backend/migration/1673524604156-RoleLastUsedAt.js +++ b/packages/backend/migration/1673524604156-RoleLastUsedAt.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class RoleLastUsedAt1673524604156 { name = 'RoleLastUsedAt1673524604156' diff --git a/packages/backend/migration/1673570377815-RoleConditional.js b/packages/backend/migration/1673570377815-RoleConditional.js index 806f144c4c..d2b25d121e 100644 --- a/packages/backend/migration/1673570377815-RoleConditional.js +++ b/packages/backend/migration/1673570377815-RoleConditional.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class RoleConditional1673570377815 { name = 'RoleConditional1673570377815' diff --git a/packages/backend/migration/1673575973645-MetaClean.js b/packages/backend/migration/1673575973645-MetaClean.js index 31c673c8cd..7671785d94 100644 --- a/packages/backend/migration/1673575973645-MetaClean.js +++ b/packages/backend/migration/1673575973645-MetaClean.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class MetaClean1673575973645 { name = 'MetaClean1673575973645' diff --git a/packages/backend/migration/1673783015567-Policies.js b/packages/backend/migration/1673783015567-Policies.js index e216cc7fb5..4f76752c9f 100644 --- a/packages/backend/migration/1673783015567-Policies.js +++ b/packages/backend/migration/1673783015567-Policies.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class Policies1673783015567 { name = 'Policies1673783015567' diff --git a/packages/backend/migration/1673812883772-firstRetrievedAt.js b/packages/backend/migration/1673812883772-firstRetrievedAt.js index 82d93618f8..82990e30b6 100644 --- a/packages/backend/migration/1673812883772-firstRetrievedAt.js +++ b/packages/backend/migration/1673812883772-firstRetrievedAt.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class firstRetrievedAt1673812883772 { name = 'firstRetrievedAt1673812883772' diff --git a/packages/backend/migration/1674086433654-flashScriptLength.js b/packages/backend/migration/1674086433654-flashScriptLength.js index 7ad643dc90..996fe8c691 100644 --- a/packages/backend/migration/1674086433654-flashScriptLength.js +++ b/packages/backend/migration/1674086433654-flashScriptLength.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class flashScriptLength1674086433654 { name = 'flashScriptLength1674086433654' diff --git a/packages/backend/migration/1674118260469-achievement.js b/packages/backend/migration/1674118260469-achievement.js index 3816c2ef31..5d79dc669e 100644 --- a/packages/backend/migration/1674118260469-achievement.js +++ b/packages/backend/migration/1674118260469-achievement.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class achievement1674118260469 { name = 'achievement1674118260469' diff --git a/packages/backend/migration/1674255666603-loggedInDates.js b/packages/backend/migration/1674255666603-loggedInDates.js index 63185481ee..a6cf4b400f 100644 --- a/packages/backend/migration/1674255666603-loggedInDates.js +++ b/packages/backend/migration/1674255666603-loggedInDates.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class loggedInDates1674255666603 { name = 'loggedInDates1674255666603' diff --git a/packages/backend/migration/1675053125067-fixforeignkeyreports.js b/packages/backend/migration/1675053125067-fixforeignkeyreports.js index afa4de1061..d24dc5ec5a 100644 --- a/packages/backend/migration/1675053125067-fixforeignkeyreports.js +++ b/packages/backend/migration/1675053125067-fixforeignkeyreports.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class fixforeignkeyreports1675053125067 { name = 'fixforeignkeyreports1675053125067' diff --git a/packages/backend/migration/1675404035646-cleanup.js b/packages/backend/migration/1675404035646-cleanup.js index 8c20c304f4..c4e4332bbc 100644 --- a/packages/backend/migration/1675404035646-cleanup.js +++ b/packages/backend/migration/1675404035646-cleanup.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class cleanup1675404035646 { name = 'cleanup1675404035646' diff --git a/packages/backend/migration/1675557528704-role-icon-badge.js b/packages/backend/migration/1675557528704-role-icon-badge.js index 38524879ec..ee39c07a51 100644 --- a/packages/backend/migration/1675557528704-role-icon-badge.js +++ b/packages/backend/migration/1675557528704-role-icon-badge.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class roleIconBadge1675557528704 { name = 'roleIconBadge1675557528704' diff --git a/packages/backend/migration/1676434944993-drop-group.js b/packages/backend/migration/1676434944993-drop-group.js index 68313eef61..1db2d5818f 100644 --- a/packages/backend/migration/1676434944993-drop-group.js +++ b/packages/backend/migration/1676434944993-drop-group.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class dropGroup1676434944993 { name = 'dropGroup1676434944993' diff --git a/packages/backend/migration/1676438468213-ad3.js b/packages/backend/migration/1676438468213-ad3.js index 3bce796240..8347f56b95 100644 --- a/packages/backend/migration/1676438468213-ad3.js +++ b/packages/backend/migration/1676438468213-ad3.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class ad1676438468213 { name = 'ad1676438468213'; diff --git a/packages/backend/migration/1677054292210-ad4.js b/packages/backend/migration/1677054292210-ad4.js index 8b5416182b..037e21059c 100644 --- a/packages/backend/migration/1677054292210-ad4.js +++ b/packages/backend/migration/1677054292210-ad4.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class ad1677054292210 { name = 'ad1677054292210'; diff --git a/packages/backend/migration/1677570181236-role-assignment-expires-at.js b/packages/backend/migration/1677570181236-role-assignment-expires-at.js index 1f05c8ddc6..e44bca1d20 100644 --- a/packages/backend/migration/1677570181236-role-assignment-expires-at.js +++ b/packages/backend/migration/1677570181236-role-assignment-expires-at.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class roleAssignmentExpiresAt1677570181236 { name = 'roleAssignmentExpiresAt1677570181236' diff --git a/packages/backend/migration/1678164627293-per-note-reaction-acceptance.js b/packages/backend/migration/1678164627293-per-note-reaction-acceptance.js index ae54aca9ae..c85aafbd4c 100644 --- a/packages/backend/migration/1678164627293-per-note-reaction-acceptance.js +++ b/packages/backend/migration/1678164627293-per-note-reaction-acceptance.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class perNoteReactionAcceptance1678164627293 { name = 'perNoteReactionAcceptance1678164627293' diff --git a/packages/backend/migration/1678426061773-tweak-varchar-length.js b/packages/backend/migration/1678426061773-tweak-varchar-length.js index ad922efa86..2541f99a19 100644 --- a/packages/backend/migration/1678426061773-tweak-varchar-length.js +++ b/packages/backend/migration/1678426061773-tweak-varchar-length.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class tweakVarcharLength1678426061773 { name = 'tweakVarcharLength1678426061773' diff --git a/packages/backend/migration/1678427401214-remove-unused.js b/packages/backend/migration/1678427401214-remove-unused.js index e71efff54d..59f42da080 100644 --- a/packages/backend/migration/1678427401214-remove-unused.js +++ b/packages/backend/migration/1678427401214-remove-unused.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class removeUnused1678427401214 { name = 'removeUnused1678427401214' diff --git a/packages/backend/migration/1678602320354-role-display-order.js b/packages/backend/migration/1678602320354-role-display-order.js index 9068ce0d65..0ab7b0c3e2 100644 --- a/packages/backend/migration/1678602320354-role-display-order.js +++ b/packages/backend/migration/1678602320354-role-display-order.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class roleDisplayOrder1678602320354 { name = 'roleDisplayOrder1678602320354' diff --git a/packages/backend/migration/1678694614599-sensitive-words.js b/packages/backend/migration/1678694614599-sensitive-words.js index 6ce5d90968..5f69424eca 100644 --- a/packages/backend/migration/1678694614599-sensitive-words.js +++ b/packages/backend/migration/1678694614599-sensitive-words.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class sensitiveWords1678694614599 { name = 'sensitiveWords1678694614599' diff --git a/packages/backend/migration/1678869617549-retention-date-key.js b/packages/backend/migration/1678869617549-retention-date-key.js index 24fd7a65bc..55bf6248e6 100644 --- a/packages/backend/migration/1678869617549-retention-date-key.js +++ b/packages/backend/migration/1678869617549-retention-date-key.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class retentionDateKey1678869617549 { name = 'retentionDateKey1678869617549' diff --git a/packages/backend/migration/1678945242650-add-props-for-custom-emoji.js b/packages/backend/migration/1678945242650-add-props-for-custom-emoji.js index fa4499dd3e..0054e78f88 100644 --- a/packages/backend/migration/1678945242650-add-props-for-custom-emoji.js +++ b/packages/backend/migration/1678945242650-add-props-for-custom-emoji.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class addPropsForCustomEmoji1678945242650 { name = 'addPropsForCustomEmoji1678945242650' diff --git a/packages/backend/migration/1678953978856-clip-favorite.js b/packages/backend/migration/1678953978856-clip-favorite.js index 8f20f9c734..13145497bb 100644 --- a/packages/backend/migration/1678953978856-clip-favorite.js +++ b/packages/backend/migration/1678953978856-clip-favorite.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class clipFavorite1678953978856 { name = 'clipFavorite1678953978856' diff --git a/packages/backend/migration/1679309757174-antenna-active.js b/packages/backend/migration/1679309757174-antenna-active.js index d9ce50d9d6..0b2bcc69ff 100644 --- a/packages/backend/migration/1679309757174-antenna-active.js +++ b/packages/backend/migration/1679309757174-antenna-active.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class antennaActive1679309757174 { name = 'antennaActive1679309757174' diff --git a/packages/backend/migration/1679639483253-enableChartsForRemoteUser.js b/packages/backend/migration/1679639483253-enableChartsForRemoteUser.js index 2a684f2dd7..68576064f2 100644 --- a/packages/backend/migration/1679639483253-enableChartsForRemoteUser.js +++ b/packages/backend/migration/1679639483253-enableChartsForRemoteUser.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class enableChartsForRemoteUser1679639483253 { name = 'enableChartsForRemoteUser1679639483253' diff --git a/packages/backend/migration/1679651580149-cleanup.js b/packages/backend/migration/1679651580149-cleanup.js index 7e9ffc0c44..7049891cf0 100644 --- a/packages/backend/migration/1679651580149-cleanup.js +++ b/packages/backend/migration/1679651580149-cleanup.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class cleanup1679651580149 { name = 'cleanup1679651580149' diff --git a/packages/backend/migration/1679652081809-enableChartsForFederatedInstances.js b/packages/backend/migration/1679652081809-enableChartsForFederatedInstances.js index 185746dfa5..f3a07cbd1d 100644 --- a/packages/backend/migration/1679652081809-enableChartsForFederatedInstances.js +++ b/packages/backend/migration/1679652081809-enableChartsForFederatedInstances.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class enableChartsForFederatedInstances1679652081809 { name = 'enableChartsForFederatedInstances1679652081809' diff --git a/packages/backend/migration/1680228513388-channelFavorite.js b/packages/backend/migration/1680228513388-channelFavorite.js index 99f42830e8..58eb7359f2 100644 --- a/packages/backend/migration/1680228513388-channelFavorite.js +++ b/packages/backend/migration/1680228513388-channelFavorite.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class channelFavorite1680228513388 { name = 'channelFavorite1680228513388' diff --git a/packages/backend/migration/1680238118084-channelNotePining.js b/packages/backend/migration/1680238118084-channelNotePining.js index e4bca81417..f1f192d7bb 100644 --- a/packages/backend/migration/1680238118084-channelNotePining.js +++ b/packages/backend/migration/1680238118084-channelNotePining.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class channelNotePining1680238118084 { name = 'channelNotePining1680238118084' diff --git a/packages/backend/migration/1680491187535-cleanup.js b/packages/backend/migration/1680491187535-cleanup.js index b4cfbc02bd..006b403bd1 100644 --- a/packages/backend/migration/1680491187535-cleanup.js +++ b/packages/backend/migration/1680491187535-cleanup.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class cleanup1680491187535 { name = 'cleanup1680491187535' diff --git a/packages/backend/migration/1680582195041-cleanup.js b/packages/backend/migration/1680582195041-cleanup.js index b54ba4b7f4..7d941be8cf 100644 --- a/packages/backend/migration/1680582195041-cleanup.js +++ b/packages/backend/migration/1680582195041-cleanup.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class cleanup1680582195041 { name = 'cleanup1680582195041' @@ -10,6 +11,6 @@ export class cleanup1680582195041 { } async down(queryRunner) { - + } } diff --git a/packages/backend/migration/1680702787050-UserMemo.js b/packages/backend/migration/1680702787050-UserMemo.js index 638049c795..104d66ce24 100644 --- a/packages/backend/migration/1680702787050-UserMemo.js +++ b/packages/backend/migration/1680702787050-UserMemo.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class UserMemo1680702787050 { name = 'UserMemo1680702787050' diff --git a/packages/backend/migration/1680775031481-avatar-url-and-banner-url.js b/packages/backend/migration/1680775031481-avatar-url-and-banner-url.js index e4f614853e..c613ee511e 100644 --- a/packages/backend/migration/1680775031481-avatar-url-and-banner-url.js +++ b/packages/backend/migration/1680775031481-avatar-url-and-banner-url.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class AvatarUrlAndBannerUrl1680775031481 { name = 'AvatarUrlAndBannerUrl1680775031481' diff --git a/packages/backend/migration/1680931179228-account-move.js b/packages/backend/migration/1680931179228-account-move.js index 63551c4849..203d838f57 100644 --- a/packages/backend/migration/1680931179228-account-move.js +++ b/packages/backend/migration/1680931179228-account-move.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class AccountMove1680931179228 { name = 'AccountMove1680931179228' diff --git a/packages/backend/migration/1681400427971-serverRules.js b/packages/backend/migration/1681400427971-serverRules.js index 4a39297501..70a74ebfff 100644 --- a/packages/backend/migration/1681400427971-serverRules.js +++ b/packages/backend/migration/1681400427971-serverRules.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class ServerRules1681400427971 { name = 'ServerRules1681400427971' diff --git a/packages/backend/migration/1681870960239-RoleTLSetting.js b/packages/backend/migration/1681870960239-RoleTLSetting.js index 53c69cabe7..07b9bc4e35 100644 --- a/packages/backend/migration/1681870960239-RoleTLSetting.js +++ b/packages/backend/migration/1681870960239-RoleTLSetting.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class RoleTLSetting1681870960239 { name = 'RoleTLSetting1681870960239' @@ -8,7 +9,7 @@ export class RoleTLSetting1681870960239 { async up(queryRunner) { await queryRunner.query(`ALTER TABLE "role" ADD "isExplorable" boolean NOT NULL DEFAULT false`); } - + async down(queryRunner) { await queryRunner.query(`ALTER TABLE "role" DROP COLUMN "isExplorable"`); } diff --git a/packages/backend/migration/1682190963894-movedAt.js b/packages/backend/migration/1682190963894-movedAt.js index 9ea9b8e488..cc33da8747 100644 --- a/packages/backend/migration/1682190963894-movedAt.js +++ b/packages/backend/migration/1682190963894-movedAt.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class MovedAt1682190963894 { name = 'MovedAt1682190963894' diff --git a/packages/backend/migration/1682754135458-preservedUsernames.js b/packages/backend/migration/1682754135458-preservedUsernames.js index 455b97705e..61723e4abd 100644 --- a/packages/backend/migration/1682754135458-preservedUsernames.js +++ b/packages/backend/migration/1682754135458-preservedUsernames.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class PreservedUsernames1682754135458 { name = 'PreservedUsernames1682754135458' diff --git a/packages/backend/migration/1682985520254-channelColor.js b/packages/backend/migration/1682985520254-channelColor.js index ebe8d90373..43f1f48334 100644 --- a/packages/backend/migration/1682985520254-channelColor.js +++ b/packages/backend/migration/1682985520254-channelColor.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class ChannelColor1682985520254 { name = 'ChannelColor1682985520254' diff --git a/packages/backend/migration/1683328299359-channelArchive.js b/packages/backend/migration/1683328299359-channelArchive.js index 53624e9811..759dcbfdae 100644 --- a/packages/backend/migration/1683328299359-channelArchive.js +++ b/packages/backend/migration/1683328299359-channelArchive.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class ChannelArchive1683328299359 { name = 'ChannelArchive1683328299359' diff --git a/packages/backend/migration/1683682889948-prevent-ai-larning.js b/packages/backend/migration/1683682889948-prevent-ai-larning.js index 7a6cae8279..1dc3eec21f 100644 --- a/packages/backend/migration/1683682889948-prevent-ai-larning.js +++ b/packages/backend/migration/1683682889948-prevent-ai-larning.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class PreventAiLarning1683682889948 { name = 'PreventAiLarning1683682889948' diff --git a/packages/backend/migration/1683683083083-public-reactions-default-true.js b/packages/backend/migration/1683683083083-public-reactions-default-true.js index 8f6676abca..32cbe33b2f 100644 --- a/packages/backend/migration/1683683083083-public-reactions-default-true.js +++ b/packages/backend/migration/1683683083083-public-reactions-default-true.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class PublicReactionsDefaultTrue1683683083083 { name = 'PublicReactionsDefaultTrue1683683083083' diff --git a/packages/backend/migration/1683789676867-fix-typo.js b/packages/backend/migration/1683789676867-fix-typo.js index c1601265d0..5cd686e2f1 100644 --- a/packages/backend/migration/1683789676867-fix-typo.js +++ b/packages/backend/migration/1683789676867-fix-typo.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class FixTypo1683789676867 { name = 'FixTypo1683789676867' diff --git a/packages/backend/migration/1683847157541-UserList.js b/packages/backend/migration/1683847157541-UserList.js index 2f2602aeff..f9e79a43a1 100644 --- a/packages/backend/migration/1683847157541-UserList.js +++ b/packages/backend/migration/1683847157541-UserList.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class UserList1683847157541 { name = 'UserList1683847157541' diff --git a/packages/backend/migration/1683869758873-UserListFavorites.js b/packages/backend/migration/1683869758873-UserListFavorites.js index 471a483b16..aef4597a75 100644 --- a/packages/backend/migration/1683869758873-UserListFavorites.js +++ b/packages/backend/migration/1683869758873-UserListFavorites.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class UserListFavorites1683869758873 { name = 'UserListFavorites1683869758873' diff --git a/packages/backend/migration/1684206886988-remove-showTimelineReplies.js b/packages/backend/migration/1684206886988-remove-showTimelineReplies.js index 1caa40b5bb..a0798f85c6 100644 --- a/packages/backend/migration/1684206886988-remove-showTimelineReplies.js +++ b/packages/backend/migration/1684206886988-remove-showTimelineReplies.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class RemoveShowTimelineReplies1684206886988 { name = 'RemoveShowTimelineReplies1684206886988' diff --git a/packages/backend/migration/1684386446061-emoji-improve.js b/packages/backend/migration/1684386446061-emoji-improve.js index 218c90cba1..7bded84cc9 100644 --- a/packages/backend/migration/1684386446061-emoji-improve.js +++ b/packages/backend/migration/1684386446061-emoji-improve.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class EmojiImprove1684386446061 { name = 'EmojiImprove1684386446061' diff --git a/packages/backend/migration/1685973839966-errorImageUrl.js b/packages/backend/migration/1685973839966-errorImageUrl.js index f2683d1412..c4a1567b9b 100644 --- a/packages/backend/migration/1685973839966-errorImageUrl.js +++ b/packages/backend/migration/1685973839966-errorImageUrl.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class ErrorImageUrl1685973839966 { name = 'ErrorImageUrl1685973839966' diff --git a/packages/backend/migration/1688280713783-add-meta-options.js b/packages/backend/migration/1688280713783-add-meta-options.js index 5105e17e46..ade8378c00 100644 --- a/packages/backend/migration/1688280713783-add-meta-options.js +++ b/packages/backend/migration/1688280713783-add-meta-options.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class AddMetaOptions1688280713783 { name = 'AddMetaOptions1688280713783' diff --git a/packages/backend/migration/1688720440658-refactor-invite-system.js b/packages/backend/migration/1688720440658-refactor-invite-system.js index f37b48bfa3..20f178612d 100644 --- a/packages/backend/migration/1688720440658-refactor-invite-system.js +++ b/packages/backend/migration/1688720440658-refactor-invite-system.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class RefactorInviteSystem1688720440658 { name = 'RefactorInviteSystem1688720440658' diff --git a/packages/backend/migration/1688880985544-add-index-to-relations.js b/packages/backend/migration/1688880985544-add-index-to-relations.js index 92fba4290f..6daac20329 100644 --- a/packages/backend/migration/1688880985544-add-index-to-relations.js +++ b/packages/backend/migration/1688880985544-add-index-to-relations.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class AddIndexToRelations1688880985544 { name = 'AddIndexToRelations1688880985544' diff --git a/packages/backend/migration/1689102832143-nsfw-cache.js b/packages/backend/migration/1689102832143-nsfw-cache.js index c467958cd1..419588296e 100644 --- a/packages/backend/migration/1689102832143-nsfw-cache.js +++ b/packages/backend/migration/1689102832143-nsfw-cache.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class NsfwCache1689102832143 { name = 'NsfwCache1689102832143' diff --git a/packages/backend/src/@types/hcaptcha.d.ts b/packages/backend/src/@types/hcaptcha.d.ts index ef719e43fd..43e67dd340 100644 --- a/packages/backend/src/@types/hcaptcha.d.ts +++ b/packages/backend/src/@types/hcaptcha.d.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ declare module 'hcaptcha' { interface IVerifyResponse { diff --git a/packages/backend/src/@types/http-signature.d.ts b/packages/backend/src/@types/http-signature.d.ts index 57cb3aa92a..1f3b48aa54 100644 --- a/packages/backend/src/@types/http-signature.d.ts +++ b/packages/backend/src/@types/http-signature.d.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ declare module '@peertube/http-signature' { import type { IncomingMessage, ClientRequest } from 'node:http'; diff --git a/packages/backend/src/@types/os-utils.d.ts b/packages/backend/src/@types/os-utils.d.ts index ca7eeeb883..8c44232c14 100644 --- a/packages/backend/src/@types/os-utils.d.ts +++ b/packages/backend/src/@types/os-utils.d.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ declare module 'os-utils' { type FreeCommandCallback = (usedmem: number) => void; diff --git a/packages/backend/src/@types/package.json.d.ts b/packages/backend/src/@types/package.json.d.ts index b890e94c77..197b4b6bf0 100644 --- a/packages/backend/src/@types/package.json.d.ts +++ b/packages/backend/src/@types/package.json.d.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ declare module '*/package.json' { interface IRepository { diff --git a/packages/backend/src/@types/probe-image-size.d.ts b/packages/backend/src/@types/probe-image-size.d.ts index 640a76938c..4d312cba34 100644 --- a/packages/backend/src/@types/probe-image-size.d.ts +++ b/packages/backend/src/@types/probe-image-size.d.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ declare module 'probe-image-size' { import type { ReadStream } from 'node:fs'; diff --git a/packages/backend/src/@types/redis-lock.d.ts b/packages/backend/src/@types/redis-lock.d.ts index f8ae068a36..c607d600d8 100644 --- a/packages/backend/src/@types/redis-lock.d.ts +++ b/packages/backend/src/@types/redis-lock.d.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ declare module 'redis-lock' { import type Redis from 'ioredis'; diff --git a/packages/backend/src/GlobalModule.ts b/packages/backend/src/GlobalModule.ts index 70748af869..9f1ee9fcaa 100644 --- a/packages/backend/src/GlobalModule.ts +++ b/packages/backend/src/GlobalModule.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { setTimeout } from 'node:timers/promises'; import { Global, Inject, Module } from '@nestjs/common'; diff --git a/packages/backend/src/MainModule.ts b/packages/backend/src/MainModule.ts index 5d9921d508..90aba0cc91 100644 --- a/packages/backend/src/MainModule.ts +++ b/packages/backend/src/MainModule.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Module } from '@nestjs/common'; import { ServerModule } from '@/server/ServerModule.js'; diff --git a/packages/backend/src/NestLogger.ts b/packages/backend/src/NestLogger.ts index 92af41c3c3..e18e9e88a7 100644 --- a/packages/backend/src/NestLogger.ts +++ b/packages/backend/src/NestLogger.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { LoggerService } from '@nestjs/common'; import Logger from '@/logger.js'; diff --git a/packages/backend/src/boot/common.ts b/packages/backend/src/boot/common.ts index 2f77671ad5..ca2b729156 100644 --- a/packages/backend/src/boot/common.ts +++ b/packages/backend/src/boot/common.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { NestFactory } from '@nestjs/core'; import { ChartManagementService } from '@/core/chart/ChartManagementService.js'; diff --git a/packages/backend/src/boot/index.ts b/packages/backend/src/boot/index.ts index f6ae66785b..fc8fc2ffb4 100644 --- a/packages/backend/src/boot/index.ts +++ b/packages/backend/src/boot/index.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /** * Misskey Entry Point! diff --git a/packages/backend/src/boot/master.ts b/packages/backend/src/boot/master.ts index 3f90524d46..5dd7d7baf1 100644 --- a/packages/backend/src/boot/master.ts +++ b/packages/backend/src/boot/master.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as fs from 'node:fs'; import { fileURLToPath } from 'node:url'; diff --git a/packages/backend/src/boot/worker.ts b/packages/backend/src/boot/worker.ts index 2f865db73d..0399c9fe5c 100644 --- a/packages/backend/src/boot/worker.ts +++ b/packages/backend/src/boot/worker.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import cluster from 'node:cluster'; import { envOption } from '@/env.js'; diff --git a/packages/backend/src/config.ts b/packages/backend/src/config.ts index 5eefa542a7..b2b5d9aff6 100644 --- a/packages/backend/src/config.ts +++ b/packages/backend/src/config.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /** * Config loader diff --git a/packages/backend/src/const.ts b/packages/backend/src/const.ts index 23fbbfdbc1..716a8de382 100644 --- a/packages/backend/src/const.ts +++ b/packages/backend/src/const.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export const MAX_NOTE_TEXT_LENGTH = 3000; diff --git a/packages/backend/src/core/AccountMoveService.ts b/packages/backend/src/core/AccountMoveService.ts index 3e776734a8..6cbbc0632b 100644 --- a/packages/backend/src/core/AccountMoveService.ts +++ b/packages/backend/src/core/AccountMoveService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { IsNull, In, MoreThan, Not } from 'typeorm'; diff --git a/packages/backend/src/core/AccountUpdateService.ts b/packages/backend/src/core/AccountUpdateService.ts index 2879edeb75..66001fe152 100644 --- a/packages/backend/src/core/AccountUpdateService.ts +++ b/packages/backend/src/core/AccountUpdateService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/AchievementService.ts b/packages/backend/src/core/AchievementService.ts index 7d596e0ef9..7c7f989783 100644 --- a/packages/backend/src/core/AchievementService.ts +++ b/packages/backend/src/core/AchievementService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { UserProfilesRepository, UsersRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/AiService.ts b/packages/backend/src/core/AiService.ts index 6d97c28f66..fc7b0226c0 100644 --- a/packages/backend/src/core/AiService.ts +++ b/packages/backend/src/core/AiService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as fs from 'node:fs'; import { fileURLToPath } from 'node:url'; diff --git a/packages/backend/src/core/AntennaService.ts b/packages/backend/src/core/AntennaService.ts index 8a6a43923b..dcd88b0fb7 100644 --- a/packages/backend/src/core/AntennaService.ts +++ b/packages/backend/src/core/AntennaService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import * as Redis from 'ioredis'; diff --git a/packages/backend/src/core/AppLockService.ts b/packages/backend/src/core/AppLockService.ts index 2e2b9b4b44..7a1293a6de 100644 --- a/packages/backend/src/core/AppLockService.ts +++ b/packages/backend/src/core/AppLockService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { promisify } from 'node:util'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/core/CacheService.ts b/packages/backend/src/core/CacheService.ts index d3bf9aa447..02bda436cf 100644 --- a/packages/backend/src/core/CacheService.ts +++ b/packages/backend/src/core/CacheService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import * as Redis from 'ioredis'; diff --git a/packages/backend/src/core/CaptchaService.ts b/packages/backend/src/core/CaptchaService.ts index 5ee14b6b5b..f64196f4fc 100644 --- a/packages/backend/src/core/CaptchaService.ts +++ b/packages/backend/src/core/CaptchaService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { HttpRequestService } from '@/core/HttpRequestService.js'; diff --git a/packages/backend/src/core/CoreModule.ts b/packages/backend/src/core/CoreModule.ts index 8afadef6ee..9d6fb87923 100644 --- a/packages/backend/src/core/CoreModule.ts +++ b/packages/backend/src/core/CoreModule.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Module } from '@nestjs/common'; import { AccountMoveService } from './AccountMoveService.js'; diff --git a/packages/backend/src/core/CreateSystemUserService.ts b/packages/backend/src/core/CreateSystemUserService.ts index 74767ee17e..5eece8cd46 100644 --- a/packages/backend/src/core/CreateSystemUserService.ts +++ b/packages/backend/src/core/CreateSystemUserService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { randomUUID } from 'node:crypto'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/core/CustomEmojiService.ts b/packages/backend/src/core/CustomEmojiService.ts index cafbe8f8cc..1b33558728 100644 --- a/packages/backend/src/core/CustomEmojiService.ts +++ b/packages/backend/src/core/CustomEmojiService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable, OnApplicationShutdown } from '@nestjs/common'; import { DataSource, In, IsNull } from 'typeorm'; diff --git a/packages/backend/src/core/DeleteAccountService.ts b/packages/backend/src/core/DeleteAccountService.ts index 0697187c7e..9ba260109f 100644 --- a/packages/backend/src/core/DeleteAccountService.ts +++ b/packages/backend/src/core/DeleteAccountService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { UsersRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/DownloadService.ts b/packages/backend/src/core/DownloadService.ts index 14a5933c4b..5474272b00 100644 --- a/packages/backend/src/core/DownloadService.ts +++ b/packages/backend/src/core/DownloadService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as fs from 'node:fs'; import * as stream from 'node:stream/promises'; diff --git a/packages/backend/src/core/DriveService.ts b/packages/backend/src/core/DriveService.ts index f3bad73e08..a4f6a96a41 100644 --- a/packages/backend/src/core/DriveService.ts +++ b/packages/backend/src/core/DriveService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { randomUUID } from 'node:crypto'; import * as fs from 'node:fs'; diff --git a/packages/backend/src/core/EmailService.ts b/packages/backend/src/core/EmailService.ts index 484f8c71bd..162634593e 100644 --- a/packages/backend/src/core/EmailService.ts +++ b/packages/backend/src/core/EmailService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as nodemailer from 'nodemailer'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/core/FederatedInstanceService.ts b/packages/backend/src/core/FederatedInstanceService.ts index 9da19953c5..8c3272adea 100644 --- a/packages/backend/src/core/FederatedInstanceService.ts +++ b/packages/backend/src/core/FederatedInstanceService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable, OnApplicationShutdown } from '@nestjs/common'; import * as Redis from 'ioredis'; diff --git a/packages/backend/src/core/FetchInstanceMetadataService.ts b/packages/backend/src/core/FetchInstanceMetadataService.ts index 4b8f3740f1..cf3ebbebfa 100644 --- a/packages/backend/src/core/FetchInstanceMetadataService.ts +++ b/packages/backend/src/core/FetchInstanceMetadataService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { URL } from 'node:url'; import { Inject, Injectable } from '@nestjs/common'; @@ -74,9 +75,9 @@ export class FetchInstanceMetadataService { return; } } - + this.logger.info(`Fetching metadata of ${instance.host} ...`); - + const [info, dom, manifest] = await Promise.all([ this.fetchNodeinfo(instance).catch(() => null), this.fetchDom(instance).catch(() => null), diff --git a/packages/backend/src/core/FileInfoService.ts b/packages/backend/src/core/FileInfoService.ts index 6d3b71bb55..fdea59a8ad 100644 --- a/packages/backend/src/core/FileInfoService.ts +++ b/packages/backend/src/core/FileInfoService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as fs from 'node:fs'; import * as crypto from 'node:crypto'; diff --git a/packages/backend/src/core/GlobalEventService.ts b/packages/backend/src/core/GlobalEventService.ts index 2f062c958e..f216b79ba3 100644 --- a/packages/backend/src/core/GlobalEventService.ts +++ b/packages/backend/src/core/GlobalEventService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import * as Redis from 'ioredis'; diff --git a/packages/backend/src/core/HashtagService.ts b/packages/backend/src/core/HashtagService.ts index 51ff477f38..1aa78f0fda 100644 --- a/packages/backend/src/core/HashtagService.ts +++ b/packages/backend/src/core/HashtagService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/HttpRequestService.ts b/packages/backend/src/core/HttpRequestService.ts index 45720286c0..47878ed694 100644 --- a/packages/backend/src/core/HttpRequestService.ts +++ b/packages/backend/src/core/HttpRequestService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as http from 'node:http'; import * as https from 'node:https'; diff --git a/packages/backend/src/core/IdService.ts b/packages/backend/src/core/IdService.ts index 3f97c68036..186fd36b42 100644 --- a/packages/backend/src/core/IdService.ts +++ b/packages/backend/src/core/IdService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { ulid } from 'ulid'; diff --git a/packages/backend/src/core/ImageProcessingService.ts b/packages/backend/src/core/ImageProcessingService.ts index ec50b99ec7..bbed29b7d0 100644 --- a/packages/backend/src/core/ImageProcessingService.ts +++ b/packages/backend/src/core/ImageProcessingService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import sharp from 'sharp'; diff --git a/packages/backend/src/core/InstanceActorService.ts b/packages/backend/src/core/InstanceActorService.ts index d34ab24a05..c6b18925bc 100644 --- a/packages/backend/src/core/InstanceActorService.ts +++ b/packages/backend/src/core/InstanceActorService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { IsNull } from 'typeorm'; diff --git a/packages/backend/src/core/InternalStorageService.ts b/packages/backend/src/core/InternalStorageService.ts index efb1877f6a..22129bb348 100644 --- a/packages/backend/src/core/InternalStorageService.ts +++ b/packages/backend/src/core/InternalStorageService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as fs from 'node:fs'; import * as Path from 'node:path'; diff --git a/packages/backend/src/core/LoggerService.ts b/packages/backend/src/core/LoggerService.ts index abad4a9fad..6d3ed10961 100644 --- a/packages/backend/src/core/LoggerService.ts +++ b/packages/backend/src/core/LoggerService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/MetaService.ts b/packages/backend/src/core/MetaService.ts index a34f8928da..3adc83ab80 100644 --- a/packages/backend/src/core/MetaService.ts +++ b/packages/backend/src/core/MetaService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DataSource } from 'typeorm'; diff --git a/packages/backend/src/core/MfmService.ts b/packages/backend/src/core/MfmService.ts index c7628103f3..b6f84da475 100644 --- a/packages/backend/src/core/MfmService.ts +++ b/packages/backend/src/core/MfmService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { URL } from 'node:url'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/core/ModerationLogService.ts b/packages/backend/src/core/ModerationLogService.ts index 147969b2f3..2f09f6f480 100644 --- a/packages/backend/src/core/ModerationLogService.ts +++ b/packages/backend/src/core/ModerationLogService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/NoteCreateService.ts b/packages/backend/src/core/NoteCreateService.ts index a3b1b9a76f..e0ea949c66 100644 --- a/packages/backend/src/core/NoteCreateService.ts +++ b/packages/backend/src/core/NoteCreateService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { setImmediate } from 'node:timers/promises'; import * as mfm from 'mfm-js'; diff --git a/packages/backend/src/core/NoteDeleteService.ts b/packages/backend/src/core/NoteDeleteService.ts index bf4a56bc0b..7a44916f5e 100644 --- a/packages/backend/src/core/NoteDeleteService.ts +++ b/packages/backend/src/core/NoteDeleteService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Brackets, In } from 'typeorm'; import { Injectable, Inject } from '@nestjs/common'; diff --git a/packages/backend/src/core/NotePiningService.ts b/packages/backend/src/core/NotePiningService.ts index 78d29179d2..d35b5dc411 100644 --- a/packages/backend/src/core/NotePiningService.ts +++ b/packages/backend/src/core/NotePiningService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/NoteReadService.ts b/packages/backend/src/core/NoteReadService.ts index 583ee6e0f1..a6a66f2653 100644 --- a/packages/backend/src/core/NoteReadService.ts +++ b/packages/backend/src/core/NoteReadService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { setTimeout } from 'node:timers/promises'; import { Inject, Injectable, OnApplicationShutdown } from '@nestjs/common'; diff --git a/packages/backend/src/core/NotificationService.ts b/packages/backend/src/core/NotificationService.ts index 5fca2b6864..0f2d65dff8 100644 --- a/packages/backend/src/core/NotificationService.ts +++ b/packages/backend/src/core/NotificationService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { setTimeout } from 'node:timers/promises'; import * as Redis from 'ioredis'; diff --git a/packages/backend/src/core/PollService.ts b/packages/backend/src/core/PollService.ts index 0f4fbb2f18..f317087b41 100644 --- a/packages/backend/src/core/PollService.ts +++ b/packages/backend/src/core/PollService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/ProxyAccountService.ts b/packages/backend/src/core/ProxyAccountService.ts index 6648177d52..c682754fb9 100644 --- a/packages/backend/src/core/ProxyAccountService.ts +++ b/packages/backend/src/core/ProxyAccountService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { UsersRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/PushNotificationService.ts b/packages/backend/src/core/PushNotificationService.ts index 19e8e25b74..d5a727b3e4 100644 --- a/packages/backend/src/core/PushNotificationService.ts +++ b/packages/backend/src/core/PushNotificationService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable, OnApplicationShutdown } from '@nestjs/common'; import push from 'web-push'; diff --git a/packages/backend/src/core/QueryService.ts b/packages/backend/src/core/QueryService.ts index 7df5978504..c6ebc423b5 100644 --- a/packages/backend/src/core/QueryService.ts +++ b/packages/backend/src/core/QueryService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Brackets, ObjectLiteral } from 'typeorm'; diff --git a/packages/backend/src/core/QueueModule.ts b/packages/backend/src/core/QueueModule.ts index 311580b6b9..4444dc9787 100644 --- a/packages/backend/src/core/QueueModule.ts +++ b/packages/backend/src/core/QueueModule.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { setTimeout } from 'node:timers/promises'; import { Inject, Module, OnApplicationShutdown } from '@nestjs/common'; diff --git a/packages/backend/src/core/QueueService.ts b/packages/backend/src/core/QueueService.ts index d022578e9a..c70b49ca49 100644 --- a/packages/backend/src/core/QueueService.ts +++ b/packages/backend/src/core/QueueService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { randomUUID } from 'node:crypto'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/core/ReactionService.ts b/packages/backend/src/core/ReactionService.ts index fb944839f8..7d97c8745e 100644 --- a/packages/backend/src/core/ReactionService.ts +++ b/packages/backend/src/core/ReactionService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/RelayService.ts b/packages/backend/src/core/RelayService.ts index 3944efe8b3..1ac906991b 100644 --- a/packages/backend/src/core/RelayService.ts +++ b/packages/backend/src/core/RelayService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { IsNull } from 'typeorm'; diff --git a/packages/backend/src/core/RemoteLoggerService.ts b/packages/backend/src/core/RemoteLoggerService.ts index 03fb636b1d..5d13988ed7 100644 --- a/packages/backend/src/core/RemoteLoggerService.ts +++ b/packages/backend/src/core/RemoteLoggerService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import type Logger from '@/logger.js'; diff --git a/packages/backend/src/core/RemoteUserResolveService.ts b/packages/backend/src/core/RemoteUserResolveService.ts index a07e9952b8..31682ea98d 100644 --- a/packages/backend/src/core/RemoteUserResolveService.ts +++ b/packages/backend/src/core/RemoteUserResolveService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { URL } from 'node:url'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/core/RoleService.ts b/packages/backend/src/core/RoleService.ts index 3871741111..70454a84c2 100644 --- a/packages/backend/src/core/RoleService.ts +++ b/packages/backend/src/core/RoleService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import * as Redis from 'ioredis'; diff --git a/packages/backend/src/core/S3Service.ts b/packages/backend/src/core/S3Service.ts index 4043f43c5b..0de5426d89 100644 --- a/packages/backend/src/core/S3Service.ts +++ b/packages/backend/src/core/S3Service.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { URL } from 'node:url'; import * as http from 'node:http'; diff --git a/packages/backend/src/core/SearchService.ts b/packages/backend/src/core/SearchService.ts index 5aafa400b4..88b368dd22 100644 --- a/packages/backend/src/core/SearchService.ts +++ b/packages/backend/src/core/SearchService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { In } from 'typeorm'; diff --git a/packages/backend/src/core/SignupService.ts b/packages/backend/src/core/SignupService.ts index f22caa93d7..af8c8e434b 100644 --- a/packages/backend/src/core/SignupService.ts +++ b/packages/backend/src/core/SignupService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { generateKeyPair } from 'node:crypto'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/core/TwoFactorAuthenticationService.ts b/packages/backend/src/core/TwoFactorAuthenticationService.ts index d7849651b0..76148841e8 100644 --- a/packages/backend/src/core/TwoFactorAuthenticationService.ts +++ b/packages/backend/src/core/TwoFactorAuthenticationService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as crypto from 'node:crypto'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/core/UserBlockingService.ts b/packages/backend/src/core/UserBlockingService.ts index bbc2b94746..28ecf81a13 100644 --- a/packages/backend/src/core/UserBlockingService.ts +++ b/packages/backend/src/core/UserBlockingService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable, OnModuleInit } from '@nestjs/common'; import { ModuleRef } from '@nestjs/core'; diff --git a/packages/backend/src/core/UserFollowingService.ts b/packages/backend/src/core/UserFollowingService.ts index d2b462164e..8e356d19bb 100644 --- a/packages/backend/src/core/UserFollowingService.ts +++ b/packages/backend/src/core/UserFollowingService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable, OnModuleInit, forwardRef } from '@nestjs/common'; import { ModuleRef } from '@nestjs/core'; diff --git a/packages/backend/src/core/UserKeypairService.ts b/packages/backend/src/core/UserKeypairService.ts index 1e31e60939..ec5d867bdb 100644 --- a/packages/backend/src/core/UserKeypairService.ts +++ b/packages/backend/src/core/UserKeypairService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable, OnApplicationShutdown } from '@nestjs/common'; import * as Redis from 'ioredis'; diff --git a/packages/backend/src/core/UserListService.ts b/packages/backend/src/core/UserListService.ts index 8d13e8a318..cd1e7ea4e6 100644 --- a/packages/backend/src/core/UserListService.ts +++ b/packages/backend/src/core/UserListService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { UserListJoiningsRepository, UsersRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/UserMutingService.ts b/packages/backend/src/core/UserMutingService.ts index 878f10f3e8..7472d31dce 100644 --- a/packages/backend/src/core/UserMutingService.ts +++ b/packages/backend/src/core/UserMutingService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { In } from 'typeorm'; diff --git a/packages/backend/src/core/UserSuspendService.ts b/packages/backend/src/core/UserSuspendService.ts index 01d2becef5..c7fedb6c89 100644 --- a/packages/backend/src/core/UserSuspendService.ts +++ b/packages/backend/src/core/UserSuspendService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Not, IsNull } from 'typeorm'; diff --git a/packages/backend/src/core/UtilityService.ts b/packages/backend/src/core/UtilityService.ts index 311a0e922f..d2d2776bd2 100644 --- a/packages/backend/src/core/UtilityService.ts +++ b/packages/backend/src/core/UtilityService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { URL } from 'node:url'; import { toASCII } from 'punycode'; diff --git a/packages/backend/src/core/VideoProcessingService.ts b/packages/backend/src/core/VideoProcessingService.ts index b929fe85eb..ffb7573358 100644 --- a/packages/backend/src/core/VideoProcessingService.ts +++ b/packages/backend/src/core/VideoProcessingService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import FFmpeg from 'fluent-ffmpeg'; diff --git a/packages/backend/src/core/WebfingerService.ts b/packages/backend/src/core/WebfingerService.ts index fda2f35621..e91ba29228 100644 --- a/packages/backend/src/core/WebfingerService.ts +++ b/packages/backend/src/core/WebfingerService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { URL } from 'node:url'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/core/WebhookService.ts b/packages/backend/src/core/WebhookService.ts index 4fc97bd2f8..8919897c4e 100644 --- a/packages/backend/src/core/WebhookService.ts +++ b/packages/backend/src/core/WebhookService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import * as Redis from 'ioredis'; diff --git a/packages/backend/src/core/activitypub/ApAudienceService.ts b/packages/backend/src/core/activitypub/ApAudienceService.ts index b92b65ebe8..f90f4a48df 100644 --- a/packages/backend/src/core/activitypub/ApAudienceService.ts +++ b/packages/backend/src/core/activitypub/ApAudienceService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import promiseLimit from 'promise-limit'; diff --git a/packages/backend/src/core/activitypub/ApDbResolverService.ts b/packages/backend/src/core/activitypub/ApDbResolverService.ts index c5bdef5714..418252f6bd 100644 --- a/packages/backend/src/core/activitypub/ApDbResolverService.ts +++ b/packages/backend/src/core/activitypub/ApDbResolverService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable, OnApplicationShutdown } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/activitypub/ApDeliverManagerService.ts b/packages/backend/src/core/activitypub/ApDeliverManagerService.ts index 9678f60705..b5f0592635 100644 --- a/packages/backend/src/core/activitypub/ApDeliverManagerService.ts +++ b/packages/backend/src/core/activitypub/ApDeliverManagerService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { IsNull, Not } from 'typeorm'; diff --git a/packages/backend/src/core/activitypub/ApInboxService.ts b/packages/backend/src/core/activitypub/ApInboxService.ts index 260c4744de..13f4c7a231 100644 --- a/packages/backend/src/core/activitypub/ApInboxService.ts +++ b/packages/backend/src/core/activitypub/ApInboxService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { In } from 'typeorm'; diff --git a/packages/backend/src/core/activitypub/ApLoggerService.ts b/packages/backend/src/core/activitypub/ApLoggerService.ts index 8fe32c52af..cd9597e423 100644 --- a/packages/backend/src/core/activitypub/ApLoggerService.ts +++ b/packages/backend/src/core/activitypub/ApLoggerService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import type Logger from '@/logger.js'; diff --git a/packages/backend/src/core/activitypub/ApMfmService.ts b/packages/backend/src/core/activitypub/ApMfmService.ts index 486999557e..2098fb725e 100644 --- a/packages/backend/src/core/activitypub/ApMfmService.ts +++ b/packages/backend/src/core/activitypub/ApMfmService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import * as mfm from 'mfm-js'; diff --git a/packages/backend/src/core/activitypub/ApRendererService.ts b/packages/backend/src/core/activitypub/ApRendererService.ts index 96af48fe5e..f12321487c 100644 --- a/packages/backend/src/core/activitypub/ApRendererService.ts +++ b/packages/backend/src/core/activitypub/ApRendererService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { createPublicKey, randomUUID } from 'node:crypto'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/core/activitypub/ApRequestService.ts b/packages/backend/src/core/activitypub/ApRequestService.ts index 0244881217..b2d98f25e0 100644 --- a/packages/backend/src/core/activitypub/ApRequestService.ts +++ b/packages/backend/src/core/activitypub/ApRequestService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as crypto from 'node:crypto'; import { URL } from 'node:url'; diff --git a/packages/backend/src/core/activitypub/ApResolverService.ts b/packages/backend/src/core/activitypub/ApResolverService.ts index a73d95d354..31bea744e2 100644 --- a/packages/backend/src/core/activitypub/ApResolverService.ts +++ b/packages/backend/src/core/activitypub/ApResolverService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { LocalUser, RemoteUser } from '@/models/entities/User.js'; diff --git a/packages/backend/src/core/activitypub/LdSignatureService.ts b/packages/backend/src/core/activitypub/LdSignatureService.ts index 1650828077..39b5ff8abc 100644 --- a/packages/backend/src/core/activitypub/LdSignatureService.ts +++ b/packages/backend/src/core/activitypub/LdSignatureService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as crypto from 'node:crypto'; import { Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/core/activitypub/misc/contexts.ts b/packages/backend/src/core/activitypub/misc/contexts.ts index ae45070143..71c440e5cc 100644 --- a/packages/backend/src/core/activitypub/misc/contexts.ts +++ b/packages/backend/src/core/activitypub/misc/contexts.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import type { JsonLd } from 'jsonld/jsonld-spec.js'; diff --git a/packages/backend/src/core/activitypub/models/ApImageService.ts b/packages/backend/src/core/activitypub/models/ApImageService.ts index 30164e1962..cc4a352f02 100644 --- a/packages/backend/src/core/activitypub/models/ApImageService.ts +++ b/packages/backend/src/core/activitypub/models/ApImageService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/activitypub/models/ApMentionService.ts b/packages/backend/src/core/activitypub/models/ApMentionService.ts index 8fff880d74..a0703dc405 100644 --- a/packages/backend/src/core/activitypub/models/ApMentionService.ts +++ b/packages/backend/src/core/activitypub/models/ApMentionService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import promiseLimit from 'promise-limit'; diff --git a/packages/backend/src/core/activitypub/models/ApNoteService.ts b/packages/backend/src/core/activitypub/models/ApNoteService.ts index ee693ee423..e915f948c9 100644 --- a/packages/backend/src/core/activitypub/models/ApNoteService.ts +++ b/packages/backend/src/core/activitypub/models/ApNoteService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { forwardRef, Inject, Injectable } from '@nestjs/common'; import promiseLimit from 'promise-limit'; diff --git a/packages/backend/src/core/activitypub/models/ApPersonService.ts b/packages/backend/src/core/activitypub/models/ApPersonService.ts index 0bb77f8265..d0b2d9d5ba 100644 --- a/packages/backend/src/core/activitypub/models/ApPersonService.ts +++ b/packages/backend/src/core/activitypub/models/ApPersonService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import promiseLimit from 'promise-limit'; @@ -285,7 +286,7 @@ export class ApPersonService implements OnModuleInit { const emojis = await this.apNoteService.extractEmojis(person.tag ?? [], host) .then(_emojis => _emojis.map(emoji => emoji.name)) .catch(err => { - this.logger.error(`error occured while fetching user emojis`, { stack: err }); + this.logger.error('error occured while fetching user emojis', { stack: err }); return []; }); //#endregion diff --git a/packages/backend/src/core/activitypub/models/ApQuestionService.ts b/packages/backend/src/core/activitypub/models/ApQuestionService.ts index 9fbaf600f2..8d8c0a5811 100644 --- a/packages/backend/src/core/activitypub/models/ApQuestionService.ts +++ b/packages/backend/src/core/activitypub/models/ApQuestionService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/activitypub/models/icon.ts b/packages/backend/src/core/activitypub/models/icon.ts index 2b5315b8cf..9fed78020d 100644 --- a/packages/backend/src/core/activitypub/models/icon.ts +++ b/packages/backend/src/core/activitypub/models/icon.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export type IIcon = { type: string; diff --git a/packages/backend/src/core/activitypub/models/identifier.ts b/packages/backend/src/core/activitypub/models/identifier.ts index b7d7dbe789..22a7b0a76e 100644 --- a/packages/backend/src/core/activitypub/models/identifier.ts +++ b/packages/backend/src/core/activitypub/models/identifier.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export type IIdentifier = { type: string; diff --git a/packages/backend/src/core/activitypub/models/tag.ts b/packages/backend/src/core/activitypub/models/tag.ts index 69eaf35452..772ea11864 100644 --- a/packages/backend/src/core/activitypub/models/tag.ts +++ b/packages/backend/src/core/activitypub/models/tag.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { toArray } from '@/misc/prelude/array.js'; import { isHashtag } from '../type.js'; diff --git a/packages/backend/src/core/activitypub/type.ts b/packages/backend/src/core/activitypub/type.ts index f559d8991b..16ff86e894 100644 --- a/packages/backend/src/core/activitypub/type.ts +++ b/packages/backend/src/core/activitypub/type.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export type Obj = { [x: string]: any }; export type ApObject = IObject | string | (IObject | string)[]; diff --git a/packages/backend/src/core/chart/ChartLoggerService.ts b/packages/backend/src/core/chart/ChartLoggerService.ts index 47b9bc7912..bd90efec64 100644 --- a/packages/backend/src/core/chart/ChartLoggerService.ts +++ b/packages/backend/src/core/chart/ChartLoggerService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import type Logger from '@/logger.js'; diff --git a/packages/backend/src/core/chart/ChartManagementService.ts b/packages/backend/src/core/chart/ChartManagementService.ts index 5e0d335fc1..6b626d3980 100644 --- a/packages/backend/src/core/chart/ChartManagementService.ts +++ b/packages/backend/src/core/chart/ChartManagementService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/core/chart/charts/active-users.ts b/packages/backend/src/core/chart/charts/active-users.ts index 4b105507e2..4b2ded9e82 100644 --- a/packages/backend/src/core/chart/charts/active-users.ts +++ b/packages/backend/src/core/chart/charts/active-users.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable, Inject } from '@nestjs/common'; import { DataSource } from 'typeorm'; diff --git a/packages/backend/src/core/chart/charts/ap-request.ts b/packages/backend/src/core/chart/charts/ap-request.ts index 0a5e51a477..8bcbd97b48 100644 --- a/packages/backend/src/core/chart/charts/ap-request.ts +++ b/packages/backend/src/core/chart/charts/ap-request.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable, Inject } from '@nestjs/common'; import { DataSource } from 'typeorm'; diff --git a/packages/backend/src/core/chart/charts/drive.ts b/packages/backend/src/core/chart/charts/drive.ts index 872ce6f654..eff5416670 100644 --- a/packages/backend/src/core/chart/charts/drive.ts +++ b/packages/backend/src/core/chart/charts/drive.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable, Inject } from '@nestjs/common'; import { DataSource } from 'typeorm'; diff --git a/packages/backend/src/core/chart/charts/entities/active-users.ts b/packages/backend/src/core/chart/charts/entities/active-users.ts index d2225d2a90..e68022ef29 100644 --- a/packages/backend/src/core/chart/charts/entities/active-users.ts +++ b/packages/backend/src/core/chart/charts/entities/active-users.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import Chart from '../../core.js'; diff --git a/packages/backend/src/core/chart/charts/entities/ap-request.ts b/packages/backend/src/core/chart/charts/entities/ap-request.ts index 22914dd7c6..a824515255 100644 --- a/packages/backend/src/core/chart/charts/entities/ap-request.ts +++ b/packages/backend/src/core/chart/charts/entities/ap-request.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import Chart from '../../core.js'; diff --git a/packages/backend/src/core/chart/charts/entities/drive.ts b/packages/backend/src/core/chart/charts/entities/drive.ts index e005df5e71..4a56bd45c5 100644 --- a/packages/backend/src/core/chart/charts/entities/drive.ts +++ b/packages/backend/src/core/chart/charts/entities/drive.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import Chart from '../../core.js'; diff --git a/packages/backend/src/core/chart/charts/entities/federation.ts b/packages/backend/src/core/chart/charts/entities/federation.ts index a39181105d..e067c71a7f 100644 --- a/packages/backend/src/core/chart/charts/entities/federation.ts +++ b/packages/backend/src/core/chart/charts/entities/federation.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import Chart from '../../core.js'; diff --git a/packages/backend/src/core/chart/charts/entities/instance.ts b/packages/backend/src/core/chart/charts/entities/instance.ts index 2412969688..4ea10d56d1 100644 --- a/packages/backend/src/core/chart/charts/entities/instance.ts +++ b/packages/backend/src/core/chart/charts/entities/instance.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import Chart from '../../core.js'; diff --git a/packages/backend/src/core/chart/charts/entities/notes.ts b/packages/backend/src/core/chart/charts/entities/notes.ts index c8521765e2..26e2529b17 100644 --- a/packages/backend/src/core/chart/charts/entities/notes.ts +++ b/packages/backend/src/core/chart/charts/entities/notes.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import Chart from '../../core.js'; diff --git a/packages/backend/src/core/chart/charts/entities/per-user-drive.ts b/packages/backend/src/core/chart/charts/entities/per-user-drive.ts index 65fe95fa51..aec3dd5140 100644 --- a/packages/backend/src/core/chart/charts/entities/per-user-drive.ts +++ b/packages/backend/src/core/chart/charts/entities/per-user-drive.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import Chart from '../../core.js'; diff --git a/packages/backend/src/core/chart/charts/entities/per-user-following.ts b/packages/backend/src/core/chart/charts/entities/per-user-following.ts index a529541321..afb5813058 100644 --- a/packages/backend/src/core/chart/charts/entities/per-user-following.ts +++ b/packages/backend/src/core/chart/charts/entities/per-user-following.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import Chart from '../../core.js'; diff --git a/packages/backend/src/core/chart/charts/entities/per-user-notes.ts b/packages/backend/src/core/chart/charts/entities/per-user-notes.ts index 9bf43d39b0..60a0b01c8e 100644 --- a/packages/backend/src/core/chart/charts/entities/per-user-notes.ts +++ b/packages/backend/src/core/chart/charts/entities/per-user-notes.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import Chart from '../../core.js'; diff --git a/packages/backend/src/core/chart/charts/entities/per-user-pv.ts b/packages/backend/src/core/chart/charts/entities/per-user-pv.ts index df0889476a..78d4464d7e 100644 --- a/packages/backend/src/core/chart/charts/entities/per-user-pv.ts +++ b/packages/backend/src/core/chart/charts/entities/per-user-pv.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import Chart from '../../core.js'; diff --git a/packages/backend/src/core/chart/charts/entities/per-user-reactions.ts b/packages/backend/src/core/chart/charts/entities/per-user-reactions.ts index 534bfbfbca..761101d479 100644 --- a/packages/backend/src/core/chart/charts/entities/per-user-reactions.ts +++ b/packages/backend/src/core/chart/charts/entities/per-user-reactions.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import Chart from '../../core.js'; diff --git a/packages/backend/src/core/chart/charts/entities/test-grouped.ts b/packages/backend/src/core/chart/charts/entities/test-grouped.ts index 654591f1d6..15eb1fd1f8 100644 --- a/packages/backend/src/core/chart/charts/entities/test-grouped.ts +++ b/packages/backend/src/core/chart/charts/entities/test-grouped.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import Chart from '../../core.js'; diff --git a/packages/backend/src/core/chart/charts/entities/test-intersection.ts b/packages/backend/src/core/chart/charts/entities/test-intersection.ts index 0a25f0ae3f..2ef63977a5 100644 --- a/packages/backend/src/core/chart/charts/entities/test-intersection.ts +++ b/packages/backend/src/core/chart/charts/entities/test-intersection.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import Chart from '../../core.js'; diff --git a/packages/backend/src/core/chart/charts/entities/test-unique.ts b/packages/backend/src/core/chart/charts/entities/test-unique.ts index e573d7edd8..56233585db 100644 --- a/packages/backend/src/core/chart/charts/entities/test-unique.ts +++ b/packages/backend/src/core/chart/charts/entities/test-unique.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import Chart from '../../core.js'; diff --git a/packages/backend/src/core/chart/charts/entities/test.ts b/packages/backend/src/core/chart/charts/entities/test.ts index 847f0e6a82..163db4e79f 100644 --- a/packages/backend/src/core/chart/charts/entities/test.ts +++ b/packages/backend/src/core/chart/charts/entities/test.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import Chart from '../../core.js'; diff --git a/packages/backend/src/core/chart/charts/entities/users.ts b/packages/backend/src/core/chart/charts/entities/users.ts index e450ac6cee..c7bffd3fd4 100644 --- a/packages/backend/src/core/chart/charts/entities/users.ts +++ b/packages/backend/src/core/chart/charts/entities/users.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import Chart from '../../core.js'; diff --git a/packages/backend/src/core/chart/charts/federation.ts b/packages/backend/src/core/chart/charts/federation.ts index 21daaca56b..6d42dab9b4 100644 --- a/packages/backend/src/core/chart/charts/federation.ts +++ b/packages/backend/src/core/chart/charts/federation.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable, Inject } from '@nestjs/common'; import { DataSource } from 'typeorm'; diff --git a/packages/backend/src/core/chart/charts/instance.ts b/packages/backend/src/core/chart/charts/instance.ts index d5ca2fecb4..08592855dc 100644 --- a/packages/backend/src/core/chart/charts/instance.ts +++ b/packages/backend/src/core/chart/charts/instance.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable, Inject } from '@nestjs/common'; import { DataSource } from 'typeorm'; diff --git a/packages/backend/src/core/chart/charts/notes.ts b/packages/backend/src/core/chart/charts/notes.ts index ebae1e1912..5b18bcff5a 100644 --- a/packages/backend/src/core/chart/charts/notes.ts +++ b/packages/backend/src/core/chart/charts/notes.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable, Inject } from '@nestjs/common'; import { Not, IsNull, DataSource } from 'typeorm'; diff --git a/packages/backend/src/core/chart/charts/per-user-drive.ts b/packages/backend/src/core/chart/charts/per-user-drive.ts index fe22dd665d..a3ee4c2958 100644 --- a/packages/backend/src/core/chart/charts/per-user-drive.ts +++ b/packages/backend/src/core/chart/charts/per-user-drive.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable, Inject } from '@nestjs/common'; import { DataSource } from 'typeorm'; diff --git a/packages/backend/src/core/chart/charts/per-user-following.ts b/packages/backend/src/core/chart/charts/per-user-following.ts index 4a82da7d25..ee629772b2 100644 --- a/packages/backend/src/core/chart/charts/per-user-following.ts +++ b/packages/backend/src/core/chart/charts/per-user-following.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable, Inject } from '@nestjs/common'; import { Not, IsNull, DataSource } from 'typeorm'; diff --git a/packages/backend/src/core/chart/charts/per-user-notes.ts b/packages/backend/src/core/chart/charts/per-user-notes.ts index 1a3845d8a1..796fe29eac 100644 --- a/packages/backend/src/core/chart/charts/per-user-notes.ts +++ b/packages/backend/src/core/chart/charts/per-user-notes.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable, Inject } from '@nestjs/common'; import { DataSource } from 'typeorm'; diff --git a/packages/backend/src/core/chart/charts/per-user-pv.ts b/packages/backend/src/core/chart/charts/per-user-pv.ts index 005d155e9a..efab633fa2 100644 --- a/packages/backend/src/core/chart/charts/per-user-pv.ts +++ b/packages/backend/src/core/chart/charts/per-user-pv.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable, Inject } from '@nestjs/common'; import { DataSource } from 'typeorm'; diff --git a/packages/backend/src/core/chart/charts/per-user-reactions.ts b/packages/backend/src/core/chart/charts/per-user-reactions.ts index 7ebe8de9dd..b6e89f2177 100644 --- a/packages/backend/src/core/chart/charts/per-user-reactions.ts +++ b/packages/backend/src/core/chart/charts/per-user-reactions.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable, Inject } from '@nestjs/common'; import { DataSource } from 'typeorm'; diff --git a/packages/backend/src/core/chart/charts/test-grouped.ts b/packages/backend/src/core/chart/charts/test-grouped.ts index 56d4aa4d07..452f54330e 100644 --- a/packages/backend/src/core/chart/charts/test-grouped.ts +++ b/packages/backend/src/core/chart/charts/test-grouped.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable, Inject } from '@nestjs/common'; import { DataSource } from 'typeorm'; diff --git a/packages/backend/src/core/chart/charts/test-intersection.ts b/packages/backend/src/core/chart/charts/test-intersection.ts index 98b9a0eb0c..0898f28128 100644 --- a/packages/backend/src/core/chart/charts/test-intersection.ts +++ b/packages/backend/src/core/chart/charts/test-intersection.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable, Inject } from '@nestjs/common'; import { DataSource } from 'typeorm'; diff --git a/packages/backend/src/core/chart/charts/test-unique.ts b/packages/backend/src/core/chart/charts/test-unique.ts index e155a47fda..96cc171945 100644 --- a/packages/backend/src/core/chart/charts/test-unique.ts +++ b/packages/backend/src/core/chart/charts/test-unique.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable, Inject } from '@nestjs/common'; import { DataSource } from 'typeorm'; diff --git a/packages/backend/src/core/chart/charts/test.ts b/packages/backend/src/core/chart/charts/test.ts index ef221c47b0..ce2eeb0d5a 100644 --- a/packages/backend/src/core/chart/charts/test.ts +++ b/packages/backend/src/core/chart/charts/test.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable, Inject } from '@nestjs/common'; import { DataSource } from 'typeorm'; diff --git a/packages/backend/src/core/chart/charts/users.ts b/packages/backend/src/core/chart/charts/users.ts index 7fdec15cce..347b1d24f7 100644 --- a/packages/backend/src/core/chart/charts/users.ts +++ b/packages/backend/src/core/chart/charts/users.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable, Inject } from '@nestjs/common'; import { Not, IsNull, DataSource } from 'typeorm'; diff --git a/packages/backend/src/core/chart/core.ts b/packages/backend/src/core/chart/core.ts index 988f0cca29..8d0a89f2d6 100644 --- a/packages/backend/src/core/chart/core.ts +++ b/packages/backend/src/core/chart/core.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /** * チャートエンジン diff --git a/packages/backend/src/core/chart/entities.ts b/packages/backend/src/core/chart/entities.ts index 9a0368a309..b6a1299a2f 100644 --- a/packages/backend/src/core/chart/entities.ts +++ b/packages/backend/src/core/chart/entities.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { entity as FederationChart } from './charts/entities/federation.js'; import { entity as NotesChart } from './charts/entities/notes.js'; diff --git a/packages/backend/src/core/entities/AbuseUserReportEntityService.ts b/packages/backend/src/core/entities/AbuseUserReportEntityService.ts index 286382e235..557174605c 100644 --- a/packages/backend/src/core/entities/AbuseUserReportEntityService.ts +++ b/packages/backend/src/core/entities/AbuseUserReportEntityService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/entities/AntennaEntityService.ts b/packages/backend/src/core/entities/AntennaEntityService.ts index 19ea5833de..662510603b 100644 --- a/packages/backend/src/core/entities/AntennaEntityService.ts +++ b/packages/backend/src/core/entities/AntennaEntityService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/entities/AppEntityService.ts b/packages/backend/src/core/entities/AppEntityService.ts index 28310af3c7..1a0c5e2c56 100644 --- a/packages/backend/src/core/entities/AppEntityService.ts +++ b/packages/backend/src/core/entities/AppEntityService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/entities/AuthSessionEntityService.ts b/packages/backend/src/core/entities/AuthSessionEntityService.ts index c4c4e446d6..a24495b559 100644 --- a/packages/backend/src/core/entities/AuthSessionEntityService.ts +++ b/packages/backend/src/core/entities/AuthSessionEntityService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/entities/BlockingEntityService.ts b/packages/backend/src/core/entities/BlockingEntityService.ts index 5a1b8fe96b..1b11450669 100644 --- a/packages/backend/src/core/entities/BlockingEntityService.ts +++ b/packages/backend/src/core/entities/BlockingEntityService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/entities/ChannelEntityService.ts b/packages/backend/src/core/entities/ChannelEntityService.ts index 593b2019b7..f62daa21c9 100644 --- a/packages/backend/src/core/entities/ChannelEntityService.ts +++ b/packages/backend/src/core/entities/ChannelEntityService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/entities/ClipEntityService.ts b/packages/backend/src/core/entities/ClipEntityService.ts index 6627935944..32009a8aad 100644 --- a/packages/backend/src/core/entities/ClipEntityService.ts +++ b/packages/backend/src/core/entities/ClipEntityService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/entities/DriveFileEntityService.ts b/packages/backend/src/core/entities/DriveFileEntityService.ts index 0ce79b8bca..315b4fae8a 100644 --- a/packages/backend/src/core/entities/DriveFileEntityService.ts +++ b/packages/backend/src/core/entities/DriveFileEntityService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { forwardRef, Inject, Injectable } from '@nestjs/common'; import { DataSource, In } from 'typeorm'; diff --git a/packages/backend/src/core/entities/DriveFolderEntityService.ts b/packages/backend/src/core/entities/DriveFolderEntityService.ts index c9530f2537..ab56116965 100644 --- a/packages/backend/src/core/entities/DriveFolderEntityService.ts +++ b/packages/backend/src/core/entities/DriveFolderEntityService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/entities/EmojiEntityService.ts b/packages/backend/src/core/entities/EmojiEntityService.ts index a86730d31f..263117bd3d 100644 --- a/packages/backend/src/core/entities/EmojiEntityService.ts +++ b/packages/backend/src/core/entities/EmojiEntityService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/entities/FlashEntityService.ts b/packages/backend/src/core/entities/FlashEntityService.ts index 546782651f..4c95d83481 100644 --- a/packages/backend/src/core/entities/FlashEntityService.ts +++ b/packages/backend/src/core/entities/FlashEntityService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/entities/FlashLikeEntityService.ts b/packages/backend/src/core/entities/FlashLikeEntityService.ts index 397e88d03a..20a2b44bed 100644 --- a/packages/backend/src/core/entities/FlashLikeEntityService.ts +++ b/packages/backend/src/core/entities/FlashLikeEntityService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/entities/FollowRequestEntityService.ts b/packages/backend/src/core/entities/FollowRequestEntityService.ts index b72ce0f9eb..00ce3ae73e 100644 --- a/packages/backend/src/core/entities/FollowRequestEntityService.ts +++ b/packages/backend/src/core/entities/FollowRequestEntityService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/entities/FollowingEntityService.ts b/packages/backend/src/core/entities/FollowingEntityService.ts index 28d5def595..2c04e98c32 100644 --- a/packages/backend/src/core/entities/FollowingEntityService.ts +++ b/packages/backend/src/core/entities/FollowingEntityService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/entities/GalleryLikeEntityService.ts b/packages/backend/src/core/entities/GalleryLikeEntityService.ts index c859f8a899..7332ca4c50 100644 --- a/packages/backend/src/core/entities/GalleryLikeEntityService.ts +++ b/packages/backend/src/core/entities/GalleryLikeEntityService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/entities/GalleryPostEntityService.ts b/packages/backend/src/core/entities/GalleryPostEntityService.ts index 5be9dab125..0a0a03824b 100644 --- a/packages/backend/src/core/entities/GalleryPostEntityService.ts +++ b/packages/backend/src/core/entities/GalleryPostEntityService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/entities/HashtagEntityService.ts b/packages/backend/src/core/entities/HashtagEntityService.ts index 9d8fa9516d..f0ded6fdd4 100644 --- a/packages/backend/src/core/entities/HashtagEntityService.ts +++ b/packages/backend/src/core/entities/HashtagEntityService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/entities/InstanceEntityService.ts b/packages/backend/src/core/entities/InstanceEntityService.ts index fabde175db..c9d08f3f8b 100644 --- a/packages/backend/src/core/entities/InstanceEntityService.ts +++ b/packages/backend/src/core/entities/InstanceEntityService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/entities/InviteCodeEntityService.ts b/packages/backend/src/core/entities/InviteCodeEntityService.ts index ec2dbcf161..112572abe4 100644 --- a/packages/backend/src/core/entities/InviteCodeEntityService.ts +++ b/packages/backend/src/core/entities/InviteCodeEntityService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/entities/ModerationLogEntityService.ts b/packages/backend/src/core/entities/ModerationLogEntityService.ts index f48826dd67..29f1a03b2b 100644 --- a/packages/backend/src/core/entities/ModerationLogEntityService.ts +++ b/packages/backend/src/core/entities/ModerationLogEntityService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/entities/MutingEntityService.ts b/packages/backend/src/core/entities/MutingEntityService.ts index 83e833033f..b452740287 100644 --- a/packages/backend/src/core/entities/MutingEntityService.ts +++ b/packages/backend/src/core/entities/MutingEntityService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/entities/NoteEntityService.ts b/packages/backend/src/core/entities/NoteEntityService.ts index 46acc1ad75..2a2b962ed0 100644 --- a/packages/backend/src/core/entities/NoteEntityService.ts +++ b/packages/backend/src/core/entities/NoteEntityService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DataSource, In } from 'typeorm'; diff --git a/packages/backend/src/core/entities/NoteFavoriteEntityService.ts b/packages/backend/src/core/entities/NoteFavoriteEntityService.ts index 58613f3169..1597246dc2 100644 --- a/packages/backend/src/core/entities/NoteFavoriteEntityService.ts +++ b/packages/backend/src/core/entities/NoteFavoriteEntityService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/entities/NoteReactionEntityService.ts b/packages/backend/src/core/entities/NoteReactionEntityService.ts index 9ad299ed06..cc20334fdb 100644 --- a/packages/backend/src/core/entities/NoteReactionEntityService.ts +++ b/packages/backend/src/core/entities/NoteReactionEntityService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/entities/NotificationEntityService.ts b/packages/backend/src/core/entities/NotificationEntityService.ts index 7e7f36544b..cc6f0a49dd 100644 --- a/packages/backend/src/core/entities/NotificationEntityService.ts +++ b/packages/backend/src/core/entities/NotificationEntityService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { ModuleRef } from '@nestjs/core'; diff --git a/packages/backend/src/core/entities/PageEntityService.ts b/packages/backend/src/core/entities/PageEntityService.ts index c33ec72059..8f51daeb9b 100644 --- a/packages/backend/src/core/entities/PageEntityService.ts +++ b/packages/backend/src/core/entities/PageEntityService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/entities/PageLikeEntityService.ts b/packages/backend/src/core/entities/PageLikeEntityService.ts index e93fdd239c..1a14d5cac3 100644 --- a/packages/backend/src/core/entities/PageLikeEntityService.ts +++ b/packages/backend/src/core/entities/PageLikeEntityService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/entities/RenoteMutingEntityService.ts b/packages/backend/src/core/entities/RenoteMutingEntityService.ts index d489c4c667..ca192379fe 100644 --- a/packages/backend/src/core/entities/RenoteMutingEntityService.ts +++ b/packages/backend/src/core/entities/RenoteMutingEntityService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/entities/RoleEntityService.ts b/packages/backend/src/core/entities/RoleEntityService.ts index 59ca7f0621..19c672c118 100644 --- a/packages/backend/src/core/entities/RoleEntityService.ts +++ b/packages/backend/src/core/entities/RoleEntityService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Brackets } from 'typeorm'; diff --git a/packages/backend/src/core/entities/SigninEntityService.ts b/packages/backend/src/core/entities/SigninEntityService.ts index f0d760d729..70002b5e47 100644 --- a/packages/backend/src/core/entities/SigninEntityService.ts +++ b/packages/backend/src/core/entities/SigninEntityService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/entities/UserEntityService.ts b/packages/backend/src/core/entities/UserEntityService.ts index 1ec018550f..f72fc19d45 100644 --- a/packages/backend/src/core/entities/UserEntityService.ts +++ b/packages/backend/src/core/entities/UserEntityService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { In, Not } from 'typeorm'; diff --git a/packages/backend/src/core/entities/UserListEntityService.ts b/packages/backend/src/core/entities/UserListEntityService.ts index 0bdfa73225..fd72018a3a 100644 --- a/packages/backend/src/core/entities/UserListEntityService.ts +++ b/packages/backend/src/core/entities/UserListEntityService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/daemons/DaemonModule.ts b/packages/backend/src/daemons/DaemonModule.ts index d3c1612b05..7543a2ea3d 100644 --- a/packages/backend/src/daemons/DaemonModule.ts +++ b/packages/backend/src/daemons/DaemonModule.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Module } from '@nestjs/common'; import { CoreModule } from '@/core/CoreModule.js'; diff --git a/packages/backend/src/daemons/JanitorService.ts b/packages/backend/src/daemons/JanitorService.ts index da6fb3fd99..6f5e5a7f3b 100644 --- a/packages/backend/src/daemons/JanitorService.ts +++ b/packages/backend/src/daemons/JanitorService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { LessThan } from 'typeorm'; diff --git a/packages/backend/src/daemons/QueueStatsService.ts b/packages/backend/src/daemons/QueueStatsService.ts index 47e5d59e67..dc9482f022 100644 --- a/packages/backend/src/daemons/QueueStatsService.ts +++ b/packages/backend/src/daemons/QueueStatsService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import Xev from 'xev'; diff --git a/packages/backend/src/daemons/ServerStatsService.ts b/packages/backend/src/daemons/ServerStatsService.ts index 0df871cd28..95026099e8 100644 --- a/packages/backend/src/daemons/ServerStatsService.ts +++ b/packages/backend/src/daemons/ServerStatsService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import si from 'systeminformation'; diff --git a/packages/backend/src/decorators.ts b/packages/backend/src/decorators.ts index 5099a8d62c..6b439978db 100644 --- a/packages/backend/src/decorators.ts +++ b/packages/backend/src/decorators.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ // https://github.com/andreypopp/autobind-decorator diff --git a/packages/backend/src/di-symbols.ts b/packages/backend/src/di-symbols.ts index cd5dd3422f..c911f60566 100644 --- a/packages/backend/src/di-symbols.ts +++ b/packages/backend/src/di-symbols.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export const DI = { config: Symbol('config'), diff --git a/packages/backend/src/env.ts b/packages/backend/src/env.ts index 2695c08ebf..af1c3bdd3c 100644 --- a/packages/backend/src/env.ts +++ b/packages/backend/src/env.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ const envOption = { onlyQueue: false, diff --git a/packages/backend/src/global.d.ts b/packages/backend/src/global.d.ts index 65b24582f1..a9e6243cc4 100644 --- a/packages/backend/src/global.d.ts +++ b/packages/backend/src/global.d.ts @@ -1,5 +1,6 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ type FIXME = any; diff --git a/packages/backend/src/logger.ts b/packages/backend/src/logger.ts index 0bf54b0ed6..92ea3d13a1 100644 --- a/packages/backend/src/logger.ts +++ b/packages/backend/src/logger.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import cluster from 'node:cluster'; import chalk from 'chalk'; diff --git a/packages/backend/src/misc/acct.ts b/packages/backend/src/misc/acct.ts index 796245a01b..5db72746c0 100644 --- a/packages/backend/src/misc/acct.ts +++ b/packages/backend/src/misc/acct.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export type Acct = { username: string; diff --git a/packages/backend/src/misc/api-permissions.ts b/packages/backend/src/misc/api-permissions.ts index f8838205ca..57c9308844 100644 --- a/packages/backend/src/misc/api-permissions.ts +++ b/packages/backend/src/misc/api-permissions.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export const kinds = [ 'read:account', diff --git a/packages/backend/src/misc/cache.ts b/packages/backend/src/misc/cache.ts index cf9672874e..046d4d6c2f 100644 --- a/packages/backend/src/misc/cache.ts +++ b/packages/backend/src/misc/cache.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as Redis from 'ioredis'; import { bindThis } from '@/decorators.js'; diff --git a/packages/backend/src/misc/check-https.ts b/packages/backend/src/misc/check-https.ts index 2fdea7efa3..0b13ccabdd 100644 --- a/packages/backend/src/misc/check-https.ts +++ b/packages/backend/src/misc/check-https.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export function checkHttps(url: string): boolean { return url.startsWith('https://') || diff --git a/packages/backend/src/misc/check-word-mute.ts b/packages/backend/src/misc/check-word-mute.ts index 7220671d16..0a8f75c8fd 100644 --- a/packages/backend/src/misc/check-word-mute.ts +++ b/packages/backend/src/misc/check-word-mute.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { AhoCorasick } from 'slacc'; import RE2 from 're2'; diff --git a/packages/backend/src/misc/clone.ts b/packages/backend/src/misc/clone.ts index 8ec8317e10..9d20deac3b 100644 --- a/packages/backend/src/misc/clone.ts +++ b/packages/backend/src/misc/clone.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ // structredCloneが遅いため // SEE: http://var.blog.jp/archives/86038606.html diff --git a/packages/backend/src/misc/content-disposition.ts b/packages/backend/src/misc/content-disposition.ts index 70fe631665..1ac8c88d21 100644 --- a/packages/backend/src/misc/content-disposition.ts +++ b/packages/backend/src/misc/content-disposition.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import cd from 'content-disposition'; diff --git a/packages/backend/src/misc/correct-filename.ts b/packages/backend/src/misc/correct-filename.ts index 085f092f72..a702f0be0d 100644 --- a/packages/backend/src/misc/correct-filename.ts +++ b/packages/backend/src/misc/correct-filename.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ // 与えられた拡張子とファイル名が一致しているかどうかを確認し、 // 一致していない場合は拡張子を付与して返す diff --git a/packages/backend/src/misc/create-temp.ts b/packages/backend/src/misc/create-temp.ts index f2714477a1..2bb0e88489 100644 --- a/packages/backend/src/misc/create-temp.ts +++ b/packages/backend/src/misc/create-temp.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as tmp from 'tmp'; diff --git a/packages/backend/src/misc/dev-null.ts b/packages/backend/src/misc/dev-null.ts index c22bb24fa8..f510177c0b 100644 --- a/packages/backend/src/misc/dev-null.ts +++ b/packages/backend/src/misc/dev-null.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Writable, WritableOptions } from 'node:stream'; diff --git a/packages/backend/src/misc/emoji-regex.ts b/packages/backend/src/misc/emoji-regex.ts index 5a39ccc372..24e4092aeb 100644 --- a/packages/backend/src/misc/emoji-regex.ts +++ b/packages/backend/src/misc/emoji-regex.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ // taken from twemoji-parser/dist/lib/regex.js const twemojiRegex = /(?:\ud83d\udc68\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffc-\udfff]|\ud83e\uddd1\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffb\udffd-\udfff]|\ud83e\uddd1\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffb\udffc\udffe\udfff]|\ud83e\uddd1\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffb-\udffd\udfff]|\ud83e\uddd1\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffb-\udffe]|\ud83d\udc68\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffc-\udfff]|\ud83d\udc68\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffd-\udfff]|\ud83d\udc68\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc68\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffd\udfff]|\ud83d\udc68\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffe]|\ud83d\udc69\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffc-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffc-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffd-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb\udffd-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc69\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc69\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffd\udfff]|\ud83d\udc69\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb-\udffd\udfff]|\ud83d\udc69\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffe]|\ud83d\udc69\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb-\udffe]|\ud83e\uddd1\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffc-\udfff]|\ud83e\uddd1\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffb\udffd-\udfff]|\ud83e\uddd1\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffb\udffc\udffe\udfff]|\ud83e\uddd1\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffb-\udffd\udfff]|\ud83e\uddd1\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffb-\udffe]|\ud83e\uddd1\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68|\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d[\udc68\udc69]|\ud83e\udef1\ud83c\udffb\u200d\ud83e\udef2\ud83c[\udffc-\udfff]|\ud83e\udef1\ud83c\udffc\u200d\ud83e\udef2\ud83c[\udffb\udffd-\udfff]|\ud83e\udef1\ud83c\udffd\u200d\ud83e\udef2\ud83c[\udffb\udffc\udffe\udfff]|\ud83e\udef1\ud83c\udffe\u200d\ud83e\udef2\ud83c[\udffb-\udffd\udfff]|\ud83e\udef1\ud83c\udfff\u200d\ud83e\udef2\ud83c[\udffb-\udffe]|\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc68|\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d[\udc68\udc69]|\ud83e\uddd1\u200d\ud83e\udd1d\u200d\ud83e\uddd1|\ud83d\udc6b\ud83c[\udffb-\udfff]|\ud83d\udc6c\ud83c[\udffb-\udfff]|\ud83d\udc6d\ud83c[\udffb-\udfff]|\ud83d\udc8f\ud83c[\udffb-\udfff]|\ud83d\udc91\ud83c[\udffb-\udfff]|\ud83e\udd1d\ud83c[\udffb-\udfff]|\ud83d[\udc6b-\udc6d\udc8f\udc91]|\ud83e\udd1d)|(?:\ud83d[\udc68\udc69]|\ud83e\uddd1)(?:\ud83c[\udffb-\udfff])?\u200d(?:\u2695\ufe0f|\u2696\ufe0f|\u2708\ufe0f|\ud83c[\udf3e\udf73\udf7c\udf84\udf93\udfa4\udfa8\udfeb\udfed]|\ud83d[\udcbb\udcbc\udd27\udd2c\ude80\ude92]|\ud83e[\uddaf-\uddb3\uddbc\uddbd])|(?:\ud83c[\udfcb\udfcc]|\ud83d[\udd74\udd75]|\u26f9)((?:\ud83c[\udffb-\udfff]|\ufe0f)\u200d[\u2640\u2642]\ufe0f)|(?:\ud83c[\udfc3\udfc4\udfca]|\ud83d[\udc6e\udc70\udc71\udc73\udc77\udc81\udc82\udc86\udc87\ude45-\ude47\ude4b\ude4d\ude4e\udea3\udeb4-\udeb6]|\ud83e[\udd26\udd35\udd37-\udd39\udd3d\udd3e\uddb8\uddb9\uddcd-\uddcf\uddd4\uddd6-\udddd])(?:\ud83c[\udffb-\udfff])?\u200d[\u2640\u2642]\ufe0f|(?:\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f|\ud83c\udff3\ufe0f\u200d\ud83c\udf08|\ud83d\ude36\u200d\ud83c\udf2b\ufe0f|\u2764\ufe0f\u200d\ud83d\udd25|\u2764\ufe0f\u200d\ud83e\ude79|\ud83c\udff4\u200d\u2620\ufe0f|\ud83d\udc15\u200d\ud83e\uddba|\ud83d\udc3b\u200d\u2744\ufe0f|\ud83d\udc41\u200d\ud83d\udde8|\ud83d\udc68\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83d\udc6f\u200d\u2640\ufe0f|\ud83d\udc6f\u200d\u2642\ufe0f|\ud83d\ude2e\u200d\ud83d\udca8|\ud83d\ude35\u200d\ud83d\udcab|\ud83e\udd3c\u200d\u2640\ufe0f|\ud83e\udd3c\u200d\u2642\ufe0f|\ud83e\uddde\u200d\u2640\ufe0f|\ud83e\uddde\u200d\u2642\ufe0f|\ud83e\udddf\u200d\u2640\ufe0f|\ud83e\udddf\u200d\u2642\ufe0f|\ud83d\udc08\u200d\u2b1b)|[#*0-9]\ufe0f?\u20e3|(?:[©®\u2122\u265f]\ufe0f)|(?:\ud83c[\udc04\udd70\udd71\udd7e\udd7f\ude02\ude1a\ude2f\ude37\udf21\udf24-\udf2c\udf36\udf7d\udf96\udf97\udf99-\udf9b\udf9e\udf9f\udfcd\udfce\udfd4-\udfdf\udff3\udff5\udff7]|\ud83d[\udc3f\udc41\udcfd\udd49\udd4a\udd6f\udd70\udd73\udd76-\udd79\udd87\udd8a-\udd8d\udda5\udda8\uddb1\uddb2\uddbc\uddc2-\uddc4\uddd1-\uddd3\udddc-\uddde\udde1\udde3\udde8\uddef\uddf3\uddfa\udecb\udecd-\udecf\udee0-\udee5\udee9\udef0\udef3]|[\u203c\u2049\u2139\u2194-\u2199\u21a9\u21aa\u231a\u231b\u2328\u23cf\u23ed-\u23ef\u23f1\u23f2\u23f8-\u23fa\u24c2\u25aa\u25ab\u25b6\u25c0\u25fb-\u25fe\u2600-\u2604\u260e\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262a\u262e\u262f\u2638-\u263a\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267b\u267f\u2692-\u2697\u2699\u269b\u269c\u26a0\u26a1\u26a7\u26aa\u26ab\u26b0\u26b1\u26bd\u26be\u26c4\u26c5\u26c8\u26cf\u26d1\u26d3\u26d4\u26e9\u26ea\u26f0-\u26f5\u26f8\u26fa\u26fd\u2702\u2708\u2709\u270f\u2712\u2714\u2716\u271d\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u2764\u27a1\u2934\u2935\u2b05-\u2b07\u2b1b\u2b1c\u2b50\u2b55\u3030\u303d\u3297\u3299])(?:\ufe0f|(?!\ufe0e))|(?:(?:\ud83c[\udfcb\udfcc]|\ud83d[\udd74\udd75\udd90]|[\u261d\u26f7\u26f9\u270c\u270d])(?:\ufe0f|(?!\ufe0e))|(?:\ud83c[\udf85\udfc2-\udfc4\udfc7\udfca]|\ud83d[\udc42\udc43\udc46-\udc50\udc66-\udc69\udc6e\udc70-\udc78\udc7c\udc81-\udc83\udc85-\udc87\udcaa\udd7a\udd95\udd96\ude45-\ude47\ude4b-\ude4f\udea3\udeb4-\udeb6\udec0\udecc]|\ud83e[\udd0c\udd0f\udd18-\udd1c\udd1e\udd1f\udd26\udd30-\udd39\udd3d\udd3e\udd77\uddb5\uddb6\uddb8\uddb9\uddbb\uddcd-\uddcf\uddd1-\udddd\udec3-\udec5\udef0-\udef6]|[\u270a\u270b]))(?:\ud83c[\udffb-\udfff])?|(?:\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f|\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc73\udb40\udc63\udb40\udc74\udb40\udc7f|\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc77\udb40\udc6c\udb40\udc73\udb40\udc7f|\ud83c\udde6\ud83c[\udde8-\uddec\uddee\uddf1\uddf2\uddf4\uddf6-\uddfa\uddfc\uddfd\uddff]|\ud83c\udde7\ud83c[\udde6\udde7\udde9-\uddef\uddf1-\uddf4\uddf6-\uddf9\uddfb\uddfc\uddfe\uddff]|\ud83c\udde8\ud83c[\udde6\udde8\udde9\uddeb-\uddee\uddf0-\uddf5\uddf7\uddfa-\uddff]|\ud83c\udde9\ud83c[\uddea\uddec\uddef\uddf0\uddf2\uddf4\uddff]|\ud83c\uddea\ud83c[\udde6\udde8\uddea\uddec\udded\uddf7-\uddfa]|\ud83c\uddeb\ud83c[\uddee-\uddf0\uddf2\uddf4\uddf7]|\ud83c\uddec\ud83c[\udde6\udde7\udde9-\uddee\uddf1-\uddf3\uddf5-\uddfa\uddfc\uddfe]|\ud83c\udded\ud83c[\uddf0\uddf2\uddf3\uddf7\uddf9\uddfa]|\ud83c\uddee\ud83c[\udde8-\uddea\uddf1-\uddf4\uddf6-\uddf9]|\ud83c\uddef\ud83c[\uddea\uddf2\uddf4\uddf5]|\ud83c\uddf0\ud83c[\uddea\uddec-\uddee\uddf2\uddf3\uddf5\uddf7\uddfc\uddfe\uddff]|\ud83c\uddf1\ud83c[\udde6-\udde8\uddee\uddf0\uddf7-\uddfb\uddfe]|\ud83c\uddf2\ud83c[\udde6\udde8-\udded\uddf0-\uddff]|\ud83c\uddf3\ud83c[\udde6\udde8\uddea-\uddec\uddee\uddf1\uddf4\uddf5\uddf7\uddfa\uddff]|\ud83c\uddf4\ud83c\uddf2|\ud83c\uddf5\ud83c[\udde6\uddea-\udded\uddf0-\uddf3\uddf7-\uddf9\uddfc\uddfe]|\ud83c\uddf6\ud83c\udde6|\ud83c\uddf7\ud83c[\uddea\uddf4\uddf8\uddfa\uddfc]|\ud83c\uddf8\ud83c[\udde6-\uddea\uddec-\uddf4\uddf7-\uddf9\uddfb\uddfd-\uddff]|\ud83c\uddf9\ud83c[\udde6\udde8\udde9\uddeb-\udded\uddef-\uddf4\uddf7\uddf9\uddfb\uddfc\uddff]|\ud83c\uddfa\ud83c[\udde6\uddec\uddf2\uddf3\uddf8\uddfe\uddff]|\ud83c\uddfb\ud83c[\udde6\udde8\uddea\uddec\uddee\uddf3\uddfa]|\ud83c\uddfc\ud83c[\uddeb\uddf8]|\ud83c\uddfd\ud83c\uddf0|\ud83c\uddfe\ud83c[\uddea\uddf9]|\ud83c\uddff\ud83c[\udde6\uddf2\uddfc]|\ud83c[\udccf\udd8e\udd91-\udd9a\udde6-\uddff\ude01\ude32-\ude36\ude38-\ude3a\ude50\ude51\udf00-\udf20\udf2d-\udf35\udf37-\udf7c\udf7e-\udf84\udf86-\udf93\udfa0-\udfc1\udfc5\udfc6\udfc8\udfc9\udfcf-\udfd3\udfe0-\udff0\udff4\udff8-\udfff]|\ud83d[\udc00-\udc3e\udc40\udc44\udc45\udc51-\udc65\udc6a\udc6f\udc79-\udc7b\udc7d-\udc80\udc84\udc88-\udc8e\udc90\udc92-\udca9\udcab-\udcfc\udcff-\udd3d\udd4b-\udd4e\udd50-\udd67\udda4\uddfb-\ude44\ude48-\ude4a\ude80-\udea2\udea4-\udeb3\udeb7-\udebf\udec1-\udec5\uded0-\uded2\uded5-\uded7\udedd-\udedf\udeeb\udeec\udef4-\udefc\udfe0-\udfeb\udff0]|\ud83e[\udd0d\udd0e\udd10-\udd17\udd20-\udd25\udd27-\udd2f\udd3a\udd3c\udd3f-\udd45\udd47-\udd76\udd78-\uddb4\uddb7\uddba\uddbc-\uddcc\uddd0\uddde-\uddff\ude70-\ude74\ude78-\ude7c\ude80-\ude86\ude90-\udeac\udeb0-\udeba\udec0-\udec2\uded0-\uded9\udee0-\udee7]|[\u23e9-\u23ec\u23f0\u23f3\u267e\u26ce\u2705\u2728\u274c\u274e\u2753-\u2755\u2795-\u2797\u27b0\u27bf\ue50a])|\ufe0f/g; diff --git a/packages/backend/src/misc/extract-custom-emojis-from-mfm.ts b/packages/backend/src/misc/extract-custom-emojis-from-mfm.ts index e21fec28c9..0b898d47e8 100644 --- a/packages/backend/src/misc/extract-custom-emojis-from-mfm.ts +++ b/packages/backend/src/misc/extract-custom-emojis-from-mfm.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as mfm from 'mfm-js'; import { unique } from '@/misc/prelude/array.js'; diff --git a/packages/backend/src/misc/extract-hashtags.ts b/packages/backend/src/misc/extract-hashtags.ts index 17f0896e8d..3bd56e98eb 100644 --- a/packages/backend/src/misc/extract-hashtags.ts +++ b/packages/backend/src/misc/extract-hashtags.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as mfm from 'mfm-js'; import { unique } from '@/misc/prelude/array.js'; diff --git a/packages/backend/src/misc/extract-mentions.ts b/packages/backend/src/misc/extract-mentions.ts index 2e3f88ad40..272eb92192 100644 --- a/packages/backend/src/misc/extract-mentions.ts +++ b/packages/backend/src/misc/extract-mentions.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ // test is located in test/extract-mentions diff --git a/packages/backend/src/misc/fastify-reply-error.ts b/packages/backend/src/misc/fastify-reply-error.ts index 539f953120..7c889bab7a 100644 --- a/packages/backend/src/misc/fastify-reply-error.ts +++ b/packages/backend/src/misc/fastify-reply-error.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ // https://www.fastify.io/docs/latest/Reference/Reply/#async-await-and-promises export class FastifyReplyError extends Error { diff --git a/packages/backend/src/misc/gen-identicon.ts b/packages/backend/src/misc/gen-identicon.ts index cec0c1d383..c36b00af63 100644 --- a/packages/backend/src/misc/gen-identicon.ts +++ b/packages/backend/src/misc/gen-identicon.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /** * Identicon generator diff --git a/packages/backend/src/misc/gen-key-pair.ts b/packages/backend/src/misc/gen-key-pair.ts index 4578c7339e..c0815613e7 100644 --- a/packages/backend/src/misc/gen-key-pair.ts +++ b/packages/backend/src/misc/gen-key-pair.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as crypto from 'node:crypto'; import * as util from 'node:util'; diff --git a/packages/backend/src/misc/generate-invite-code.ts b/packages/backend/src/misc/generate-invite-code.ts index 8607d0679b..7c88561179 100644 --- a/packages/backend/src/misc/generate-invite-code.ts +++ b/packages/backend/src/misc/generate-invite-code.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { secureRndstr } from './secure-rndstr.js'; diff --git a/packages/backend/src/misc/generate-native-user-token.ts b/packages/backend/src/misc/generate-native-user-token.ts index 5ae943f72c..bfde2bc489 100644 --- a/packages/backend/src/misc/generate-native-user-token.ts +++ b/packages/backend/src/misc/generate-native-user-token.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { secureRndstr } from '@/misc/secure-rndstr.js'; diff --git a/packages/backend/src/misc/get-ip-hash.ts b/packages/backend/src/misc/get-ip-hash.ts index 377ff9a0f8..3a01e4f578 100644 --- a/packages/backend/src/misc/get-ip-hash.ts +++ b/packages/backend/src/misc/get-ip-hash.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import IPCIDR from 'ip-cidr'; diff --git a/packages/backend/src/misc/get-note-summary.ts b/packages/backend/src/misc/get-note-summary.ts index bca5914b08..1bda5cdcf7 100644 --- a/packages/backend/src/misc/get-note-summary.ts +++ b/packages/backend/src/misc/get-note-summary.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import type { Packed } from './json-schema.js'; diff --git a/packages/backend/src/misc/get-reaction-emoji.ts b/packages/backend/src/misc/get-reaction-emoji.ts index eddfc5b393..eac6630968 100644 --- a/packages/backend/src/misc/get-reaction-emoji.ts +++ b/packages/backend/src/misc/get-reaction-emoji.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export default function(reaction: string): string { switch (reaction) { diff --git a/packages/backend/src/misc/i18n.ts b/packages/backend/src/misc/i18n.ts index c43810049f..4c9d1a08e3 100644 --- a/packages/backend/src/misc/i18n.ts +++ b/packages/backend/src/misc/i18n.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class I18n> { public locale: T; diff --git a/packages/backend/src/misc/id/aid.ts b/packages/backend/src/misc/id/aid.ts index bf406bcdd0..ec8aa849c9 100644 --- a/packages/backend/src/misc/id/aid.ts +++ b/packages/backend/src/misc/id/aid.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ // AID // 長さ8の[2000年1月1日からの経過ミリ秒をbase36でエンコードしたもの] + 長さ2の[ノイズ文字列] diff --git a/packages/backend/src/misc/id/meid.ts b/packages/backend/src/misc/id/meid.ts index 65da3181bf..82cda37237 100644 --- a/packages/backend/src/misc/id/meid.ts +++ b/packages/backend/src/misc/id/meid.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ const CHARS = '0123456789abcdef'; diff --git a/packages/backend/src/misc/id/meidg.ts b/packages/backend/src/misc/id/meidg.ts index cbdc14a81f..fba7156718 100644 --- a/packages/backend/src/misc/id/meidg.ts +++ b/packages/backend/src/misc/id/meidg.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ const CHARS = '0123456789abcdef'; diff --git a/packages/backend/src/misc/id/object-id.ts b/packages/backend/src/misc/id/object-id.ts index a5a92bb306..e3b6e8e433 100644 --- a/packages/backend/src/misc/id/object-id.ts +++ b/packages/backend/src/misc/id/object-id.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ const CHARS = '0123456789abcdef'; diff --git a/packages/backend/src/misc/id/ulid.ts b/packages/backend/src/misc/id/ulid.ts index 466871e36b..00dd67dafe 100644 --- a/packages/backend/src/misc/id/ulid.ts +++ b/packages/backend/src/misc/id/ulid.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ // Crockford's Base32 // https://github.com/ulid/spec#encoding diff --git a/packages/backend/src/misc/identifiable-error.ts b/packages/backend/src/misc/identifiable-error.ts index 0e8c23a16e..71a4773fac 100644 --- a/packages/backend/src/misc/identifiable-error.ts +++ b/packages/backend/src/misc/identifiable-error.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /** * ID付きエラー diff --git a/packages/backend/src/misc/is-duplicate-key-value-error.ts b/packages/backend/src/misc/is-duplicate-key-value-error.ts index e5a2059116..91e0a6b93d 100644 --- a/packages/backend/src/misc/is-duplicate-key-value-error.ts +++ b/packages/backend/src/misc/is-duplicate-key-value-error.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { QueryFailedError } from 'typeorm'; diff --git a/packages/backend/src/misc/is-instance-muted.ts b/packages/backend/src/misc/is-instance-muted.ts index ec37dfd212..b231058a95 100644 --- a/packages/backend/src/misc/is-instance-muted.ts +++ b/packages/backend/src/misc/is-instance-muted.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import type { Packed } from './json-schema.js'; diff --git a/packages/backend/src/misc/is-mime-image.ts b/packages/backend/src/misc/is-mime-image.ts index 8bcefc3bb5..1a5a8cf0f4 100644 --- a/packages/backend/src/misc/is-mime-image.ts +++ b/packages/backend/src/misc/is-mime-image.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { FILE_TYPE_BROWSERSAFE } from '@/const.js'; diff --git a/packages/backend/src/misc/is-native-token.ts b/packages/backend/src/misc/is-native-token.ts index 5072359f5c..3046e72a34 100644 --- a/packages/backend/src/misc/is-native-token.ts +++ b/packages/backend/src/misc/is-native-token.ts @@ -1,5 +1,6 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export default (token: string) => token.length === 16; diff --git a/packages/backend/src/misc/is-not-null.ts b/packages/backend/src/misc/is-not-null.ts index 402d57be38..153a9e51ef 100644 --- a/packages/backend/src/misc/is-not-null.ts +++ b/packages/backend/src/misc/is-not-null.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ // we are using {} as "any non-nullish value" as expected // eslint-disable-next-line @typescript-eslint/ban-types diff --git a/packages/backend/src/misc/is-quote.ts b/packages/backend/src/misc/is-quote.ts index 5f3ea5aeb7..b8d7e9dabd 100644 --- a/packages/backend/src/misc/is-quote.ts +++ b/packages/backend/src/misc/is-quote.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import type { Note } from '@/models/entities/Note.js'; diff --git a/packages/backend/src/misc/is-user-related.ts b/packages/backend/src/misc/is-user-related.ts index 7302d8ed75..edd65a3c1c 100644 --- a/packages/backend/src/misc/is-user-related.ts +++ b/packages/backend/src/misc/is-user-related.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export function isUserRelated(note: any, userIds: Set): boolean { if (userIds.has(note.userId)) { diff --git a/packages/backend/src/misc/json-schema.ts b/packages/backend/src/misc/json-schema.ts index 1ef5b7eb10..ca8a030a62 100644 --- a/packages/backend/src/misc/json-schema.ts +++ b/packages/backend/src/misc/json-schema.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { packedUserLiteSchema, diff --git a/packages/backend/src/misc/langmap.ts b/packages/backend/src/misc/langmap.ts index 71ea340dce..9e287677df 100644 --- a/packages/backend/src/misc/langmap.ts +++ b/packages/backend/src/misc/langmap.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ // TODO: sharedに置いてフロントエンドのと統合したい export const langmap = { diff --git a/packages/backend/src/misc/normalize-for-search.ts b/packages/backend/src/misc/normalize-for-search.ts index a411d32542..9d96f4169d 100644 --- a/packages/backend/src/misc/normalize-for-search.ts +++ b/packages/backend/src/misc/normalize-for-search.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export function normalizeForSearch(tag: string): string { // ref. diff --git a/packages/backend/src/misc/nyaize.ts b/packages/backend/src/misc/nyaize.ts index 4286572a50..0ac77e1006 100644 --- a/packages/backend/src/misc/nyaize.ts +++ b/packages/backend/src/misc/nyaize.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export function nyaize(text: string): string { return text diff --git a/packages/backend/src/misc/prelude/array.ts b/packages/backend/src/misc/prelude/array.ts index 47e0117557..b2f29bcecf 100644 --- a/packages/backend/src/misc/prelude/array.ts +++ b/packages/backend/src/misc/prelude/array.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { EndoRelation, Predicate } from './relation.js'; diff --git a/packages/backend/src/misc/prelude/await-all.ts b/packages/backend/src/misc/prelude/await-all.ts index 47dea9c71b..6b8a91f8a5 100644 --- a/packages/backend/src/misc/prelude/await-all.ts +++ b/packages/backend/src/misc/prelude/await-all.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export type Promiseable = { [K in keyof T]: Promise | T[K]; diff --git a/packages/backend/src/misc/prelude/math.ts b/packages/backend/src/misc/prelude/math.ts index 1be7b64fac..87b5017d09 100644 --- a/packages/backend/src/misc/prelude/math.ts +++ b/packages/backend/src/misc/prelude/math.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export function gcd(a: number, b: number): number { return b === 0 ? a : gcd(b, a % b); diff --git a/packages/backend/src/misc/prelude/maybe.ts b/packages/backend/src/misc/prelude/maybe.ts index aa4a5b905f..17c100b80d 100644 --- a/packages/backend/src/misc/prelude/maybe.ts +++ b/packages/backend/src/misc/prelude/maybe.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export interface IMaybe { isJust(): this is IJust; diff --git a/packages/backend/src/misc/prelude/relation.ts b/packages/backend/src/misc/prelude/relation.ts index 41c622a30e..3456c1a0bc 100644 --- a/packages/backend/src/misc/prelude/relation.ts +++ b/packages/backend/src/misc/prelude/relation.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export type Predicate = (a: T) => boolean; diff --git a/packages/backend/src/misc/prelude/string.ts b/packages/backend/src/misc/prelude/string.ts index 307d3e2f85..a727ab7f1d 100644 --- a/packages/backend/src/misc/prelude/string.ts +++ b/packages/backend/src/misc/prelude/string.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export function concat(xs: string[]): string { return xs.join(''); diff --git a/packages/backend/src/misc/prelude/symbol.ts b/packages/backend/src/misc/prelude/symbol.ts index eac8f71031..91c058a845 100644 --- a/packages/backend/src/misc/prelude/symbol.ts +++ b/packages/backend/src/misc/prelude/symbol.ts @@ -1,5 +1,6 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export const fallback = Symbol('fallback'); diff --git a/packages/backend/src/misc/prelude/time.ts b/packages/backend/src/misc/prelude/time.ts index cdc3f68485..4479db1081 100644 --- a/packages/backend/src/misc/prelude/time.ts +++ b/packages/backend/src/misc/prelude/time.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ const dateTimeIntervals = { 'day': 86400000, diff --git a/packages/backend/src/misc/prelude/url.ts b/packages/backend/src/misc/prelude/url.ts index d46d7b89ed..633eb98218 100644 --- a/packages/backend/src/misc/prelude/url.ts +++ b/packages/backend/src/misc/prelude/url.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* objを検査して * 1. 配列に何も入っていない時はクエリを付けない diff --git a/packages/backend/src/misc/prelude/xml.ts b/packages/backend/src/misc/prelude/xml.ts index 16eff2b2ce..bca116a7ec 100644 --- a/packages/backend/src/misc/prelude/xml.ts +++ b/packages/backend/src/misc/prelude/xml.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ const map: Record = { '&': '&', diff --git a/packages/backend/src/misc/reset-db.ts b/packages/backend/src/misc/reset-db.ts index e04f5ffd0c..a571460a59 100644 --- a/packages/backend/src/misc/reset-db.ts +++ b/packages/backend/src/misc/reset-db.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import type { DataSource } from 'typeorm'; diff --git a/packages/backend/src/misc/safe-for-sql.ts b/packages/backend/src/misc/safe-for-sql.ts index 2f3b3a4925..d7bdd0a81c 100644 --- a/packages/backend/src/misc/safe-for-sql.ts +++ b/packages/backend/src/misc/safe-for-sql.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export function safeForSql(text: string): boolean { return !/[\0\x08\x09\x1a\n\r"'\\\%]/g.test(text); diff --git a/packages/backend/src/misc/secure-rndstr.ts b/packages/backend/src/misc/secure-rndstr.ts index b2057e7844..01368d808a 100644 --- a/packages/backend/src/misc/secure-rndstr.ts +++ b/packages/backend/src/misc/secure-rndstr.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as crypto from 'node:crypto'; diff --git a/packages/backend/src/misc/show-machine-info.ts b/packages/backend/src/misc/show-machine-info.ts index 9e11994656..ed0fa651f1 100644 --- a/packages/backend/src/misc/show-machine-info.ts +++ b/packages/backend/src/misc/show-machine-info.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as os from 'node:os'; import sysUtils from 'systeminformation'; diff --git a/packages/backend/src/misc/sql-like-escape.ts b/packages/backend/src/misc/sql-like-escape.ts index 0a6ec2c31e..85cc7405e1 100644 --- a/packages/backend/src/misc/sql-like-escape.ts +++ b/packages/backend/src/misc/sql-like-escape.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export function sqlLikeEscape(s: string) { return s.replace(/([%_])/g, '\\$1'); diff --git a/packages/backend/src/misc/status-error.ts b/packages/backend/src/misc/status-error.ts index 5eaa12800a..4285685d24 100644 --- a/packages/backend/src/misc/status-error.ts +++ b/packages/backend/src/misc/status-error.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class StatusError extends Error { public statusCode: number; diff --git a/packages/backend/src/misc/truncate.ts b/packages/backend/src/misc/truncate.ts index 06b27db58b..b65202fbd4 100644 --- a/packages/backend/src/misc/truncate.ts +++ b/packages/backend/src/misc/truncate.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { substring } from 'stringz'; diff --git a/packages/backend/src/models/RepositoryModule.ts b/packages/backend/src/models/RepositoryModule.ts index cfd681e7fc..1f8cb2a2a3 100644 --- a/packages/backend/src/models/RepositoryModule.ts +++ b/packages/backend/src/models/RepositoryModule.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Module } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/models/entities/AbuseUserReport.ts b/packages/backend/src/models/entities/AbuseUserReport.ts index 868ee4e86e..8da06e4266 100644 --- a/packages/backend/src/models/entities/AbuseUserReport.ts +++ b/packages/backend/src/models/entities/AbuseUserReport.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, JoinColumn, Column, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/AccessToken.ts b/packages/backend/src/models/entities/AccessToken.ts index 6f0e8e677f..b2713bb21f 100644 --- a/packages/backend/src/models/entities/AccessToken.ts +++ b/packages/backend/src/models/entities/AccessToken.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Entity, PrimaryColumn, Index, Column, ManyToOne, JoinColumn } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/Ad.ts b/packages/backend/src/models/entities/Ad.ts index 3f2b196966..2d99a20769 100644 --- a/packages/backend/src/models/entities/Ad.ts +++ b/packages/backend/src/models/entities/Ad.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Entity, Index, Column, PrimaryColumn } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/Announcement.ts b/packages/backend/src/models/entities/Announcement.ts index 607eb2d1aa..99cdf89330 100644 --- a/packages/backend/src/models/entities/Announcement.ts +++ b/packages/backend/src/models/entities/Announcement.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Entity, Index, Column, PrimaryColumn } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/AnnouncementRead.ts b/packages/backend/src/models/entities/AnnouncementRead.ts index b33d472736..13c90d4608 100644 --- a/packages/backend/src/models/entities/AnnouncementRead.ts +++ b/packages/backend/src/models/entities/AnnouncementRead.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, JoinColumn, Column, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/Antenna.ts b/packages/backend/src/models/entities/Antenna.ts index 1e8ae1d18d..95e246a0fd 100644 --- a/packages/backend/src/models/entities/Antenna.ts +++ b/packages/backend/src/models/entities/Antenna.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, JoinColumn, Column, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/App.ts b/packages/backend/src/models/entities/App.ts index 168cda30b5..7ed92a7fc7 100644 --- a/packages/backend/src/models/entities/App.ts +++ b/packages/backend/src/models/entities/App.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Entity, PrimaryColumn, Column, Index, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/AttestationChallenge.ts b/packages/backend/src/models/entities/AttestationChallenge.ts index bea9bf52a8..9a653c0271 100644 --- a/packages/backend/src/models/entities/AttestationChallenge.ts +++ b/packages/backend/src/models/entities/AttestationChallenge.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, JoinColumn, Column, ManyToOne, Index } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/AuthSession.ts b/packages/backend/src/models/entities/AuthSession.ts index 0eed3aabc6..ab34d3d0c3 100644 --- a/packages/backend/src/models/entities/AuthSession.ts +++ b/packages/backend/src/models/entities/AuthSession.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Entity, PrimaryColumn, Index, Column, ManyToOne, JoinColumn } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/Blocking.ts b/packages/backend/src/models/entities/Blocking.ts index cc4a3b63c4..ad0686abaf 100644 --- a/packages/backend/src/models/entities/Blocking.ts +++ b/packages/backend/src/models/entities/Blocking.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, JoinColumn, Column, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/Channel.ts b/packages/backend/src/models/entities/Channel.ts index eb4d7b3829..e04bb5e62c 100644 --- a/packages/backend/src/models/entities/Channel.ts +++ b/packages/backend/src/models/entities/Channel.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, JoinColumn, Column, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/ChannelFavorite.ts b/packages/backend/src/models/entities/ChannelFavorite.ts index 0ce5b76632..28a53f64e0 100644 --- a/packages/backend/src/models/entities/ChannelFavorite.ts +++ b/packages/backend/src/models/entities/ChannelFavorite.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, JoinColumn, Column, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/ChannelFollowing.ts b/packages/backend/src/models/entities/ChannelFollowing.ts index 4353529b45..c862cf3910 100644 --- a/packages/backend/src/models/entities/ChannelFollowing.ts +++ b/packages/backend/src/models/entities/ChannelFollowing.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, JoinColumn, Column, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/Clip.ts b/packages/backend/src/models/entities/Clip.ts index 3eb4132637..814e8231ed 100644 --- a/packages/backend/src/models/entities/Clip.ts +++ b/packages/backend/src/models/entities/Clip.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, JoinColumn, Column, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/ClipFavorite.ts b/packages/backend/src/models/entities/ClipFavorite.ts index 7a9ff18821..e0ec261cb4 100644 --- a/packages/backend/src/models/entities/ClipFavorite.ts +++ b/packages/backend/src/models/entities/ClipFavorite.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, JoinColumn, Column, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/ClipNote.ts b/packages/backend/src/models/entities/ClipNote.ts index 784992fb92..c4028163fb 100644 --- a/packages/backend/src/models/entities/ClipNote.ts +++ b/packages/backend/src/models/entities/ClipNote.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Entity, Index, JoinColumn, Column, ManyToOne, PrimaryColumn } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/DriveFile.ts b/packages/backend/src/models/entities/DriveFile.ts index de9902a2ee..7c70f5503a 100644 --- a/packages/backend/src/models/entities/DriveFile.ts +++ b/packages/backend/src/models/entities/DriveFile.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, JoinColumn, Column, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/DriveFolder.ts b/packages/backend/src/models/entities/DriveFolder.ts index 65b0a3e4e4..216279d3c5 100644 --- a/packages/backend/src/models/entities/DriveFolder.ts +++ b/packages/backend/src/models/entities/DriveFolder.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { JoinColumn, ManyToOne, Entity, PrimaryColumn, Index, Column } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/Emoji.ts b/packages/backend/src/models/entities/Emoji.ts index a871b57bfd..8c42045998 100644 --- a/packages/backend/src/models/entities/Emoji.ts +++ b/packages/backend/src/models/entities/Emoji.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, Column } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/Flash.ts b/packages/backend/src/models/entities/Flash.ts index 31e4b8b482..7443671838 100644 --- a/packages/backend/src/models/entities/Flash.ts +++ b/packages/backend/src/models/entities/Flash.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Entity, Index, JoinColumn, Column, PrimaryColumn, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/FlashLike.ts b/packages/backend/src/models/entities/FlashLike.ts index dc2949b559..f9890742d4 100644 --- a/packages/backend/src/models/entities/FlashLike.ts +++ b/packages/backend/src/models/entities/FlashLike.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, JoinColumn, Column, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/FollowRequest.ts b/packages/backend/src/models/entities/FollowRequest.ts index 21283c8b82..1dadddbdfd 100644 --- a/packages/backend/src/models/entities/FollowRequest.ts +++ b/packages/backend/src/models/entities/FollowRequest.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, JoinColumn, Column, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/Following.ts b/packages/backend/src/models/entities/Following.ts index 9b1a86fdf7..5230e40592 100644 --- a/packages/backend/src/models/entities/Following.ts +++ b/packages/backend/src/models/entities/Following.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, JoinColumn, Column, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/GalleryLike.ts b/packages/backend/src/models/entities/GalleryLike.ts index fca13fb2d4..9db4de596d 100644 --- a/packages/backend/src/models/entities/GalleryLike.ts +++ b/packages/backend/src/models/entities/GalleryLike.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, JoinColumn, Column, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/GalleryPost.ts b/packages/backend/src/models/entities/GalleryPost.ts index 910a09a644..455cb4b618 100644 --- a/packages/backend/src/models/entities/GalleryPost.ts +++ b/packages/backend/src/models/entities/GalleryPost.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Entity, Index, JoinColumn, Column, PrimaryColumn, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/Hashtag.ts b/packages/backend/src/models/entities/Hashtag.ts index 98780ce1cd..39e78d58f0 100644 --- a/packages/backend/src/models/entities/Hashtag.ts +++ b/packages/backend/src/models/entities/Hashtag.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Entity, PrimaryColumn, Index, Column } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/Instance.ts b/packages/backend/src/models/entities/Instance.ts index 76dffe76ee..67f8dfe5de 100644 --- a/packages/backend/src/models/entities/Instance.ts +++ b/packages/backend/src/models/entities/Instance.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Entity, PrimaryColumn, Index, Column } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/Meta.ts b/packages/backend/src/models/entities/Meta.ts index 58300b953f..bf05e2dd91 100644 --- a/packages/backend/src/models/entities/Meta.ts +++ b/packages/backend/src/models/entities/Meta.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Entity, Column, PrimaryColumn, ManyToOne, JoinColumn } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/ModerationLog.ts b/packages/backend/src/models/entities/ModerationLog.ts index 0a0e382ba0..caf0ecfaef 100644 --- a/packages/backend/src/models/entities/ModerationLog.ts +++ b/packages/backend/src/models/entities/ModerationLog.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, JoinColumn, Column, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/MutedNote.ts b/packages/backend/src/models/entities/MutedNote.ts index bdec0201a2..3495bd2ebb 100644 --- a/packages/backend/src/models/entities/MutedNote.ts +++ b/packages/backend/src/models/entities/MutedNote.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Entity, Index, JoinColumn, Column, ManyToOne, PrimaryColumn } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/Muting.ts b/packages/backend/src/models/entities/Muting.ts index ee53f693b6..c55004122d 100644 --- a/packages/backend/src/models/entities/Muting.ts +++ b/packages/backend/src/models/entities/Muting.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, JoinColumn, Column, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/Note.ts b/packages/backend/src/models/entities/Note.ts index 2a4df4b29d..c9b69087a6 100644 --- a/packages/backend/src/models/entities/Note.ts +++ b/packages/backend/src/models/entities/Note.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Entity, Index, JoinColumn, Column, PrimaryColumn, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/NoteFavorite.ts b/packages/backend/src/models/entities/NoteFavorite.ts index 540f4c4b25..30b213067d 100644 --- a/packages/backend/src/models/entities/NoteFavorite.ts +++ b/packages/backend/src/models/entities/NoteFavorite.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, JoinColumn, Column, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/NoteReaction.ts b/packages/backend/src/models/entities/NoteReaction.ts index b09673f23d..7c76e07599 100644 --- a/packages/backend/src/models/entities/NoteReaction.ts +++ b/packages/backend/src/models/entities/NoteReaction.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, JoinColumn, Column, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/NoteThreadMuting.ts b/packages/backend/src/models/entities/NoteThreadMuting.ts index 9bf2d678d7..5d891beaf2 100644 --- a/packages/backend/src/models/entities/NoteThreadMuting.ts +++ b/packages/backend/src/models/entities/NoteThreadMuting.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, JoinColumn, Column, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/NoteUnread.ts b/packages/backend/src/models/entities/NoteUnread.ts index 865b1aa544..91ff52f64c 100644 --- a/packages/backend/src/models/entities/NoteUnread.ts +++ b/packages/backend/src/models/entities/NoteUnread.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, JoinColumn, Column, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/Notification.ts b/packages/backend/src/models/entities/Notification.ts index b160b1ddbb..0c9d102383 100644 --- a/packages/backend/src/models/entities/Notification.ts +++ b/packages/backend/src/models/entities/Notification.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { notificationTypes } from '@/types.js'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/Page.ts b/packages/backend/src/models/entities/Page.ts index 2eb15983bc..089e9c133b 100644 --- a/packages/backend/src/models/entities/Page.ts +++ b/packages/backend/src/models/entities/Page.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Entity, Index, JoinColumn, Column, PrimaryColumn, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/PageLike.ts b/packages/backend/src/models/entities/PageLike.ts index 36380c7fe7..494c878b52 100644 --- a/packages/backend/src/models/entities/PageLike.ts +++ b/packages/backend/src/models/entities/PageLike.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, JoinColumn, Column, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/PasswordResetRequest.ts b/packages/backend/src/models/entities/PasswordResetRequest.ts index 41cd37c6fb..4804c703bc 100644 --- a/packages/backend/src/models/entities/PasswordResetRequest.ts +++ b/packages/backend/src/models/entities/PasswordResetRequest.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, Column, ManyToOne, JoinColumn } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/Poll.ts b/packages/backend/src/models/entities/Poll.ts index 52de923dc9..1e86fb67a0 100644 --- a/packages/backend/src/models/entities/Poll.ts +++ b/packages/backend/src/models/entities/Poll.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, JoinColumn, Column, OneToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/PollVote.ts b/packages/backend/src/models/entities/PollVote.ts index 9828a630cb..d6eea74a82 100644 --- a/packages/backend/src/models/entities/PollVote.ts +++ b/packages/backend/src/models/entities/PollVote.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, JoinColumn, Column, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/PromoNote.ts b/packages/backend/src/models/entities/PromoNote.ts index 0a285694b5..be123ca46a 100644 --- a/packages/backend/src/models/entities/PromoNote.ts +++ b/packages/backend/src/models/entities/PromoNote.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, JoinColumn, Column, OneToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/PromoRead.ts b/packages/backend/src/models/entities/PromoRead.ts index 8f99818606..bddac7908c 100644 --- a/packages/backend/src/models/entities/PromoRead.ts +++ b/packages/backend/src/models/entities/PromoRead.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, JoinColumn, Column, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/RegistrationTicket.ts b/packages/backend/src/models/entities/RegistrationTicket.ts index 84dbf1f31b..6f43121f36 100644 --- a/packages/backend/src/models/entities/RegistrationTicket.ts +++ b/packages/backend/src/models/entities/RegistrationTicket.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, Column, ManyToOne, JoinColumn, OneToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/RegistryItem.ts b/packages/backend/src/models/entities/RegistryItem.ts index 9ee024d91b..76b9b01ed3 100644 --- a/packages/backend/src/models/entities/RegistryItem.ts +++ b/packages/backend/src/models/entities/RegistryItem.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, JoinColumn, Column, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/Relay.ts b/packages/backend/src/models/entities/Relay.ts index 3b515376da..6be8d75611 100644 --- a/packages/backend/src/models/entities/Relay.ts +++ b/packages/backend/src/models/entities/Relay.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, Column } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/RenoteMuting.ts b/packages/backend/src/models/entities/RenoteMuting.ts index 402c440a8a..a1f488b73d 100644 --- a/packages/backend/src/models/entities/RenoteMuting.ts +++ b/packages/backend/src/models/entities/RenoteMuting.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, JoinColumn, Column, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/RetentionAggregation.ts b/packages/backend/src/models/entities/RetentionAggregation.ts index 4a74b614d0..7eef8cb829 100644 --- a/packages/backend/src/models/entities/RetentionAggregation.ts +++ b/packages/backend/src/models/entities/RetentionAggregation.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Entity, PrimaryColumn, Index, Column } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/Role.ts b/packages/backend/src/models/entities/Role.ts index fb90cba410..3a89115d9a 100644 --- a/packages/backend/src/models/entities/Role.ts +++ b/packages/backend/src/models/entities/Role.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Entity, Column, PrimaryColumn } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/RoleAssignment.ts b/packages/backend/src/models/entities/RoleAssignment.ts index c487695688..7499a4b660 100644 --- a/packages/backend/src/models/entities/RoleAssignment.ts +++ b/packages/backend/src/models/entities/RoleAssignment.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, JoinColumn, Column, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/Signin.ts b/packages/backend/src/models/entities/Signin.ts index ae8d745b2d..72c9e67e29 100644 --- a/packages/backend/src/models/entities/Signin.ts +++ b/packages/backend/src/models/entities/Signin.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, JoinColumn, Column, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/SwSubscription.ts b/packages/backend/src/models/entities/SwSubscription.ts index 2d296dced8..e279edfe73 100644 --- a/packages/backend/src/models/entities/SwSubscription.ts +++ b/packages/backend/src/models/entities/SwSubscription.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, JoinColumn, Column, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/UsedUsername.ts b/packages/backend/src/models/entities/UsedUsername.ts index 72d940f839..3056543f24 100644 --- a/packages/backend/src/models/entities/UsedUsername.ts +++ b/packages/backend/src/models/entities/UsedUsername.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Column } from 'typeorm'; diff --git a/packages/backend/src/models/entities/User.ts b/packages/backend/src/models/entities/User.ts index 0ec0810d30..2282e77648 100644 --- a/packages/backend/src/models/entities/User.ts +++ b/packages/backend/src/models/entities/User.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Entity, Column, Index, OneToOne, JoinColumn, PrimaryColumn } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/UserIp.ts b/packages/backend/src/models/entities/UserIp.ts index 3074ad7991..15e5f1bb6f 100644 --- a/packages/backend/src/models/entities/UserIp.ts +++ b/packages/backend/src/models/entities/UserIp.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Entity, Index, Column, PrimaryGeneratedColumn } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/UserKeypair.ts b/packages/backend/src/models/entities/UserKeypair.ts index d073c24aaf..6c08388fa3 100644 --- a/packages/backend/src/models/entities/UserKeypair.ts +++ b/packages/backend/src/models/entities/UserKeypair.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, JoinColumn, Column, OneToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/UserList.ts b/packages/backend/src/models/entities/UserList.ts index a9be31d286..9870bbaec5 100644 --- a/packages/backend/src/models/entities/UserList.ts +++ b/packages/backend/src/models/entities/UserList.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, JoinColumn, Column, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/UserListFavorite.ts b/packages/backend/src/models/entities/UserListFavorite.ts index 1c68e8f21d..d8994f3b6b 100644 --- a/packages/backend/src/models/entities/UserListFavorite.ts +++ b/packages/backend/src/models/entities/UserListFavorite.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, JoinColumn, Column, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/UserListJoining.ts b/packages/backend/src/models/entities/UserListJoining.ts index 8f792b43a8..9028892104 100644 --- a/packages/backend/src/models/entities/UserListJoining.ts +++ b/packages/backend/src/models/entities/UserListJoining.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, JoinColumn, Column, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/UserMemo.ts b/packages/backend/src/models/entities/UserMemo.ts index 45d1853cba..f62d890809 100644 --- a/packages/backend/src/models/entities/UserMemo.ts +++ b/packages/backend/src/models/entities/UserMemo.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Column, Entity, Index, JoinColumn, ManyToOne, PrimaryColumn } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/UserNotePining.ts b/packages/backend/src/models/entities/UserNotePining.ts index 05bcd82c7e..a6362ca6b8 100644 --- a/packages/backend/src/models/entities/UserNotePining.ts +++ b/packages/backend/src/models/entities/UserNotePining.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, JoinColumn, Column, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/UserPending.ts b/packages/backend/src/models/entities/UserPending.ts index 16f106e6a0..cbcec29671 100644 --- a/packages/backend/src/models/entities/UserPending.ts +++ b/packages/backend/src/models/entities/UserPending.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, Column } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/UserProfile.ts b/packages/backend/src/models/entities/UserProfile.ts index d33ddd5aa1..73535c3665 100644 --- a/packages/backend/src/models/entities/UserProfile.ts +++ b/packages/backend/src/models/entities/UserProfile.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Entity, Column, Index, OneToOne, JoinColumn, PrimaryColumn } from 'typeorm'; import { obsoleteNotificationTypes, ffVisibility, notificationTypes } from '@/types.js'; diff --git a/packages/backend/src/models/entities/UserPublickey.ts b/packages/backend/src/models/entities/UserPublickey.ts index 3911909198..fdc1e1411f 100644 --- a/packages/backend/src/models/entities/UserPublickey.ts +++ b/packages/backend/src/models/entities/UserPublickey.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, JoinColumn, Column, OneToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/UserSecurityKey.ts b/packages/backend/src/models/entities/UserSecurityKey.ts index 7eaa6d5874..368d03c168 100644 --- a/packages/backend/src/models/entities/UserSecurityKey.ts +++ b/packages/backend/src/models/entities/UserSecurityKey.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, JoinColumn, Column, ManyToOne, Index } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/Webhook.ts b/packages/backend/src/models/entities/Webhook.ts index bf06dc4e3c..408770f2fc 100644 --- a/packages/backend/src/models/entities/Webhook.ts +++ b/packages/backend/src/models/entities/Webhook.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { PrimaryColumn, Entity, Index, JoinColumn, Column, ManyToOne } from 'typeorm'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/id.ts b/packages/backend/src/models/id.ts index 089d886907..81e83b8db9 100644 --- a/packages/backend/src/models/id.ts +++ b/packages/backend/src/models/id.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export const id = () => ({ type: 'varchar' as const, diff --git a/packages/backend/src/models/index.ts b/packages/backend/src/models/index.ts index 84e66ccd01..f289303e00 100644 --- a/packages/backend/src/models/index.ts +++ b/packages/backend/src/models/index.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { AbuseUserReport } from '@/models/entities/AbuseUserReport.js'; import { AccessToken } from '@/models/entities/AccessToken.js'; diff --git a/packages/backend/src/models/json-schema/antenna.ts b/packages/backend/src/models/json-schema/antenna.ts index efa9c44f98..3f58cbee6c 100644 --- a/packages/backend/src/models/json-schema/antenna.ts +++ b/packages/backend/src/models/json-schema/antenna.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export const packedAntennaSchema = { type: 'object', diff --git a/packages/backend/src/models/json-schema/app.ts b/packages/backend/src/models/json-schema/app.ts index cf4bd1697d..9e0916299c 100644 --- a/packages/backend/src/models/json-schema/app.ts +++ b/packages/backend/src/models/json-schema/app.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export const packedAppSchema = { type: 'object', diff --git a/packages/backend/src/models/json-schema/blocking.ts b/packages/backend/src/models/json-schema/blocking.ts index b8596201fd..0b58f1f8d7 100644 --- a/packages/backend/src/models/json-schema/blocking.ts +++ b/packages/backend/src/models/json-schema/blocking.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export const packedBlockingSchema = { type: 'object', diff --git a/packages/backend/src/models/json-schema/channel.ts b/packages/backend/src/models/json-schema/channel.ts index c7d1f87135..ec8bc32376 100644 --- a/packages/backend/src/models/json-schema/channel.ts +++ b/packages/backend/src/models/json-schema/channel.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export const packedChannelSchema = { type: 'object', diff --git a/packages/backend/src/models/json-schema/clip.ts b/packages/backend/src/models/json-schema/clip.ts index ad0f3d0dc8..64f7a2ad9c 100644 --- a/packages/backend/src/models/json-schema/clip.ts +++ b/packages/backend/src/models/json-schema/clip.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export const packedClipSchema = { type: 'object', diff --git a/packages/backend/src/models/json-schema/drive-file.ts b/packages/backend/src/models/json-schema/drive-file.ts index 3d1acce22f..87f1340812 100644 --- a/packages/backend/src/models/json-schema/drive-file.ts +++ b/packages/backend/src/models/json-schema/drive-file.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export const packedDriveFileSchema = { type: 'object', diff --git a/packages/backend/src/models/json-schema/drive-folder.ts b/packages/backend/src/models/json-schema/drive-folder.ts index 636712c9a9..51107d423f 100644 --- a/packages/backend/src/models/json-schema/drive-folder.ts +++ b/packages/backend/src/models/json-schema/drive-folder.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export const packedDriveFolderSchema = { type: 'object', diff --git a/packages/backend/src/models/json-schema/emoji.ts b/packages/backend/src/models/json-schema/emoji.ts index 89a824d95d..99a58f8773 100644 --- a/packages/backend/src/models/json-schema/emoji.ts +++ b/packages/backend/src/models/json-schema/emoji.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export const packedEmojiSimpleSchema = { type: 'object', diff --git a/packages/backend/src/models/json-schema/federation-instance.ts b/packages/backend/src/models/json-schema/federation-instance.ts index 0f259af803..ac07519f16 100644 --- a/packages/backend/src/models/json-schema/federation-instance.ts +++ b/packages/backend/src/models/json-schema/federation-instance.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export const packedFederationInstanceSchema = { type: 'object', diff --git a/packages/backend/src/models/json-schema/flash.ts b/packages/backend/src/models/json-schema/flash.ts index b76c3b926d..9453ba1dce 100644 --- a/packages/backend/src/models/json-schema/flash.ts +++ b/packages/backend/src/models/json-schema/flash.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export const packedFlashSchema = { type: 'object', diff --git a/packages/backend/src/models/json-schema/following.ts b/packages/backend/src/models/json-schema/following.ts index 34a83c5b0f..3a24ebb619 100644 --- a/packages/backend/src/models/json-schema/following.ts +++ b/packages/backend/src/models/json-schema/following.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export const packedFollowingSchema = { type: 'object', diff --git a/packages/backend/src/models/json-schema/gallery-post.ts b/packages/backend/src/models/json-schema/gallery-post.ts index ff36f399a0..cf260c0bf5 100644 --- a/packages/backend/src/models/json-schema/gallery-post.ts +++ b/packages/backend/src/models/json-schema/gallery-post.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export const packedGalleryPostSchema = { type: 'object', diff --git a/packages/backend/src/models/json-schema/hashtag.ts b/packages/backend/src/models/json-schema/hashtag.ts index 9ffa2dabfe..a48e972a5d 100644 --- a/packages/backend/src/models/json-schema/hashtag.ts +++ b/packages/backend/src/models/json-schema/hashtag.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export const packedHashtagSchema = { type: 'object', diff --git a/packages/backend/src/models/json-schema/invite-code.ts b/packages/backend/src/models/json-schema/invite-code.ts index ad42169375..cd8bf98d90 100644 --- a/packages/backend/src/models/json-schema/invite-code.ts +++ b/packages/backend/src/models/json-schema/invite-code.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export const packedInviteCodeSchema = { type: 'object', diff --git a/packages/backend/src/models/json-schema/muting.ts b/packages/backend/src/models/json-schema/muting.ts index 72f75eeb23..dde9dc0288 100644 --- a/packages/backend/src/models/json-schema/muting.ts +++ b/packages/backend/src/models/json-schema/muting.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export const packedMutingSchema = { type: 'object', diff --git a/packages/backend/src/models/json-schema/note-favorite.ts b/packages/backend/src/models/json-schema/note-favorite.ts index 842e001930..3f0007d917 100644 --- a/packages/backend/src/models/json-schema/note-favorite.ts +++ b/packages/backend/src/models/json-schema/note-favorite.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export const packedNoteFavoriteSchema = { type: 'object', diff --git a/packages/backend/src/models/json-schema/note-reaction.ts b/packages/backend/src/models/json-schema/note-reaction.ts index 150c23f109..e3335f426e 100644 --- a/packages/backend/src/models/json-schema/note-reaction.ts +++ b/packages/backend/src/models/json-schema/note-reaction.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export const packedNoteReactionSchema = { type: 'object', diff --git a/packages/backend/src/models/json-schema/note.ts b/packages/backend/src/models/json-schema/note.ts index 9c8ea97c8b..dc7c0462fa 100644 --- a/packages/backend/src/models/json-schema/note.ts +++ b/packages/backend/src/models/json-schema/note.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export const packedNoteSchema = { type: 'object', diff --git a/packages/backend/src/models/json-schema/notification.ts b/packages/backend/src/models/json-schema/notification.ts index efc14e12b0..2c434913da 100644 --- a/packages/backend/src/models/json-schema/notification.ts +++ b/packages/backend/src/models/json-schema/notification.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { notificationTypes } from '@/types.js'; diff --git a/packages/backend/src/models/json-schema/page.ts b/packages/backend/src/models/json-schema/page.ts index 21106b0450..3f20a4b802 100644 --- a/packages/backend/src/models/json-schema/page.ts +++ b/packages/backend/src/models/json-schema/page.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export const packedPageSchema = { type: 'object', diff --git a/packages/backend/src/models/json-schema/queue.ts b/packages/backend/src/models/json-schema/queue.ts index b26e5f58d3..43da6e605d 100644 --- a/packages/backend/src/models/json-schema/queue.ts +++ b/packages/backend/src/models/json-schema/queue.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export const packedQueueCountSchema = { type: 'object', diff --git a/packages/backend/src/models/json-schema/renote-muting.ts b/packages/backend/src/models/json-schema/renote-muting.ts index bba6e38dfe..feed1ceb09 100644 --- a/packages/backend/src/models/json-schema/renote-muting.ts +++ b/packages/backend/src/models/json-schema/renote-muting.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export const packedRenoteMutingSchema = { type: 'object', diff --git a/packages/backend/src/models/json-schema/user-list.ts b/packages/backend/src/models/json-schema/user-list.ts index 9682857ed2..e257d9984c 100644 --- a/packages/backend/src/models/json-schema/user-list.ts +++ b/packages/backend/src/models/json-schema/user-list.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export const packedUserListSchema = { type: 'object', diff --git a/packages/backend/src/models/json-schema/user.ts b/packages/backend/src/models/json-schema/user.ts index 053f9f2aaf..0c205654eb 100644 --- a/packages/backend/src/models/json-schema/user.ts +++ b/packages/backend/src/models/json-schema/user.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export const packedUserLiteSchema = { type: 'object', diff --git a/packages/backend/src/postgres.ts b/packages/backend/src/postgres.ts index 2ebefc0da4..45ca364b52 100644 --- a/packages/backend/src/postgres.ts +++ b/packages/backend/src/postgres.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ // https://github.com/typeorm/typeorm/issues/2400 import pg from 'pg'; diff --git a/packages/backend/src/queue/QueueLoggerService.ts b/packages/backend/src/queue/QueueLoggerService.ts index 123a54c907..618d1d5c2f 100644 --- a/packages/backend/src/queue/QueueLoggerService.ts +++ b/packages/backend/src/queue/QueueLoggerService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import type Logger from '@/logger.js'; diff --git a/packages/backend/src/queue/QueueProcessorModule.ts b/packages/backend/src/queue/QueueProcessorModule.ts index 4b16b14a52..e6327002c5 100644 --- a/packages/backend/src/queue/QueueProcessorModule.ts +++ b/packages/backend/src/queue/QueueProcessorModule.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Module } from '@nestjs/common'; import { CoreModule } from '@/core/CoreModule.js'; diff --git a/packages/backend/src/queue/QueueProcessorService.ts b/packages/backend/src/queue/QueueProcessorService.ts index ba21e2d4b8..5201bfed8e 100644 --- a/packages/backend/src/queue/QueueProcessorService.ts +++ b/packages/backend/src/queue/QueueProcessorService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable, OnApplicationShutdown } from '@nestjs/common'; import * as Bull from 'bullmq'; diff --git a/packages/backend/src/queue/const.ts b/packages/backend/src/queue/const.ts index 1b61767037..87d075304d 100644 --- a/packages/backend/src/queue/const.ts +++ b/packages/backend/src/queue/const.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Config } from '@/config.js'; import type * as Bull from 'bullmq'; @@ -20,7 +21,7 @@ export function baseQueueOptions(config: Config, queueName: typeof QUEUE[keyof t return { connection: { ...config.redisForJobQueue, - keyPrefix: undefined + keyPrefix: undefined, }, prefix: config.redisForJobQueue.prefix ? `${config.redisForJobQueue.prefix}:queue:${queueName}` : `queue:${queueName}`, }; diff --git a/packages/backend/src/queue/processors/AggregateRetentionProcessorService.ts b/packages/backend/src/queue/processors/AggregateRetentionProcessorService.ts index f7a95cbaff..e753adcd40 100644 --- a/packages/backend/src/queue/processors/AggregateRetentionProcessorService.ts +++ b/packages/backend/src/queue/processors/AggregateRetentionProcessorService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { IsNull, MoreThan } from 'typeorm'; diff --git a/packages/backend/src/queue/processors/CheckExpiredMutingsProcessorService.ts b/packages/backend/src/queue/processors/CheckExpiredMutingsProcessorService.ts index 40ec8f3f5e..ebfa87aeae 100644 --- a/packages/backend/src/queue/processors/CheckExpiredMutingsProcessorService.ts +++ b/packages/backend/src/queue/processors/CheckExpiredMutingsProcessorService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { In } from 'typeorm'; diff --git a/packages/backend/src/queue/processors/CleanChartsProcessorService.ts b/packages/backend/src/queue/processors/CleanChartsProcessorService.ts index 8e0b0f5e7a..d019ee47df 100644 --- a/packages/backend/src/queue/processors/CleanChartsProcessorService.ts +++ b/packages/backend/src/queue/processors/CleanChartsProcessorService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/queue/processors/CleanProcessorService.ts b/packages/backend/src/queue/processors/CleanProcessorService.ts index 3d16e9105b..8d60358580 100644 --- a/packages/backend/src/queue/processors/CleanProcessorService.ts +++ b/packages/backend/src/queue/processors/CleanProcessorService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { In, LessThan } from 'typeorm'; diff --git a/packages/backend/src/queue/processors/CleanRemoteFilesProcessorService.ts b/packages/backend/src/queue/processors/CleanRemoteFilesProcessorService.ts index b1838f5e03..6348918f9b 100644 --- a/packages/backend/src/queue/processors/CleanRemoteFilesProcessorService.ts +++ b/packages/backend/src/queue/processors/CleanRemoteFilesProcessorService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { IsNull, MoreThan, Not } from 'typeorm'; diff --git a/packages/backend/src/queue/processors/DeleteAccountProcessorService.ts b/packages/backend/src/queue/processors/DeleteAccountProcessorService.ts index f5213d6382..8da34f6e8d 100644 --- a/packages/backend/src/queue/processors/DeleteAccountProcessorService.ts +++ b/packages/backend/src/queue/processors/DeleteAccountProcessorService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { MoreThan } from 'typeorm'; diff --git a/packages/backend/src/queue/processors/DeleteDriveFilesProcessorService.ts b/packages/backend/src/queue/processors/DeleteDriveFilesProcessorService.ts index 186b173c8c..37d95d45f8 100644 --- a/packages/backend/src/queue/processors/DeleteDriveFilesProcessorService.ts +++ b/packages/backend/src/queue/processors/DeleteDriveFilesProcessorService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { MoreThan } from 'typeorm'; diff --git a/packages/backend/src/queue/processors/DeleteFileProcessorService.ts b/packages/backend/src/queue/processors/DeleteFileProcessorService.ts index 5001cc1686..41cd7b5057 100644 --- a/packages/backend/src/queue/processors/DeleteFileProcessorService.ts +++ b/packages/backend/src/queue/processors/DeleteFileProcessorService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/queue/processors/DeliverProcessorService.ts b/packages/backend/src/queue/processors/DeliverProcessorService.ts index 7987d4f91d..46731d1c96 100644 --- a/packages/backend/src/queue/processors/DeliverProcessorService.ts +++ b/packages/backend/src/queue/processors/DeliverProcessorService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import * as Bull from 'bullmq'; diff --git a/packages/backend/src/queue/processors/EndedPollNotificationProcessorService.ts b/packages/backend/src/queue/processors/EndedPollNotificationProcessorService.ts index 3facc7e848..a4ec317402 100644 --- a/packages/backend/src/queue/processors/EndedPollNotificationProcessorService.ts +++ b/packages/backend/src/queue/processors/EndedPollNotificationProcessorService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/queue/processors/ExportAntennasProcessorService.ts b/packages/backend/src/queue/processors/ExportAntennasProcessorService.ts index b44e2401b7..219290bb14 100644 --- a/packages/backend/src/queue/processors/ExportAntennasProcessorService.ts +++ b/packages/backend/src/queue/processors/ExportAntennasProcessorService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import fs from 'node:fs'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/queue/processors/ExportBlockingProcessorService.ts b/packages/backend/src/queue/processors/ExportBlockingProcessorService.ts index a2379ebb7d..69c260cb55 100644 --- a/packages/backend/src/queue/processors/ExportBlockingProcessorService.ts +++ b/packages/backend/src/queue/processors/ExportBlockingProcessorService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as fs from 'node:fs'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/queue/processors/ExportCustomEmojisProcessorService.ts b/packages/backend/src/queue/processors/ExportCustomEmojisProcessorService.ts index 4655a905d4..688a0a1ccd 100644 --- a/packages/backend/src/queue/processors/ExportCustomEmojisProcessorService.ts +++ b/packages/backend/src/queue/processors/ExportCustomEmojisProcessorService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as fs from 'node:fs'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/queue/processors/ExportFavoritesProcessorService.ts b/packages/backend/src/queue/processors/ExportFavoritesProcessorService.ts index 30dc196eca..c5849e94f1 100644 --- a/packages/backend/src/queue/processors/ExportFavoritesProcessorService.ts +++ b/packages/backend/src/queue/processors/ExportFavoritesProcessorService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as fs from 'node:fs'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/queue/processors/ExportFollowingProcessorService.ts b/packages/backend/src/queue/processors/ExportFollowingProcessorService.ts index 08fdfcf24f..18e20f497e 100644 --- a/packages/backend/src/queue/processors/ExportFollowingProcessorService.ts +++ b/packages/backend/src/queue/processors/ExportFollowingProcessorService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as fs from 'node:fs'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/queue/processors/ExportMutingProcessorService.ts b/packages/backend/src/queue/processors/ExportMutingProcessorService.ts index 4e04dc03a9..35b71794fc 100644 --- a/packages/backend/src/queue/processors/ExportMutingProcessorService.ts +++ b/packages/backend/src/queue/processors/ExportMutingProcessorService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as fs from 'node:fs'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/queue/processors/ExportNotesProcessorService.ts b/packages/backend/src/queue/processors/ExportNotesProcessorService.ts index bd563f6909..829af56e9e 100644 --- a/packages/backend/src/queue/processors/ExportNotesProcessorService.ts +++ b/packages/backend/src/queue/processors/ExportNotesProcessorService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as fs from 'node:fs'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/queue/processors/ExportUserListsProcessorService.ts b/packages/backend/src/queue/processors/ExportUserListsProcessorService.ts index f72e44d44a..e15e04c693 100644 --- a/packages/backend/src/queue/processors/ExportUserListsProcessorService.ts +++ b/packages/backend/src/queue/processors/ExportUserListsProcessorService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as fs from 'node:fs'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/queue/processors/ImportAntennasProcessorService.ts b/packages/backend/src/queue/processors/ImportAntennasProcessorService.ts index 466b8510c5..9ff9a8a528 100644 --- a/packages/backend/src/queue/processors/ImportAntennasProcessorService.ts +++ b/packages/backend/src/queue/processors/ImportAntennasProcessorService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable, Inject } from '@nestjs/common'; import _Ajv from 'ajv'; diff --git a/packages/backend/src/queue/processors/ImportBlockingProcessorService.ts b/packages/backend/src/queue/processors/ImportBlockingProcessorService.ts index cdc4456418..1d4c3d907e 100644 --- a/packages/backend/src/queue/processors/ImportBlockingProcessorService.ts +++ b/packages/backend/src/queue/processors/ImportBlockingProcessorService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { IsNull } from 'typeorm'; diff --git a/packages/backend/src/queue/processors/ImportCustomEmojisProcessorService.ts b/packages/backend/src/queue/processors/ImportCustomEmojisProcessorService.ts index f3f1edab0a..d08f6b887c 100644 --- a/packages/backend/src/queue/processors/ImportCustomEmojisProcessorService.ts +++ b/packages/backend/src/queue/processors/ImportCustomEmojisProcessorService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as fs from 'node:fs'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/queue/processors/ImportFollowingProcessorService.ts b/packages/backend/src/queue/processors/ImportFollowingProcessorService.ts index 7f30999e04..585311982f 100644 --- a/packages/backend/src/queue/processors/ImportFollowingProcessorService.ts +++ b/packages/backend/src/queue/processors/ImportFollowingProcessorService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { IsNull } from 'typeorm'; diff --git a/packages/backend/src/queue/processors/ImportMutingProcessorService.ts b/packages/backend/src/queue/processors/ImportMutingProcessorService.ts index b4eaad0bb8..5e0f7717cf 100644 --- a/packages/backend/src/queue/processors/ImportMutingProcessorService.ts +++ b/packages/backend/src/queue/processors/ImportMutingProcessorService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { IsNull } from 'typeorm'; diff --git a/packages/backend/src/queue/processors/ImportUserListsProcessorService.ts b/packages/backend/src/queue/processors/ImportUserListsProcessorService.ts index c34f0b9730..9f81a3d010 100644 --- a/packages/backend/src/queue/processors/ImportUserListsProcessorService.ts +++ b/packages/backend/src/queue/processors/ImportUserListsProcessorService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { IsNull } from 'typeorm'; diff --git a/packages/backend/src/queue/processors/InboxProcessorService.ts b/packages/backend/src/queue/processors/InboxProcessorService.ts index 66bbce5a8d..81ac796159 100644 --- a/packages/backend/src/queue/processors/InboxProcessorService.ts +++ b/packages/backend/src/queue/processors/InboxProcessorService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { URL } from 'node:url'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/queue/processors/RelationshipProcessorService.ts b/packages/backend/src/queue/processors/RelationshipProcessorService.ts index 9bc5f24516..5a06938290 100644 --- a/packages/backend/src/queue/processors/RelationshipProcessorService.ts +++ b/packages/backend/src/queue/processors/RelationshipProcessorService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/queue/processors/ResyncChartsProcessorService.ts b/packages/backend/src/queue/processors/ResyncChartsProcessorService.ts index 800c67e74b..c16d05afec 100644 --- a/packages/backend/src/queue/processors/ResyncChartsProcessorService.ts +++ b/packages/backend/src/queue/processors/ResyncChartsProcessorService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/queue/processors/TickChartsProcessorService.ts b/packages/backend/src/queue/processors/TickChartsProcessorService.ts index 50e1d519d1..218f5bf627 100644 --- a/packages/backend/src/queue/processors/TickChartsProcessorService.ts +++ b/packages/backend/src/queue/processors/TickChartsProcessorService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/queue/processors/WebhookDeliverProcessorService.ts b/packages/backend/src/queue/processors/WebhookDeliverProcessorService.ts index c6783f3f32..169df77924 100644 --- a/packages/backend/src/queue/processors/WebhookDeliverProcessorService.ts +++ b/packages/backend/src/queue/processors/WebhookDeliverProcessorService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import * as Bull from 'bullmq'; diff --git a/packages/backend/src/queue/types.ts b/packages/backend/src/queue/types.ts index 9bd55d40f5..f8eafaf1c1 100644 --- a/packages/backend/src/queue/types.ts +++ b/packages/backend/src/queue/types.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import type { Antenna } from '@/server/api/endpoints/i/import-antennas.js'; import type { DriveFile } from '@/models/entities/DriveFile.js'; diff --git a/packages/backend/src/server/ActivityPubServerService.ts b/packages/backend/src/server/ActivityPubServerService.ts index 2815869a10..c9ce1dcaee 100644 --- a/packages/backend/src/server/ActivityPubServerService.ts +++ b/packages/backend/src/server/ActivityPubServerService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { IncomingMessage } from 'node:http'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/FileServerService.ts b/packages/backend/src/server/FileServerService.ts index ea7ecf5236..c52ce4568e 100644 --- a/packages/backend/src/server/FileServerService.ts +++ b/packages/backend/src/server/FileServerService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as fs from 'node:fs'; import { fileURLToPath } from 'node:url'; diff --git a/packages/backend/src/server/NodeinfoServerService.ts b/packages/backend/src/server/NodeinfoServerService.ts index 846f8e67f2..6b8061199c 100644 --- a/packages/backend/src/server/NodeinfoServerService.ts +++ b/packages/backend/src/server/NodeinfoServerService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/server/ServerModule.ts b/packages/backend/src/server/ServerModule.ts index 840d383315..715f02ea07 100644 --- a/packages/backend/src/server/ServerModule.ts +++ b/packages/backend/src/server/ServerModule.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Module } from '@nestjs/common'; import { EndpointsModule } from '@/server/api/EndpointsModule.js'; diff --git a/packages/backend/src/server/ServerService.ts b/packages/backend/src/server/ServerService.ts index 6f9eac96d9..3a847533d4 100644 --- a/packages/backend/src/server/ServerService.ts +++ b/packages/backend/src/server/ServerService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import cluster from 'node:cluster'; import * as fs from 'node:fs'; diff --git a/packages/backend/src/server/WellKnownServerService.ts b/packages/backend/src/server/WellKnownServerService.ts index 4780c12dd6..27139a0d69 100644 --- a/packages/backend/src/server/WellKnownServerService.ts +++ b/packages/backend/src/server/WellKnownServerService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { IsNull } from 'typeorm'; diff --git a/packages/backend/src/server/api/ApiCallService.ts b/packages/backend/src/server/api/ApiCallService.ts index 461d2fab40..774ad98b40 100644 --- a/packages/backend/src/server/api/ApiCallService.ts +++ b/packages/backend/src/server/api/ApiCallService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { randomUUID } from 'node:crypto'; import * as fs from 'node:fs'; diff --git a/packages/backend/src/server/api/ApiLoggerService.ts b/packages/backend/src/server/api/ApiLoggerService.ts index 08bc320973..2339366a5d 100644 --- a/packages/backend/src/server/api/ApiLoggerService.ts +++ b/packages/backend/src/server/api/ApiLoggerService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import type Logger from '@/logger.js'; diff --git a/packages/backend/src/server/api/ApiServerService.ts b/packages/backend/src/server/api/ApiServerService.ts index a8551c7cdb..06bbf70511 100644 --- a/packages/backend/src/server/api/ApiServerService.ts +++ b/packages/backend/src/server/api/ApiServerService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import cors from '@fastify/cors'; diff --git a/packages/backend/src/server/api/AuthenticateService.ts b/packages/backend/src/server/api/AuthenticateService.ts index 5340a6dd1e..6c05377f96 100644 --- a/packages/backend/src/server/api/AuthenticateService.ts +++ b/packages/backend/src/server/api/AuthenticateService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable, OnApplicationShutdown } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/server/api/EndpointsModule.ts b/packages/backend/src/server/api/EndpointsModule.ts index c97ca6548b..3be6524689 100644 --- a/packages/backend/src/server/api/EndpointsModule.ts +++ b/packages/backend/src/server/api/EndpointsModule.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Module } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/GetterService.ts b/packages/backend/src/server/api/GetterService.ts index bc483793f4..c16f2f504f 100644 --- a/packages/backend/src/server/api/GetterService.ts +++ b/packages/backend/src/server/api/GetterService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/server/api/RateLimiterService.ts b/packages/backend/src/server/api/RateLimiterService.ts index c4210306d7..0e644aa091 100644 --- a/packages/backend/src/server/api/RateLimiterService.ts +++ b/packages/backend/src/server/api/RateLimiterService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import Limiter from 'ratelimiter'; diff --git a/packages/backend/src/server/api/SigninApiService.ts b/packages/backend/src/server/api/SigninApiService.ts index 07025bc996..95ab4d51d7 100644 --- a/packages/backend/src/server/api/SigninApiService.ts +++ b/packages/backend/src/server/api/SigninApiService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { randomBytes } from 'node:crypto'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/SigninService.ts b/packages/backend/src/server/api/SigninService.ts index 9c888f370d..1b0691290e 100644 --- a/packages/backend/src/server/api/SigninService.ts +++ b/packages/backend/src/server/api/SigninService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/server/api/SignupApiService.ts b/packages/backend/src/server/api/SignupApiService.ts index 1dbf099c34..920bbb92c5 100644 --- a/packages/backend/src/server/api/SignupApiService.ts +++ b/packages/backend/src/server/api/SignupApiService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import bcrypt from 'bcryptjs'; diff --git a/packages/backend/src/server/api/StreamingApiServerService.ts b/packages/backend/src/server/api/StreamingApiServerService.ts index a774bdab23..afa0bc5826 100644 --- a/packages/backend/src/server/api/StreamingApiServerService.ts +++ b/packages/backend/src/server/api/StreamingApiServerService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { EventEmitter } from 'events'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoint-base.ts b/packages/backend/src/server/api/endpoint-base.ts index a18c6a7907..867fa1af24 100644 --- a/packages/backend/src/server/api/endpoint-base.ts +++ b/packages/backend/src/server/api/endpoint-base.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as fs from 'node:fs'; import _Ajv from 'ajv'; diff --git a/packages/backend/src/server/api/endpoints.ts b/packages/backend/src/server/api/endpoints.ts index b1cb397939..097f9c151c 100644 --- a/packages/backend/src/server/api/endpoints.ts +++ b/packages/backend/src/server/api/endpoints.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import type { Schema } from '@/misc/json-schema.js'; import { RolePolicies } from '@/core/RoleService.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/abuse-user-reports.ts b/packages/backend/src/server/api/endpoints/admin/abuse-user-reports.ts index fd6b2d09de..6bf7818de6 100644 --- a/packages/backend/src/server/api/endpoints/admin/abuse-user-reports.ts +++ b/packages/backend/src/server/api/endpoints/admin/abuse-user-reports.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/accounts/create.ts b/packages/backend/src/server/api/endpoints/admin/accounts/create.ts index 903aac3ae6..b9b5f82f2a 100644 --- a/packages/backend/src/server/api/endpoints/admin/accounts/create.ts +++ b/packages/backend/src/server/api/endpoints/admin/accounts/create.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { IsNull } from 'typeorm'; diff --git a/packages/backend/src/server/api/endpoints/admin/accounts/delete.ts b/packages/backend/src/server/api/endpoints/admin/accounts/delete.ts index c0005fea66..af51134b1c 100644 --- a/packages/backend/src/server/api/endpoints/admin/accounts/delete.ts +++ b/packages/backend/src/server/api/endpoints/admin/accounts/delete.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/ad/create.ts b/packages/backend/src/server/api/endpoints/admin/ad/create.ts index 56da73738c..b0d6eae192 100644 --- a/packages/backend/src/server/api/endpoints/admin/ad/create.ts +++ b/packages/backend/src/server/api/endpoints/admin/ad/create.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/ad/delete.ts b/packages/backend/src/server/api/endpoints/admin/ad/delete.ts index 59fe9b380c..bebc07e0d6 100644 --- a/packages/backend/src/server/api/endpoints/admin/ad/delete.ts +++ b/packages/backend/src/server/api/endpoints/admin/ad/delete.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/ad/list.ts b/packages/backend/src/server/api/endpoints/admin/ad/list.ts index 578fa45710..b33d921c5f 100644 --- a/packages/backend/src/server/api/endpoints/admin/ad/list.ts +++ b/packages/backend/src/server/api/endpoints/admin/ad/list.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/ad/update.ts b/packages/backend/src/server/api/endpoints/admin/ad/update.ts index aa5cf327c2..ada17cf04d 100644 --- a/packages/backend/src/server/api/endpoints/admin/ad/update.ts +++ b/packages/backend/src/server/api/endpoints/admin/ad/update.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/announcements/create.ts b/packages/backend/src/server/api/endpoints/admin/announcements/create.ts index 8873901fd0..8addffc6a8 100644 --- a/packages/backend/src/server/api/endpoints/admin/announcements/create.ts +++ b/packages/backend/src/server/api/endpoints/admin/announcements/create.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/announcements/delete.ts b/packages/backend/src/server/api/endpoints/admin/announcements/delete.ts index e5ac2b00ce..6066a3ceaf 100644 --- a/packages/backend/src/server/api/endpoints/admin/announcements/delete.ts +++ b/packages/backend/src/server/api/endpoints/admin/announcements/delete.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/announcements/list.ts b/packages/backend/src/server/api/endpoints/admin/announcements/list.ts index 63bcd31d97..ec0d4061a6 100644 --- a/packages/backend/src/server/api/endpoints/admin/announcements/list.ts +++ b/packages/backend/src/server/api/endpoints/admin/announcements/list.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { AnnouncementsRepository, AnnouncementReadsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/announcements/update.ts b/packages/backend/src/server/api/endpoints/admin/announcements/update.ts index 787fc48bdb..b3df14320f 100644 --- a/packages/backend/src/server/api/endpoints/admin/announcements/update.ts +++ b/packages/backend/src/server/api/endpoints/admin/announcements/update.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/delete-account.ts b/packages/backend/src/server/api/endpoints/admin/delete-account.ts index 4e85bc2b40..32c9174073 100644 --- a/packages/backend/src/server/api/endpoints/admin/delete-account.ts +++ b/packages/backend/src/server/api/endpoints/admin/delete-account.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { UsersRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/delete-all-files-of-a-user.ts b/packages/backend/src/server/api/endpoints/admin/delete-all-files-of-a-user.ts index 0b1be4ec2a..c88b5aad8e 100644 --- a/packages/backend/src/server/api/endpoints/admin/delete-all-files-of-a-user.ts +++ b/packages/backend/src/server/api/endpoints/admin/delete-all-files-of-a-user.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/drive/clean-remote-files.ts b/packages/backend/src/server/api/endpoints/admin/drive/clean-remote-files.ts index 4bc2a407ec..3f55467de0 100644 --- a/packages/backend/src/server/api/endpoints/admin/drive/clean-remote-files.ts +++ b/packages/backend/src/server/api/endpoints/admin/drive/clean-remote-files.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/drive/cleanup.ts b/packages/backend/src/server/api/endpoints/admin/drive/cleanup.ts index dd7b91e097..188de3f292 100644 --- a/packages/backend/src/server/api/endpoints/admin/drive/cleanup.ts +++ b/packages/backend/src/server/api/endpoints/admin/drive/cleanup.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { IsNull } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/admin/drive/files.ts b/packages/backend/src/server/api/endpoints/admin/drive/files.ts index 544d7b0b5b..2191a45669 100644 --- a/packages/backend/src/server/api/endpoints/admin/drive/files.ts +++ b/packages/backend/src/server/api/endpoints/admin/drive/files.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { DriveFilesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/drive/show-file.ts b/packages/backend/src/server/api/endpoints/admin/drive/show-file.ts index 35d1df23b4..9cd0583049 100644 --- a/packages/backend/src/server/api/endpoints/admin/drive/show-file.ts +++ b/packages/backend/src/server/api/endpoints/admin/drive/show-file.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { DriveFilesRepository, UsersRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/emoji/add-aliases-bulk.ts b/packages/backend/src/server/api/endpoints/admin/emoji/add-aliases-bulk.ts index 0adb57f606..f0db9c063f 100644 --- a/packages/backend/src/server/api/endpoints/admin/emoji/add-aliases-bulk.ts +++ b/packages/backend/src/server/api/endpoints/admin/emoji/add-aliases-bulk.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/emoji/add.ts b/packages/backend/src/server/api/endpoints/admin/emoji/add.ts index b0900886ef..07a9d7edba 100644 --- a/packages/backend/src/server/api/endpoints/admin/emoji/add.ts +++ b/packages/backend/src/server/api/endpoints/admin/emoji/add.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/emoji/copy.ts b/packages/backend/src/server/api/endpoints/admin/emoji/copy.ts index f5d2acd0e2..3bf6984433 100644 --- a/packages/backend/src/server/api/endpoints/admin/emoji/copy.ts +++ b/packages/backend/src/server/api/endpoints/admin/emoji/copy.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DataSource } from 'typeorm'; diff --git a/packages/backend/src/server/api/endpoints/admin/emoji/delete-bulk.ts b/packages/backend/src/server/api/endpoints/admin/emoji/delete-bulk.ts index 080afd6cca..0d49567614 100644 --- a/packages/backend/src/server/api/endpoints/admin/emoji/delete-bulk.ts +++ b/packages/backend/src/server/api/endpoints/admin/emoji/delete-bulk.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/emoji/delete.ts b/packages/backend/src/server/api/endpoints/admin/emoji/delete.ts index e781a8f419..a4b27e2c8e 100644 --- a/packages/backend/src/server/api/endpoints/admin/emoji/delete.ts +++ b/packages/backend/src/server/api/endpoints/admin/emoji/delete.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/emoji/import-zip.ts b/packages/backend/src/server/api/endpoints/admin/emoji/import-zip.ts index daa5cc7a9a..8d10578de0 100644 --- a/packages/backend/src/server/api/endpoints/admin/emoji/import-zip.ts +++ b/packages/backend/src/server/api/endpoints/admin/emoji/import-zip.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/emoji/list-remote.ts b/packages/backend/src/server/api/endpoints/admin/emoji/list-remote.ts index 93c5c06fbc..912229c1cc 100644 --- a/packages/backend/src/server/api/endpoints/admin/emoji/list-remote.ts +++ b/packages/backend/src/server/api/endpoints/admin/emoji/list-remote.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/emoji/list.ts b/packages/backend/src/server/api/endpoints/admin/emoji/list.ts index ca3a4af88c..7e0300e40d 100644 --- a/packages/backend/src/server/api/endpoints/admin/emoji/list.ts +++ b/packages/backend/src/server/api/endpoints/admin/emoji/list.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/emoji/remove-aliases-bulk.ts b/packages/backend/src/server/api/endpoints/admin/emoji/remove-aliases-bulk.ts index d1a59f7e76..18bfbdc188 100644 --- a/packages/backend/src/server/api/endpoints/admin/emoji/remove-aliases-bulk.ts +++ b/packages/backend/src/server/api/endpoints/admin/emoji/remove-aliases-bulk.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/emoji/set-aliases-bulk.ts b/packages/backend/src/server/api/endpoints/admin/emoji/set-aliases-bulk.ts index 5136f90985..8c23b97e92 100644 --- a/packages/backend/src/server/api/endpoints/admin/emoji/set-aliases-bulk.ts +++ b/packages/backend/src/server/api/endpoints/admin/emoji/set-aliases-bulk.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/emoji/set-category-bulk.ts b/packages/backend/src/server/api/endpoints/admin/emoji/set-category-bulk.ts index 83047d5b7f..99ba88c5df 100644 --- a/packages/backend/src/server/api/endpoints/admin/emoji/set-category-bulk.ts +++ b/packages/backend/src/server/api/endpoints/admin/emoji/set-category-bulk.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/emoji/set-license-bulk.ts b/packages/backend/src/server/api/endpoints/admin/emoji/set-license-bulk.ts index d0dc26e917..999038b2d2 100644 --- a/packages/backend/src/server/api/endpoints/admin/emoji/set-license-bulk.ts +++ b/packages/backend/src/server/api/endpoints/admin/emoji/set-license-bulk.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/emoji/update.ts b/packages/backend/src/server/api/endpoints/admin/emoji/update.ts index cc222ffefb..b08555598a 100644 --- a/packages/backend/src/server/api/endpoints/admin/emoji/update.ts +++ b/packages/backend/src/server/api/endpoints/admin/emoji/update.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/federation/delete-all-files.ts b/packages/backend/src/server/api/endpoints/admin/federation/delete-all-files.ts index f49a91a9d7..93a22a7dea 100644 --- a/packages/backend/src/server/api/endpoints/admin/federation/delete-all-files.ts +++ b/packages/backend/src/server/api/endpoints/admin/federation/delete-all-files.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/federation/refresh-remote-instance-metadata.ts b/packages/backend/src/server/api/endpoints/admin/federation/refresh-remote-instance-metadata.ts index 2d442f92ee..3bc2646370 100644 --- a/packages/backend/src/server/api/endpoints/admin/federation/refresh-remote-instance-metadata.ts +++ b/packages/backend/src/server/api/endpoints/admin/federation/refresh-remote-instance-metadata.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/federation/remove-all-following.ts b/packages/backend/src/server/api/endpoints/admin/federation/remove-all-following.ts index b0f80e19da..ac60e3bcc9 100644 --- a/packages/backend/src/server/api/endpoints/admin/federation/remove-all-following.ts +++ b/packages/backend/src/server/api/endpoints/admin/federation/remove-all-following.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/federation/update-instance.ts b/packages/backend/src/server/api/endpoints/admin/federation/update-instance.ts index 739c78402b..3eb1fc90a9 100644 --- a/packages/backend/src/server/api/endpoints/admin/federation/update-instance.ts +++ b/packages/backend/src/server/api/endpoints/admin/federation/update-instance.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/get-index-stats.ts b/packages/backend/src/server/api/endpoints/admin/get-index-stats.ts index 08e31c67f5..11174958fa 100644 --- a/packages/backend/src/server/api/endpoints/admin/get-index-stats.ts +++ b/packages/backend/src/server/api/endpoints/admin/get-index-stats.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DataSource } from 'typeorm'; diff --git a/packages/backend/src/server/api/endpoints/admin/get-table-stats.ts b/packages/backend/src/server/api/endpoints/admin/get-table-stats.ts index c492f1c40b..a5e1d002c0 100644 --- a/packages/backend/src/server/api/endpoints/admin/get-table-stats.ts +++ b/packages/backend/src/server/api/endpoints/admin/get-table-stats.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DataSource } from 'typeorm'; diff --git a/packages/backend/src/server/api/endpoints/admin/get-user-ips.ts b/packages/backend/src/server/api/endpoints/admin/get-user-ips.ts index 9ebd4b511b..9e4d18e10f 100644 --- a/packages/backend/src/server/api/endpoints/admin/get-user-ips.ts +++ b/packages/backend/src/server/api/endpoints/admin/get-user-ips.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { UserIpsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/invite/create.ts b/packages/backend/src/server/api/endpoints/admin/invite/create.ts index 77898ce722..5bdca71142 100644 --- a/packages/backend/src/server/api/endpoints/admin/invite/create.ts +++ b/packages/backend/src/server/api/endpoints/admin/invite/create.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/invite/list.ts b/packages/backend/src/server/api/endpoints/admin/invite/list.ts index 5c3fb8ef45..6d2874fd1f 100644 --- a/packages/backend/src/server/api/endpoints/admin/invite/list.ts +++ b/packages/backend/src/server/api/endpoints/admin/invite/list.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/meta.ts b/packages/backend/src/server/api/endpoints/admin/meta.ts index 6f2fdb9cbe..93423a743d 100644 --- a/packages/backend/src/server/api/endpoints/admin/meta.ts +++ b/packages/backend/src/server/api/endpoints/admin/meta.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/promo/create.ts b/packages/backend/src/server/api/endpoints/admin/promo/create.ts index 45bf2fdfe6..ca7cecb08b 100644 --- a/packages/backend/src/server/api/endpoints/admin/promo/create.ts +++ b/packages/backend/src/server/api/endpoints/admin/promo/create.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/queue/clear.ts b/packages/backend/src/server/api/endpoints/admin/queue/clear.ts index 9fa93c2115..d2e6fd6e20 100644 --- a/packages/backend/src/server/api/endpoints/admin/queue/clear.ts +++ b/packages/backend/src/server/api/endpoints/admin/queue/clear.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/queue/deliver-delayed.ts b/packages/backend/src/server/api/endpoints/admin/queue/deliver-delayed.ts index eb0e447473..771fca6ca0 100644 --- a/packages/backend/src/server/api/endpoints/admin/queue/deliver-delayed.ts +++ b/packages/backend/src/server/api/endpoints/admin/queue/deliver-delayed.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { URL } from 'node:url'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/admin/queue/inbox-delayed.ts b/packages/backend/src/server/api/endpoints/admin/queue/inbox-delayed.ts index a6ec84528a..8e00aade3a 100644 --- a/packages/backend/src/server/api/endpoints/admin/queue/inbox-delayed.ts +++ b/packages/backend/src/server/api/endpoints/admin/queue/inbox-delayed.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { URL } from 'node:url'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/admin/queue/promote.ts b/packages/backend/src/server/api/endpoints/admin/queue/promote.ts index c7f95e9c8e..c4dea776f4 100644 --- a/packages/backend/src/server/api/endpoints/admin/queue/promote.ts +++ b/packages/backend/src/server/api/endpoints/admin/queue/promote.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/queue/stats.ts b/packages/backend/src/server/api/endpoints/admin/queue/stats.ts index c2fb1e1628..86ae094fc4 100644 --- a/packages/backend/src/server/api/endpoints/admin/queue/stats.ts +++ b/packages/backend/src/server/api/endpoints/admin/queue/stats.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/relays/add.ts b/packages/backend/src/server/api/endpoints/admin/relays/add.ts index b1793d768e..e420a42ab3 100644 --- a/packages/backend/src/server/api/endpoints/admin/relays/add.ts +++ b/packages/backend/src/server/api/endpoints/admin/relays/add.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { URL } from 'node:url'; import { Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/admin/relays/list.ts b/packages/backend/src/server/api/endpoints/admin/relays/list.ts index cbec0f97ab..7be4cfad83 100644 --- a/packages/backend/src/server/api/endpoints/admin/relays/list.ts +++ b/packages/backend/src/server/api/endpoints/admin/relays/list.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/relays/remove.ts b/packages/backend/src/server/api/endpoints/admin/relays/remove.ts index 0971308023..6454463f00 100644 --- a/packages/backend/src/server/api/endpoints/admin/relays/remove.ts +++ b/packages/backend/src/server/api/endpoints/admin/relays/remove.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/reset-password.ts b/packages/backend/src/server/api/endpoints/admin/reset-password.ts index a1aa49b5b8..6e4ba959a2 100644 --- a/packages/backend/src/server/api/endpoints/admin/reset-password.ts +++ b/packages/backend/src/server/api/endpoints/admin/reset-password.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import bcrypt from 'bcryptjs'; diff --git a/packages/backend/src/server/api/endpoints/admin/resolve-abuse-user-report.ts b/packages/backend/src/server/api/endpoints/admin/resolve-abuse-user-report.ts index e02f43dc8f..d37d46daa8 100644 --- a/packages/backend/src/server/api/endpoints/admin/resolve-abuse-user-report.ts +++ b/packages/backend/src/server/api/endpoints/admin/resolve-abuse-user-report.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/roles/assign.ts b/packages/backend/src/server/api/endpoints/admin/roles/assign.ts index ac0c834ecd..78ab13a773 100644 --- a/packages/backend/src/server/api/endpoints/admin/roles/assign.ts +++ b/packages/backend/src/server/api/endpoints/admin/roles/assign.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/roles/create.ts b/packages/backend/src/server/api/endpoints/admin/roles/create.ts index f76c645b64..d4c3e4d789 100644 --- a/packages/backend/src/server/api/endpoints/admin/roles/create.ts +++ b/packages/backend/src/server/api/endpoints/admin/roles/create.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/roles/delete.ts b/packages/backend/src/server/api/endpoints/admin/roles/delete.ts index 69a8947cd5..b57cd0d5c8 100644 --- a/packages/backend/src/server/api/endpoints/admin/roles/delete.ts +++ b/packages/backend/src/server/api/endpoints/admin/roles/delete.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/roles/list.ts b/packages/backend/src/server/api/endpoints/admin/roles/list.ts index 918bce71fd..363cac7f05 100644 --- a/packages/backend/src/server/api/endpoints/admin/roles/list.ts +++ b/packages/backend/src/server/api/endpoints/admin/roles/list.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/roles/show.ts b/packages/backend/src/server/api/endpoints/admin/roles/show.ts index 10e51aa919..189e40dd6f 100644 --- a/packages/backend/src/server/api/endpoints/admin/roles/show.ts +++ b/packages/backend/src/server/api/endpoints/admin/roles/show.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/roles/unassign.ts b/packages/backend/src/server/api/endpoints/admin/roles/unassign.ts index 9686ee54ed..1b3c49571b 100644 --- a/packages/backend/src/server/api/endpoints/admin/roles/unassign.ts +++ b/packages/backend/src/server/api/endpoints/admin/roles/unassign.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/roles/update-default-policies.ts b/packages/backend/src/server/api/endpoints/admin/roles/update-default-policies.ts index da45e358b5..85ddecf839 100644 --- a/packages/backend/src/server/api/endpoints/admin/roles/update-default-policies.ts +++ b/packages/backend/src/server/api/endpoints/admin/roles/update-default-policies.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/roles/update.ts b/packages/backend/src/server/api/endpoints/admin/roles/update.ts index 79ddf399d7..f336a3f8e9 100644 --- a/packages/backend/src/server/api/endpoints/admin/roles/update.ts +++ b/packages/backend/src/server/api/endpoints/admin/roles/update.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/roles/users.ts b/packages/backend/src/server/api/endpoints/admin/roles/users.ts index 159994495a..89f58d036e 100644 --- a/packages/backend/src/server/api/endpoints/admin/roles/users.ts +++ b/packages/backend/src/server/api/endpoints/admin/roles/users.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Brackets } from 'typeorm'; diff --git a/packages/backend/src/server/api/endpoints/admin/send-email.ts b/packages/backend/src/server/api/endpoints/admin/send-email.ts index 864ad48a25..48e52ca75f 100644 --- a/packages/backend/src/server/api/endpoints/admin/send-email.ts +++ b/packages/backend/src/server/api/endpoints/admin/send-email.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/server-info.ts b/packages/backend/src/server/api/endpoints/admin/server-info.ts index cbcc12218e..c3446da3c0 100644 --- a/packages/backend/src/server/api/endpoints/admin/server-info.ts +++ b/packages/backend/src/server/api/endpoints/admin/server-info.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as os from 'node:os'; import si from 'systeminformation'; diff --git a/packages/backend/src/server/api/endpoints/admin/show-moderation-logs.ts b/packages/backend/src/server/api/endpoints/admin/show-moderation-logs.ts index 00748140f8..16e424890f 100644 --- a/packages/backend/src/server/api/endpoints/admin/show-moderation-logs.ts +++ b/packages/backend/src/server/api/endpoints/admin/show-moderation-logs.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/show-user.ts b/packages/backend/src/server/api/endpoints/admin/show-user.ts index 3539f845bc..1e8c38c96b 100644 --- a/packages/backend/src/server/api/endpoints/admin/show-user.ts +++ b/packages/backend/src/server/api/endpoints/admin/show-user.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { UsersRepository, SigninsRepository, UserProfilesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/show-users.ts b/packages/backend/src/server/api/endpoints/admin/show-users.ts index deabb942b4..cc07e77f49 100644 --- a/packages/backend/src/server/api/endpoints/admin/show-users.ts +++ b/packages/backend/src/server/api/endpoints/admin/show-users.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { UsersRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/suspend-user.ts b/packages/backend/src/server/api/endpoints/admin/suspend-user.ts index a0a00d2499..718700abbd 100644 --- a/packages/backend/src/server/api/endpoints/admin/suspend-user.ts +++ b/packages/backend/src/server/api/endpoints/admin/suspend-user.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { IsNull, Not } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/admin/unsuspend-user.ts b/packages/backend/src/server/api/endpoints/admin/unsuspend-user.ts index ff2a9e7be6..984e0ee074 100644 --- a/packages/backend/src/server/api/endpoints/admin/unsuspend-user.ts +++ b/packages/backend/src/server/api/endpoints/admin/unsuspend-user.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/update-meta.ts b/packages/backend/src/server/api/endpoints/admin/update-meta.ts index fca394ea3b..e5b97890b3 100644 --- a/packages/backend/src/server/api/endpoints/admin/update-meta.ts +++ b/packages/backend/src/server/api/endpoints/admin/update-meta.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DataSource } from 'typeorm'; diff --git a/packages/backend/src/server/api/endpoints/admin/update-user-note.ts b/packages/backend/src/server/api/endpoints/admin/update-user-note.ts index 697e4c827e..2cfd772635 100644 --- a/packages/backend/src/server/api/endpoints/admin/update-user-note.ts +++ b/packages/backend/src/server/api/endpoints/admin/update-user-note.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { UserProfilesRepository, UsersRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/announcements.ts b/packages/backend/src/server/api/endpoints/announcements.ts index 43dfe2640a..df0a0afb09 100644 --- a/packages/backend/src/server/api/endpoints/announcements.ts +++ b/packages/backend/src/server/api/endpoints/announcements.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/antennas/create.ts b/packages/backend/src/server/api/endpoints/antennas/create.ts index 21f5e20e34..8924568440 100644 --- a/packages/backend/src/server/api/endpoints/antennas/create.ts +++ b/packages/backend/src/server/api/endpoints/antennas/create.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/antennas/delete.ts b/packages/backend/src/server/api/endpoints/antennas/delete.ts index c2a1880f1f..59ccd724c0 100644 --- a/packages/backend/src/server/api/endpoints/antennas/delete.ts +++ b/packages/backend/src/server/api/endpoints/antennas/delete.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/antennas/list.ts b/packages/backend/src/server/api/endpoints/antennas/list.ts index 17714bbe24..db5d65589d 100644 --- a/packages/backend/src/server/api/endpoints/antennas/list.ts +++ b/packages/backend/src/server/api/endpoints/antennas/list.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/antennas/notes.ts b/packages/backend/src/server/api/endpoints/antennas/notes.ts index 5b1f347563..145134dcf7 100644 --- a/packages/backend/src/server/api/endpoints/antennas/notes.ts +++ b/packages/backend/src/server/api/endpoints/antennas/notes.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import * as Redis from 'ioredis'; diff --git a/packages/backend/src/server/api/endpoints/antennas/show.ts b/packages/backend/src/server/api/endpoints/antennas/show.ts index c2b50e4879..48012a11ec 100644 --- a/packages/backend/src/server/api/endpoints/antennas/show.ts +++ b/packages/backend/src/server/api/endpoints/antennas/show.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/antennas/update.ts b/packages/backend/src/server/api/endpoints/antennas/update.ts index 941c59b439..1f381caeff 100644 --- a/packages/backend/src/server/api/endpoints/antennas/update.ts +++ b/packages/backend/src/server/api/endpoints/antennas/update.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/ap/get.ts b/packages/backend/src/server/api/endpoints/ap/get.ts index 09043f7bd3..b19a4d7eb3 100644 --- a/packages/backend/src/server/api/endpoints/ap/get.ts +++ b/packages/backend/src/server/api/endpoints/ap/get.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import ms from 'ms'; diff --git a/packages/backend/src/server/api/endpoints/ap/show.ts b/packages/backend/src/server/api/endpoints/ap/show.ts index 3eda7f7a95..a5fd843c59 100644 --- a/packages/backend/src/server/api/endpoints/ap/show.ts +++ b/packages/backend/src/server/api/endpoints/ap/show.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import ms from 'ms'; diff --git a/packages/backend/src/server/api/endpoints/app/create.ts b/packages/backend/src/server/api/endpoints/app/create.ts index 4bc96f2a53..5e7486eaec 100644 --- a/packages/backend/src/server/api/endpoints/app/create.ts +++ b/packages/backend/src/server/api/endpoints/app/create.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/app/show.ts b/packages/backend/src/server/api/endpoints/app/show.ts index 39acc7f7fb..8878dc6412 100644 --- a/packages/backend/src/server/api/endpoints/app/show.ts +++ b/packages/backend/src/server/api/endpoints/app/show.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/auth/accept.ts b/packages/backend/src/server/api/endpoints/auth/accept.ts index a24bf8b14a..1070384ba3 100644 --- a/packages/backend/src/server/api/endpoints/auth/accept.ts +++ b/packages/backend/src/server/api/endpoints/auth/accept.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as crypto from 'node:crypto'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/auth/session/generate.ts b/packages/backend/src/server/api/endpoints/auth/session/generate.ts index 8d7a5d49ac..60eebecf36 100644 --- a/packages/backend/src/server/api/endpoints/auth/session/generate.ts +++ b/packages/backend/src/server/api/endpoints/auth/session/generate.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { randomUUID } from 'node:crypto'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/auth/session/show.ts b/packages/backend/src/server/api/endpoints/auth/session/show.ts index f4ae07aa92..173f567225 100644 --- a/packages/backend/src/server/api/endpoints/auth/session/show.ts +++ b/packages/backend/src/server/api/endpoints/auth/session/show.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/auth/session/userkey.ts b/packages/backend/src/server/api/endpoints/auth/session/userkey.ts index cef5740df7..2a27cab095 100644 --- a/packages/backend/src/server/api/endpoints/auth/session/userkey.ts +++ b/packages/backend/src/server/api/endpoints/auth/session/userkey.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/blocking/create.ts b/packages/backend/src/server/api/endpoints/blocking/create.ts index 958a6362d3..f7a3a6b1ba 100644 --- a/packages/backend/src/server/api/endpoints/blocking/create.ts +++ b/packages/backend/src/server/api/endpoints/blocking/create.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import ms from 'ms'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/blocking/delete.ts b/packages/backend/src/server/api/endpoints/blocking/delete.ts index 16e9ac3d8c..8ef7dd9c64 100644 --- a/packages/backend/src/server/api/endpoints/blocking/delete.ts +++ b/packages/backend/src/server/api/endpoints/blocking/delete.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import ms from 'ms'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/blocking/list.ts b/packages/backend/src/server/api/endpoints/blocking/list.ts index 32974840a4..3d3e786cdb 100644 --- a/packages/backend/src/server/api/endpoints/blocking/list.ts +++ b/packages/backend/src/server/api/endpoints/blocking/list.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/channels/create.ts b/packages/backend/src/server/api/endpoints/channels/create.ts index 912ae919fe..a63f99f827 100644 --- a/packages/backend/src/server/api/endpoints/channels/create.ts +++ b/packages/backend/src/server/api/endpoints/channels/create.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import ms from 'ms'; diff --git a/packages/backend/src/server/api/endpoints/channels/favorite.ts b/packages/backend/src/server/api/endpoints/channels/favorite.ts index 07c2773970..ef75af4960 100644 --- a/packages/backend/src/server/api/endpoints/channels/favorite.ts +++ b/packages/backend/src/server/api/endpoints/channels/favorite.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/channels/featured.ts b/packages/backend/src/server/api/endpoints/channels/featured.ts index 078e0620b7..3e26c1fdbb 100644 --- a/packages/backend/src/server/api/endpoints/channels/featured.ts +++ b/packages/backend/src/server/api/endpoints/channels/featured.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/channels/follow.ts b/packages/backend/src/server/api/endpoints/channels/follow.ts index 1583ab577b..877308eaeb 100644 --- a/packages/backend/src/server/api/endpoints/channels/follow.ts +++ b/packages/backend/src/server/api/endpoints/channels/follow.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/channels/followed.ts b/packages/backend/src/server/api/endpoints/channels/followed.ts index 8dabf4fbd6..6e4a13c1db 100644 --- a/packages/backend/src/server/api/endpoints/channels/followed.ts +++ b/packages/backend/src/server/api/endpoints/channels/followed.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/channels/my-favorites.ts b/packages/backend/src/server/api/endpoints/channels/my-favorites.ts index 72539cc437..e7bf9caf75 100644 --- a/packages/backend/src/server/api/endpoints/channels/my-favorites.ts +++ b/packages/backend/src/server/api/endpoints/channels/my-favorites.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/channels/owned.ts b/packages/backend/src/server/api/endpoints/channels/owned.ts index 9c914aabca..1b85b41543 100644 --- a/packages/backend/src/server/api/endpoints/channels/owned.ts +++ b/packages/backend/src/server/api/endpoints/channels/owned.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/channels/search.ts b/packages/backend/src/server/api/endpoints/channels/search.ts index 3a052c445c..b66245c48e 100644 --- a/packages/backend/src/server/api/endpoints/channels/search.ts +++ b/packages/backend/src/server/api/endpoints/channels/search.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Brackets } from 'typeorm'; diff --git a/packages/backend/src/server/api/endpoints/channels/show.ts b/packages/backend/src/server/api/endpoints/channels/show.ts index 64f359941c..1a3d95f7fd 100644 --- a/packages/backend/src/server/api/endpoints/channels/show.ts +++ b/packages/backend/src/server/api/endpoints/channels/show.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/channels/timeline.ts b/packages/backend/src/server/api/endpoints/channels/timeline.ts index aa6cf43f3e..2307b07fc5 100644 --- a/packages/backend/src/server/api/endpoints/channels/timeline.ts +++ b/packages/backend/src/server/api/endpoints/channels/timeline.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import * as Redis from 'ioredis'; diff --git a/packages/backend/src/server/api/endpoints/channels/unfavorite.ts b/packages/backend/src/server/api/endpoints/channels/unfavorite.ts index db529e9ea6..7937ef690e 100644 --- a/packages/backend/src/server/api/endpoints/channels/unfavorite.ts +++ b/packages/backend/src/server/api/endpoints/channels/unfavorite.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/channels/unfollow.ts b/packages/backend/src/server/api/endpoints/channels/unfollow.ts index 81f78adbdc..956c94b803 100644 --- a/packages/backend/src/server/api/endpoints/channels/unfollow.ts +++ b/packages/backend/src/server/api/endpoints/channels/unfollow.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/channels/update.ts b/packages/backend/src/server/api/endpoints/channels/update.ts index 2df1780cae..701b73148d 100644 --- a/packages/backend/src/server/api/endpoints/channels/update.ts +++ b/packages/backend/src/server/api/endpoints/channels/update.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/charts/active-users.ts b/packages/backend/src/server/api/endpoints/charts/active-users.ts index 42dca6f2c1..a7dd9c23f3 100644 --- a/packages/backend/src/server/api/endpoints/charts/active-users.ts +++ b/packages/backend/src/server/api/endpoints/charts/active-users.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { getJsonSchema } from '@/core/chart/core.js'; diff --git a/packages/backend/src/server/api/endpoints/charts/ap-request.ts b/packages/backend/src/server/api/endpoints/charts/ap-request.ts index 87c1767726..afa84e5a3d 100644 --- a/packages/backend/src/server/api/endpoints/charts/ap-request.ts +++ b/packages/backend/src/server/api/endpoints/charts/ap-request.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { getJsonSchema } from '@/core/chart/core.js'; diff --git a/packages/backend/src/server/api/endpoints/charts/drive.ts b/packages/backend/src/server/api/endpoints/charts/drive.ts index d54f1cfd8a..0f2f8193e5 100644 --- a/packages/backend/src/server/api/endpoints/charts/drive.ts +++ b/packages/backend/src/server/api/endpoints/charts/drive.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { getJsonSchema } from '@/core/chart/core.js'; diff --git a/packages/backend/src/server/api/endpoints/charts/federation.ts b/packages/backend/src/server/api/endpoints/charts/federation.ts index c07c4d4f10..5a56e34123 100644 --- a/packages/backend/src/server/api/endpoints/charts/federation.ts +++ b/packages/backend/src/server/api/endpoints/charts/federation.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { getJsonSchema } from '@/core/chart/core.js'; diff --git a/packages/backend/src/server/api/endpoints/charts/instance.ts b/packages/backend/src/server/api/endpoints/charts/instance.ts index 4134400fe7..7c9b265c7e 100644 --- a/packages/backend/src/server/api/endpoints/charts/instance.ts +++ b/packages/backend/src/server/api/endpoints/charts/instance.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { getJsonSchema } from '@/core/chart/core.js'; diff --git a/packages/backend/src/server/api/endpoints/charts/notes.ts b/packages/backend/src/server/api/endpoints/charts/notes.ts index acfa737aab..5b07418ccf 100644 --- a/packages/backend/src/server/api/endpoints/charts/notes.ts +++ b/packages/backend/src/server/api/endpoints/charts/notes.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { getJsonSchema } from '@/core/chart/core.js'; diff --git a/packages/backend/src/server/api/endpoints/charts/user/drive.ts b/packages/backend/src/server/api/endpoints/charts/user/drive.ts index 25aa1a21ad..6a410bec3c 100644 --- a/packages/backend/src/server/api/endpoints/charts/user/drive.ts +++ b/packages/backend/src/server/api/endpoints/charts/user/drive.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { getJsonSchema } from '@/core/chart/core.js'; diff --git a/packages/backend/src/server/api/endpoints/charts/user/following.ts b/packages/backend/src/server/api/endpoints/charts/user/following.ts index 6173a9c8ef..ecb9fb922e 100644 --- a/packages/backend/src/server/api/endpoints/charts/user/following.ts +++ b/packages/backend/src/server/api/endpoints/charts/user/following.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/charts/user/notes.ts b/packages/backend/src/server/api/endpoints/charts/user/notes.ts index d38da17e98..42610b29e0 100644 --- a/packages/backend/src/server/api/endpoints/charts/user/notes.ts +++ b/packages/backend/src/server/api/endpoints/charts/user/notes.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { getJsonSchema } from '@/core/chart/core.js'; diff --git a/packages/backend/src/server/api/endpoints/charts/user/pv.ts b/packages/backend/src/server/api/endpoints/charts/user/pv.ts index f0df333ae3..2ab77a6b4e 100644 --- a/packages/backend/src/server/api/endpoints/charts/user/pv.ts +++ b/packages/backend/src/server/api/endpoints/charts/user/pv.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { getJsonSchema } from '@/core/chart/core.js'; diff --git a/packages/backend/src/server/api/endpoints/charts/user/reactions.ts b/packages/backend/src/server/api/endpoints/charts/user/reactions.ts index 64b17efef2..39f1d6e28c 100644 --- a/packages/backend/src/server/api/endpoints/charts/user/reactions.ts +++ b/packages/backend/src/server/api/endpoints/charts/user/reactions.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { getJsonSchema } from '@/core/chart/core.js'; diff --git a/packages/backend/src/server/api/endpoints/charts/users.ts b/packages/backend/src/server/api/endpoints/charts/users.ts index 51a17cdee9..24ba51ee8b 100644 --- a/packages/backend/src/server/api/endpoints/charts/users.ts +++ b/packages/backend/src/server/api/endpoints/charts/users.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { getJsonSchema } from '@/core/chart/core.js'; diff --git a/packages/backend/src/server/api/endpoints/clips/add-note.ts b/packages/backend/src/server/api/endpoints/clips/add-note.ts index 4c75b64071..bf7c5e7543 100644 --- a/packages/backend/src/server/api/endpoints/clips/add-note.ts +++ b/packages/backend/src/server/api/endpoints/clips/add-note.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import ms from 'ms'; diff --git a/packages/backend/src/server/api/endpoints/clips/create.ts b/packages/backend/src/server/api/endpoints/clips/create.ts index a8f65c9315..12e3733e1c 100644 --- a/packages/backend/src/server/api/endpoints/clips/create.ts +++ b/packages/backend/src/server/api/endpoints/clips/create.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/clips/delete.ts b/packages/backend/src/server/api/endpoints/clips/delete.ts index 0f36cf7b69..3f3976d84a 100644 --- a/packages/backend/src/server/api/endpoints/clips/delete.ts +++ b/packages/backend/src/server/api/endpoints/clips/delete.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/clips/favorite.ts b/packages/backend/src/server/api/endpoints/clips/favorite.ts index af63d8bc76..012543e675 100644 --- a/packages/backend/src/server/api/endpoints/clips/favorite.ts +++ b/packages/backend/src/server/api/endpoints/clips/favorite.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { ClipsRepository, ClipFavoritesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/clips/list.ts b/packages/backend/src/server/api/endpoints/clips/list.ts index 58605ff071..65289d33e6 100644 --- a/packages/backend/src/server/api/endpoints/clips/list.ts +++ b/packages/backend/src/server/api/endpoints/clips/list.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/clips/my-favorites.ts b/packages/backend/src/server/api/endpoints/clips/my-favorites.ts index 9c4c0e6805..b5efa56b6a 100644 --- a/packages/backend/src/server/api/endpoints/clips/my-favorites.ts +++ b/packages/backend/src/server/api/endpoints/clips/my-favorites.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/clips/notes.ts b/packages/backend/src/server/api/endpoints/clips/notes.ts index 87fe571e82..0a35691ec0 100644 --- a/packages/backend/src/server/api/endpoints/clips/notes.ts +++ b/packages/backend/src/server/api/endpoints/clips/notes.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/clips/remove-note.ts b/packages/backend/src/server/api/endpoints/clips/remove-note.ts index 33088b6406..197a90e7f1 100644 --- a/packages/backend/src/server/api/endpoints/clips/remove-note.ts +++ b/packages/backend/src/server/api/endpoints/clips/remove-note.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/clips/show.ts b/packages/backend/src/server/api/endpoints/clips/show.ts index aa0aa11bfd..0e2485dec6 100644 --- a/packages/backend/src/server/api/endpoints/clips/show.ts +++ b/packages/backend/src/server/api/endpoints/clips/show.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/clips/unfavorite.ts b/packages/backend/src/server/api/endpoints/clips/unfavorite.ts index 378e5bc554..47d44da2cb 100644 --- a/packages/backend/src/server/api/endpoints/clips/unfavorite.ts +++ b/packages/backend/src/server/api/endpoints/clips/unfavorite.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { ClipsRepository, ClipFavoritesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/clips/update.ts b/packages/backend/src/server/api/endpoints/clips/update.ts index a486d62e9f..5a50855542 100644 --- a/packages/backend/src/server/api/endpoints/clips/update.ts +++ b/packages/backend/src/server/api/endpoints/clips/update.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/drive.ts b/packages/backend/src/server/api/endpoints/drive.ts index fa6a6b708b..8b4a9e5935 100644 --- a/packages/backend/src/server/api/endpoints/drive.ts +++ b/packages/backend/src/server/api/endpoints/drive.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/drive/files.ts b/packages/backend/src/server/api/endpoints/drive/files.ts index 4a28ed0f86..96c51a16ad 100644 --- a/packages/backend/src/server/api/endpoints/drive/files.ts +++ b/packages/backend/src/server/api/endpoints/drive/files.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/drive/files/attached-notes.ts b/packages/backend/src/server/api/endpoints/drive/files/attached-notes.ts index c6422f8a28..23929bcfa7 100644 --- a/packages/backend/src/server/api/endpoints/drive/files/attached-notes.ts +++ b/packages/backend/src/server/api/endpoints/drive/files/attached-notes.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/drive/files/check-existence.ts b/packages/backend/src/server/api/endpoints/drive/files/check-existence.ts index 603e1ba8e6..f780cf90da 100644 --- a/packages/backend/src/server/api/endpoints/drive/files/check-existence.ts +++ b/packages/backend/src/server/api/endpoints/drive/files/check-existence.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/drive/files/create.ts b/packages/backend/src/server/api/endpoints/drive/files/create.ts index 958ab23004..d9e7e4c246 100644 --- a/packages/backend/src/server/api/endpoints/drive/files/create.ts +++ b/packages/backend/src/server/api/endpoints/drive/files/create.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import ms from 'ms'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/drive/files/delete.ts b/packages/backend/src/server/api/endpoints/drive/files/delete.ts index 6a2db278f9..c04ce8313e 100644 --- a/packages/backend/src/server/api/endpoints/drive/files/delete.ts +++ b/packages/backend/src/server/api/endpoints/drive/files/delete.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/drive/files/find-by-hash.ts b/packages/backend/src/server/api/endpoints/drive/files/find-by-hash.ts index f0f2092632..3217bd4421 100644 --- a/packages/backend/src/server/api/endpoints/drive/files/find-by-hash.ts +++ b/packages/backend/src/server/api/endpoints/drive/files/find-by-hash.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { DriveFilesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/drive/files/find.ts b/packages/backend/src/server/api/endpoints/drive/files/find.ts index a4a33b5c79..ac09d82ee7 100644 --- a/packages/backend/src/server/api/endpoints/drive/files/find.ts +++ b/packages/backend/src/server/api/endpoints/drive/files/find.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { IsNull } from 'typeorm'; diff --git a/packages/backend/src/server/api/endpoints/drive/files/show.ts b/packages/backend/src/server/api/endpoints/drive/files/show.ts index 634e85293d..d9c0d766cb 100644 --- a/packages/backend/src/server/api/endpoints/drive/files/show.ts +++ b/packages/backend/src/server/api/endpoints/drive/files/show.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { DriveFile } from '@/models/entities/DriveFile.js'; diff --git a/packages/backend/src/server/api/endpoints/drive/files/update.ts b/packages/backend/src/server/api/endpoints/drive/files/update.ts index 01297a1a18..c6fe654209 100644 --- a/packages/backend/src/server/api/endpoints/drive/files/update.ts +++ b/packages/backend/src/server/api/endpoints/drive/files/update.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { DriveFilesRepository, DriveFoldersRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/drive/files/upload-from-url.ts b/packages/backend/src/server/api/endpoints/drive/files/upload-from-url.ts index 06ce803baf..8fca4f01dc 100644 --- a/packages/backend/src/server/api/endpoints/drive/files/upload-from-url.ts +++ b/packages/backend/src/server/api/endpoints/drive/files/upload-from-url.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import ms from 'ms'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/drive/folders.ts b/packages/backend/src/server/api/endpoints/drive/folders.ts index c4199e5f59..a1408fd213 100644 --- a/packages/backend/src/server/api/endpoints/drive/folders.ts +++ b/packages/backend/src/server/api/endpoints/drive/folders.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/drive/folders/create.ts b/packages/backend/src/server/api/endpoints/drive/folders/create.ts index 49ac7afeaf..6272fa683e 100644 --- a/packages/backend/src/server/api/endpoints/drive/folders/create.ts +++ b/packages/backend/src/server/api/endpoints/drive/folders/create.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import ms from 'ms'; diff --git a/packages/backend/src/server/api/endpoints/drive/folders/delete.ts b/packages/backend/src/server/api/endpoints/drive/folders/delete.ts index 481fceaa24..50db0c2085 100644 --- a/packages/backend/src/server/api/endpoints/drive/folders/delete.ts +++ b/packages/backend/src/server/api/endpoints/drive/folders/delete.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/drive/folders/find.ts b/packages/backend/src/server/api/endpoints/drive/folders/find.ts index 5b3e2fce99..b8af55c103 100644 --- a/packages/backend/src/server/api/endpoints/drive/folders/find.ts +++ b/packages/backend/src/server/api/endpoints/drive/folders/find.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { IsNull } from 'typeorm'; diff --git a/packages/backend/src/server/api/endpoints/drive/folders/show.ts b/packages/backend/src/server/api/endpoints/drive/folders/show.ts index d7206a513a..041ed371a8 100644 --- a/packages/backend/src/server/api/endpoints/drive/folders/show.ts +++ b/packages/backend/src/server/api/endpoints/drive/folders/show.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/drive/folders/update.ts b/packages/backend/src/server/api/endpoints/drive/folders/update.ts index 59e6730b80..c6f115b358 100644 --- a/packages/backend/src/server/api/endpoints/drive/folders/update.ts +++ b/packages/backend/src/server/api/endpoints/drive/folders/update.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/drive/stream.ts b/packages/backend/src/server/api/endpoints/drive/stream.ts index 01978deecb..1311939e16 100644 --- a/packages/backend/src/server/api/endpoints/drive/stream.ts +++ b/packages/backend/src/server/api/endpoints/drive/stream.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/email-address/available.ts b/packages/backend/src/server/api/endpoints/email-address/available.ts index 34e295f542..55495fa3c9 100644 --- a/packages/backend/src/server/api/endpoints/email-address/available.ts +++ b/packages/backend/src/server/api/endpoints/email-address/available.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/emoji.ts b/packages/backend/src/server/api/endpoints/emoji.ts index fe1227f347..07011faabc 100644 --- a/packages/backend/src/server/api/endpoints/emoji.ts +++ b/packages/backend/src/server/api/endpoints/emoji.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { IsNull } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/emojis.ts b/packages/backend/src/server/api/endpoints/emojis.ts index f68b6707ae..b4c2d10ef8 100644 --- a/packages/backend/src/server/api/endpoints/emojis.ts +++ b/packages/backend/src/server/api/endpoints/emojis.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { IsNull } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/endpoint.ts b/packages/backend/src/server/api/endpoints/endpoint.ts index d6444e2fe0..b0272671e0 100644 --- a/packages/backend/src/server/api/endpoints/endpoint.ts +++ b/packages/backend/src/server/api/endpoints/endpoint.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/endpoints.ts b/packages/backend/src/server/api/endpoints/endpoints.ts index ef045f4328..826fadf684 100644 --- a/packages/backend/src/server/api/endpoints/endpoints.ts +++ b/packages/backend/src/server/api/endpoints/endpoints.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/export-custom-emojis.ts b/packages/backend/src/server/api/endpoints/export-custom-emojis.ts index fba6fe3b15..77b402c59e 100644 --- a/packages/backend/src/server/api/endpoints/export-custom-emojis.ts +++ b/packages/backend/src/server/api/endpoints/export-custom-emojis.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import ms from 'ms'; import { Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/federation/followers.ts b/packages/backend/src/server/api/endpoints/federation/followers.ts index 3f34c71f74..9b18f9deb4 100644 --- a/packages/backend/src/server/api/endpoints/federation/followers.ts +++ b/packages/backend/src/server/api/endpoints/federation/followers.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/federation/following.ts b/packages/backend/src/server/api/endpoints/federation/following.ts index 1726eae8ae..6e526996be 100644 --- a/packages/backend/src/server/api/endpoints/federation/following.ts +++ b/packages/backend/src/server/api/endpoints/federation/following.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/federation/instances.ts b/packages/backend/src/server/api/endpoints/federation/instances.ts index 2c6edc94e9..96063403b2 100644 --- a/packages/backend/src/server/api/endpoints/federation/instances.ts +++ b/packages/backend/src/server/api/endpoints/federation/instances.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/federation/show-instance.ts b/packages/backend/src/server/api/endpoints/federation/show-instance.ts index 30c05e0162..d76303ed45 100644 --- a/packages/backend/src/server/api/endpoints/federation/show-instance.ts +++ b/packages/backend/src/server/api/endpoints/federation/show-instance.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/federation/stats.ts b/packages/backend/src/server/api/endpoints/federation/stats.ts index 8895dccd8e..048a7ff4e3 100644 --- a/packages/backend/src/server/api/endpoints/federation/stats.ts +++ b/packages/backend/src/server/api/endpoints/federation/stats.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { IsNull, MoreThan, Not } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/federation/update-remote-user.ts b/packages/backend/src/server/api/endpoints/federation/update-remote-user.ts index 056531f31e..90ef86cf4b 100644 --- a/packages/backend/src/server/api/endpoints/federation/update-remote-user.ts +++ b/packages/backend/src/server/api/endpoints/federation/update-remote-user.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/federation/users.ts b/packages/backend/src/server/api/endpoints/federation/users.ts index 8a15ba4d82..f284b2175c 100644 --- a/packages/backend/src/server/api/endpoints/federation/users.ts +++ b/packages/backend/src/server/api/endpoints/federation/users.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/fetch-rss.ts b/packages/backend/src/server/api/endpoints/fetch-rss.ts index abc27b7f5a..6a76d9a7e8 100644 --- a/packages/backend/src/server/api/endpoints/fetch-rss.ts +++ b/packages/backend/src/server/api/endpoints/fetch-rss.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import Parser from 'rss-parser'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/flash/create.ts b/packages/backend/src/server/api/endpoints/flash/create.ts index 2ca33bc3c9..4a91ee2495 100644 --- a/packages/backend/src/server/api/endpoints/flash/create.ts +++ b/packages/backend/src/server/api/endpoints/flash/create.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import ms from 'ms'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/flash/delete.ts b/packages/backend/src/server/api/endpoints/flash/delete.ts index 9914b3e3c6..b71754000a 100644 --- a/packages/backend/src/server/api/endpoints/flash/delete.ts +++ b/packages/backend/src/server/api/endpoints/flash/delete.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { FlashsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/flash/featured.ts b/packages/backend/src/server/api/endpoints/flash/featured.ts index 0dce7ae890..a8f81fb380 100644 --- a/packages/backend/src/server/api/endpoints/flash/featured.ts +++ b/packages/backend/src/server/api/endpoints/flash/featured.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { FlashsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/flash/like.ts b/packages/backend/src/server/api/endpoints/flash/like.ts index df33d8595e..2a170bf1fb 100644 --- a/packages/backend/src/server/api/endpoints/flash/like.ts +++ b/packages/backend/src/server/api/endpoints/flash/like.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { FlashsRepository, FlashLikesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/flash/my-likes.ts b/packages/backend/src/server/api/endpoints/flash/my-likes.ts index 6559dffd4f..ed1ee0ffde 100644 --- a/packages/backend/src/server/api/endpoints/flash/my-likes.ts +++ b/packages/backend/src/server/api/endpoints/flash/my-likes.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/flash/my.ts b/packages/backend/src/server/api/endpoints/flash/my.ts index 74142a67bf..2417b448aa 100644 --- a/packages/backend/src/server/api/endpoints/flash/my.ts +++ b/packages/backend/src/server/api/endpoints/flash/my.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/flash/show.ts b/packages/backend/src/server/api/endpoints/flash/show.ts index 5f4c913012..94c69e4e5e 100644 --- a/packages/backend/src/server/api/endpoints/flash/show.ts +++ b/packages/backend/src/server/api/endpoints/flash/show.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { UsersRepository, FlashsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/flash/unlike.ts b/packages/backend/src/server/api/endpoints/flash/unlike.ts index 3e694b7e1a..f6fcdfdf93 100644 --- a/packages/backend/src/server/api/endpoints/flash/unlike.ts +++ b/packages/backend/src/server/api/endpoints/flash/unlike.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { FlashsRepository, FlashLikesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/flash/update.ts b/packages/backend/src/server/api/endpoints/flash/update.ts index f22692895e..7ef979d951 100644 --- a/packages/backend/src/server/api/endpoints/flash/update.ts +++ b/packages/backend/src/server/api/endpoints/flash/update.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import ms from 'ms'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/following/create.ts b/packages/backend/src/server/api/endpoints/following/create.ts index 88a58443a0..fc9009f19f 100644 --- a/packages/backend/src/server/api/endpoints/following/create.ts +++ b/packages/backend/src/server/api/endpoints/following/create.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import ms from 'ms'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/following/delete.ts b/packages/backend/src/server/api/endpoints/following/delete.ts index 3fa8fe7d96..21d14028f2 100644 --- a/packages/backend/src/server/api/endpoints/following/delete.ts +++ b/packages/backend/src/server/api/endpoints/following/delete.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import ms from 'ms'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/following/invalidate.ts b/packages/backend/src/server/api/endpoints/following/invalidate.ts index f0be8c2b2f..d0e4b51d35 100644 --- a/packages/backend/src/server/api/endpoints/following/invalidate.ts +++ b/packages/backend/src/server/api/endpoints/following/invalidate.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import ms from 'ms'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/following/requests/accept.ts b/packages/backend/src/server/api/endpoints/following/requests/accept.ts index 78d06054e3..324dcec12a 100644 --- a/packages/backend/src/server/api/endpoints/following/requests/accept.ts +++ b/packages/backend/src/server/api/endpoints/following/requests/accept.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/following/requests/cancel.ts b/packages/backend/src/server/api/endpoints/following/requests/cancel.ts index a39f278217..3c952a9ba5 100644 --- a/packages/backend/src/server/api/endpoints/following/requests/cancel.ts +++ b/packages/backend/src/server/api/endpoints/following/requests/cancel.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/following/requests/list.ts b/packages/backend/src/server/api/endpoints/following/requests/list.ts index 631c464d39..26c068c646 100644 --- a/packages/backend/src/server/api/endpoints/following/requests/list.ts +++ b/packages/backend/src/server/api/endpoints/following/requests/list.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/following/requests/reject.ts b/packages/backend/src/server/api/endpoints/following/requests/reject.ts index 3b467908c3..a57cbb1848 100644 --- a/packages/backend/src/server/api/endpoints/following/requests/reject.ts +++ b/packages/backend/src/server/api/endpoints/following/requests/reject.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/gallery/featured.ts b/packages/backend/src/server/api/endpoints/gallery/featured.ts index 22f5c5f0ac..80cad0e5b0 100644 --- a/packages/backend/src/server/api/endpoints/gallery/featured.ts +++ b/packages/backend/src/server/api/endpoints/gallery/featured.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/gallery/popular.ts b/packages/backend/src/server/api/endpoints/gallery/popular.ts index cf7b85a91c..ef1d54f82c 100644 --- a/packages/backend/src/server/api/endpoints/gallery/popular.ts +++ b/packages/backend/src/server/api/endpoints/gallery/popular.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/gallery/posts.ts b/packages/backend/src/server/api/endpoints/gallery/posts.ts index 93303b46e5..42f35f418a 100644 --- a/packages/backend/src/server/api/endpoints/gallery/posts.ts +++ b/packages/backend/src/server/api/endpoints/gallery/posts.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/gallery/posts/create.ts b/packages/backend/src/server/api/endpoints/gallery/posts/create.ts index 0a62d3bdb8..957623ab14 100644 --- a/packages/backend/src/server/api/endpoints/gallery/posts/create.ts +++ b/packages/backend/src/server/api/endpoints/gallery/posts/create.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import ms from 'ms'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/gallery/posts/delete.ts b/packages/backend/src/server/api/endpoints/gallery/posts/delete.ts index 388388ebc0..81ed24df15 100644 --- a/packages/backend/src/server/api/endpoints/gallery/posts/delete.ts +++ b/packages/backend/src/server/api/endpoints/gallery/posts/delete.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/gallery/posts/like.ts b/packages/backend/src/server/api/endpoints/gallery/posts/like.ts index 00e69c07ea..f12456fbdb 100644 --- a/packages/backend/src/server/api/endpoints/gallery/posts/like.ts +++ b/packages/backend/src/server/api/endpoints/gallery/posts/like.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/gallery/posts/show.ts b/packages/backend/src/server/api/endpoints/gallery/posts/show.ts index b11dc7f756..a76e52bd89 100644 --- a/packages/backend/src/server/api/endpoints/gallery/posts/show.ts +++ b/packages/backend/src/server/api/endpoints/gallery/posts/show.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/gallery/posts/unlike.ts b/packages/backend/src/server/api/endpoints/gallery/posts/unlike.ts index e109bd505f..339452cdef 100644 --- a/packages/backend/src/server/api/endpoints/gallery/posts/unlike.ts +++ b/packages/backend/src/server/api/endpoints/gallery/posts/unlike.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/gallery/posts/update.ts b/packages/backend/src/server/api/endpoints/gallery/posts/update.ts index 7af1e34bbf..c9bd21ab45 100644 --- a/packages/backend/src/server/api/endpoints/gallery/posts/update.ts +++ b/packages/backend/src/server/api/endpoints/gallery/posts/update.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import ms from 'ms'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/get-online-users-count.ts b/packages/backend/src/server/api/endpoints/get-online-users-count.ts index 55671afe5d..3c265185a9 100644 --- a/packages/backend/src/server/api/endpoints/get-online-users-count.ts +++ b/packages/backend/src/server/api/endpoints/get-online-users-count.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { MoreThan } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/hashtags/list.ts b/packages/backend/src/server/api/endpoints/hashtags/list.ts index 3cfcec5efc..71400f4a23 100644 --- a/packages/backend/src/server/api/endpoints/hashtags/list.ts +++ b/packages/backend/src/server/api/endpoints/hashtags/list.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/hashtags/search.ts b/packages/backend/src/server/api/endpoints/hashtags/search.ts index cc8738e94a..e9508afd32 100644 --- a/packages/backend/src/server/api/endpoints/hashtags/search.ts +++ b/packages/backend/src/server/api/endpoints/hashtags/search.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/hashtags/show.ts b/packages/backend/src/server/api/endpoints/hashtags/show.ts index 3cb46c6879..64a556a3c7 100644 --- a/packages/backend/src/server/api/endpoints/hashtags/show.ts +++ b/packages/backend/src/server/api/endpoints/hashtags/show.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/hashtags/trend.ts b/packages/backend/src/server/api/endpoints/hashtags/trend.ts index a8523a7bcc..949787b964 100644 --- a/packages/backend/src/server/api/endpoints/hashtags/trend.ts +++ b/packages/backend/src/server/api/endpoints/hashtags/trend.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Brackets } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/hashtags/users.ts b/packages/backend/src/server/api/endpoints/hashtags/users.ts index 7931804e3e..6a8c69351d 100644 --- a/packages/backend/src/server/api/endpoints/hashtags/users.ts +++ b/packages/backend/src/server/api/endpoints/hashtags/users.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/i.ts b/packages/backend/src/server/api/endpoints/i.ts index acc64fe770..7c59cee09d 100644 --- a/packages/backend/src/server/api/endpoints/i.ts +++ b/packages/backend/src/server/api/endpoints/i.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { UserProfilesRepository, UsersRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/i/2fa/done.ts b/packages/backend/src/server/api/endpoints/i/2fa/done.ts index 8cf4f4c519..9fad2d021a 100644 --- a/packages/backend/src/server/api/endpoints/i/2fa/done.ts +++ b/packages/backend/src/server/api/endpoints/i/2fa/done.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as OTPAuth from 'otpauth'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/i/2fa/key-done.ts b/packages/backend/src/server/api/endpoints/i/2fa/key-done.ts index 766cc9ab46..fd6e70a9de 100644 --- a/packages/backend/src/server/api/endpoints/i/2fa/key-done.ts +++ b/packages/backend/src/server/api/endpoints/i/2fa/key-done.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { promisify } from 'node:util'; import bcrypt from 'bcryptjs'; diff --git a/packages/backend/src/server/api/endpoints/i/2fa/password-less.ts b/packages/backend/src/server/api/endpoints/i/2fa/password-less.ts index 35af06c957..4973b49c22 100644 --- a/packages/backend/src/server/api/endpoints/i/2fa/password-less.ts +++ b/packages/backend/src/server/api/endpoints/i/2fa/password-less.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/i/2fa/register-key.ts b/packages/backend/src/server/api/endpoints/i/2fa/register-key.ts index 0218511ac7..e27a5a8223 100644 --- a/packages/backend/src/server/api/endpoints/i/2fa/register-key.ts +++ b/packages/backend/src/server/api/endpoints/i/2fa/register-key.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { promisify } from 'node:util'; import * as crypto from 'node:crypto'; diff --git a/packages/backend/src/server/api/endpoints/i/2fa/register.ts b/packages/backend/src/server/api/endpoints/i/2fa/register.ts index ba0bf73827..0e57f07e5e 100644 --- a/packages/backend/src/server/api/endpoints/i/2fa/register.ts +++ b/packages/backend/src/server/api/endpoints/i/2fa/register.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import bcrypt from 'bcryptjs'; import * as OTPAuth from 'otpauth'; diff --git a/packages/backend/src/server/api/endpoints/i/2fa/remove-key.ts b/packages/backend/src/server/api/endpoints/i/2fa/remove-key.ts index d11cd931da..6402f3440f 100644 --- a/packages/backend/src/server/api/endpoints/i/2fa/remove-key.ts +++ b/packages/backend/src/server/api/endpoints/i/2fa/remove-key.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import bcrypt from 'bcryptjs'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/i/2fa/unregister.ts b/packages/backend/src/server/api/endpoints/i/2fa/unregister.ts index 80a3f5939a..c0e9ff5ec0 100644 --- a/packages/backend/src/server/api/endpoints/i/2fa/unregister.ts +++ b/packages/backend/src/server/api/endpoints/i/2fa/unregister.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import bcrypt from 'bcryptjs'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/i/2fa/update-key.ts b/packages/backend/src/server/api/endpoints/i/2fa/update-key.ts index a55da32d6a..6e1eac8318 100644 --- a/packages/backend/src/server/api/endpoints/i/2fa/update-key.ts +++ b/packages/backend/src/server/api/endpoints/i/2fa/update-key.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import bcrypt from 'bcryptjs'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/i/apps.ts b/packages/backend/src/server/api/endpoints/i/apps.ts index 2068760bac..24e80390c2 100644 --- a/packages/backend/src/server/api/endpoints/i/apps.ts +++ b/packages/backend/src/server/api/endpoints/i/apps.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/i/authorized-apps.ts b/packages/backend/src/server/api/endpoints/i/authorized-apps.ts index e3fa51b442..1da5479c38 100644 --- a/packages/backend/src/server/api/endpoints/i/authorized-apps.ts +++ b/packages/backend/src/server/api/endpoints/i/authorized-apps.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { IsNull, Not } from 'typeorm'; diff --git a/packages/backend/src/server/api/endpoints/i/change-password.ts b/packages/backend/src/server/api/endpoints/i/change-password.ts index df7f9b6967..757a57caed 100644 --- a/packages/backend/src/server/api/endpoints/i/change-password.ts +++ b/packages/backend/src/server/api/endpoints/i/change-password.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import bcrypt from 'bcryptjs'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/i/claim-achievement.ts b/packages/backend/src/server/api/endpoints/i/claim-achievement.ts index b7f47e54b2..b2a70f1681 100644 --- a/packages/backend/src/server/api/endpoints/i/claim-achievement.ts +++ b/packages/backend/src/server/api/endpoints/i/claim-achievement.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/i/delete-account.ts b/packages/backend/src/server/api/endpoints/i/delete-account.ts index 0239f4a794..721eb01c51 100644 --- a/packages/backend/src/server/api/endpoints/i/delete-account.ts +++ b/packages/backend/src/server/api/endpoints/i/delete-account.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import bcrypt from 'bcryptjs'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/i/export-antennas.ts b/packages/backend/src/server/api/endpoints/i/export-antennas.ts index 10eae4d3ec..23b2f6b4ce 100644 --- a/packages/backend/src/server/api/endpoints/i/export-antennas.ts +++ b/packages/backend/src/server/api/endpoints/i/export-antennas.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import ms from 'ms'; diff --git a/packages/backend/src/server/api/endpoints/i/export-blocking.ts b/packages/backend/src/server/api/endpoints/i/export-blocking.ts index 691c9dced7..8e6bfd4cdc 100644 --- a/packages/backend/src/server/api/endpoints/i/export-blocking.ts +++ b/packages/backend/src/server/api/endpoints/i/export-blocking.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import ms from 'ms'; diff --git a/packages/backend/src/server/api/endpoints/i/export-favorites.ts b/packages/backend/src/server/api/endpoints/i/export-favorites.ts index 2c48ae81ed..5c9f0953d3 100644 --- a/packages/backend/src/server/api/endpoints/i/export-favorites.ts +++ b/packages/backend/src/server/api/endpoints/i/export-favorites.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import ms from 'ms'; diff --git a/packages/backend/src/server/api/endpoints/i/export-following.ts b/packages/backend/src/server/api/endpoints/i/export-following.ts index f2ded6e25b..e3c33a9429 100644 --- a/packages/backend/src/server/api/endpoints/i/export-following.ts +++ b/packages/backend/src/server/api/endpoints/i/export-following.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import ms from 'ms'; diff --git a/packages/backend/src/server/api/endpoints/i/export-mute.ts b/packages/backend/src/server/api/endpoints/i/export-mute.ts index d660c1a143..5234d7d340 100644 --- a/packages/backend/src/server/api/endpoints/i/export-mute.ts +++ b/packages/backend/src/server/api/endpoints/i/export-mute.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import ms from 'ms'; diff --git a/packages/backend/src/server/api/endpoints/i/export-notes.ts b/packages/backend/src/server/api/endpoints/i/export-notes.ts index 6f94a9534b..cca4a58e4a 100644 --- a/packages/backend/src/server/api/endpoints/i/export-notes.ts +++ b/packages/backend/src/server/api/endpoints/i/export-notes.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import ms from 'ms'; diff --git a/packages/backend/src/server/api/endpoints/i/export-user-lists.ts b/packages/backend/src/server/api/endpoints/i/export-user-lists.ts index 12ae069c6e..74b2c7c2c6 100644 --- a/packages/backend/src/server/api/endpoints/i/export-user-lists.ts +++ b/packages/backend/src/server/api/endpoints/i/export-user-lists.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import ms from 'ms'; diff --git a/packages/backend/src/server/api/endpoints/i/favorites.ts b/packages/backend/src/server/api/endpoints/i/favorites.ts index 45b20b8518..d5b1959795 100644 --- a/packages/backend/src/server/api/endpoints/i/favorites.ts +++ b/packages/backend/src/server/api/endpoints/i/favorites.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/i/gallery/likes.ts b/packages/backend/src/server/api/endpoints/i/gallery/likes.ts index 25ea73f08e..5017d0695a 100644 --- a/packages/backend/src/server/api/endpoints/i/gallery/likes.ts +++ b/packages/backend/src/server/api/endpoints/i/gallery/likes.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/i/gallery/posts.ts b/packages/backend/src/server/api/endpoints/i/gallery/posts.ts index 133c1cc88f..4e846831bd 100644 --- a/packages/backend/src/server/api/endpoints/i/gallery/posts.ts +++ b/packages/backend/src/server/api/endpoints/i/gallery/posts.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/i/get-word-muted-notes-count.ts b/packages/backend/src/server/api/endpoints/i/get-word-muted-notes-count.ts index f5b56d3d7b..4022933360 100644 --- a/packages/backend/src/server/api/endpoints/i/get-word-muted-notes-count.ts +++ b/packages/backend/src/server/api/endpoints/i/get-word-muted-notes-count.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/i/import-antennas.ts b/packages/backend/src/server/api/endpoints/i/import-antennas.ts index 1835d38827..4bae2d1562 100644 --- a/packages/backend/src/server/api/endpoints/i/import-antennas.ts +++ b/packages/backend/src/server/api/endpoints/i/import-antennas.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import ms from 'ms'; diff --git a/packages/backend/src/server/api/endpoints/i/import-blocking.ts b/packages/backend/src/server/api/endpoints/i/import-blocking.ts index b7f37b704d..37d550c330 100644 --- a/packages/backend/src/server/api/endpoints/i/import-blocking.ts +++ b/packages/backend/src/server/api/endpoints/i/import-blocking.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import ms from 'ms'; diff --git a/packages/backend/src/server/api/endpoints/i/import-following.ts b/packages/backend/src/server/api/endpoints/i/import-following.ts index 4df96cbd81..b29a361d0d 100644 --- a/packages/backend/src/server/api/endpoints/i/import-following.ts +++ b/packages/backend/src/server/api/endpoints/i/import-following.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import ms from 'ms'; diff --git a/packages/backend/src/server/api/endpoints/i/import-muting.ts b/packages/backend/src/server/api/endpoints/i/import-muting.ts index cdbe4167e9..b148f60d86 100644 --- a/packages/backend/src/server/api/endpoints/i/import-muting.ts +++ b/packages/backend/src/server/api/endpoints/i/import-muting.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import ms from 'ms'; diff --git a/packages/backend/src/server/api/endpoints/i/import-user-lists.ts b/packages/backend/src/server/api/endpoints/i/import-user-lists.ts index 83a10ec419..9cf54d17bf 100644 --- a/packages/backend/src/server/api/endpoints/i/import-user-lists.ts +++ b/packages/backend/src/server/api/endpoints/i/import-user-lists.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import ms from 'ms'; diff --git a/packages/backend/src/server/api/endpoints/i/move.ts b/packages/backend/src/server/api/endpoints/i/move.ts index e3dbc4f120..5c6c370a41 100644 --- a/packages/backend/src/server/api/endpoints/i/move.ts +++ b/packages/backend/src/server/api/endpoints/i/move.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import ms from 'ms'; diff --git a/packages/backend/src/server/api/endpoints/i/notifications.ts b/packages/backend/src/server/api/endpoints/i/notifications.ts index d3142bf6e0..d007405a9c 100644 --- a/packages/backend/src/server/api/endpoints/i/notifications.ts +++ b/packages/backend/src/server/api/endpoints/i/notifications.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Brackets, In } from 'typeorm'; import * as Redis from 'ioredis'; diff --git a/packages/backend/src/server/api/endpoints/i/page-likes.ts b/packages/backend/src/server/api/endpoints/i/page-likes.ts index bbb1e515a7..7510348260 100644 --- a/packages/backend/src/server/api/endpoints/i/page-likes.ts +++ b/packages/backend/src/server/api/endpoints/i/page-likes.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/i/pages.ts b/packages/backend/src/server/api/endpoints/i/pages.ts index a43a956508..489956b562 100644 --- a/packages/backend/src/server/api/endpoints/i/pages.ts +++ b/packages/backend/src/server/api/endpoints/i/pages.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/i/pin.ts b/packages/backend/src/server/api/endpoints/i/pin.ts index 706a65ea3d..4407a1008c 100644 --- a/packages/backend/src/server/api/endpoints/i/pin.ts +++ b/packages/backend/src/server/api/endpoints/i/pin.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/i/read-all-unread-notes.ts b/packages/backend/src/server/api/endpoints/i/read-all-unread-notes.ts index 78ef10c82c..d7ca50ebf6 100644 --- a/packages/backend/src/server/api/endpoints/i/read-all-unread-notes.ts +++ b/packages/backend/src/server/api/endpoints/i/read-all-unread-notes.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/i/read-announcement.ts b/packages/backend/src/server/api/endpoints/i/read-announcement.ts index 41d0f96c8e..7bda6e2627 100644 --- a/packages/backend/src/server/api/endpoints/i/read-announcement.ts +++ b/packages/backend/src/server/api/endpoints/i/read-announcement.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/i/regenerate-token.ts b/packages/backend/src/server/api/endpoints/i/regenerate-token.ts index 9f6098407a..190ce6e6ff 100644 --- a/packages/backend/src/server/api/endpoints/i/regenerate-token.ts +++ b/packages/backend/src/server/api/endpoints/i/regenerate-token.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import bcrypt from 'bcryptjs'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/i/registry/get-all.ts b/packages/backend/src/server/api/endpoints/i/registry/get-all.ts index ada05a3bb6..293b67ae67 100644 --- a/packages/backend/src/server/api/endpoints/i/registry/get-all.ts +++ b/packages/backend/src/server/api/endpoints/i/registry/get-all.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/i/registry/get-detail.ts b/packages/backend/src/server/api/endpoints/i/registry/get-detail.ts index b11d3c58a4..77cc7bab7c 100644 --- a/packages/backend/src/server/api/endpoints/i/registry/get-detail.ts +++ b/packages/backend/src/server/api/endpoints/i/registry/get-detail.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/i/registry/get.ts b/packages/backend/src/server/api/endpoints/i/registry/get.ts index d18c6dbc84..9b9d943e63 100644 --- a/packages/backend/src/server/api/endpoints/i/registry/get.ts +++ b/packages/backend/src/server/api/endpoints/i/registry/get.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/i/registry/keys-with-type.ts b/packages/backend/src/server/api/endpoints/i/registry/keys-with-type.ts index 0da2a7c78c..39b34de108 100644 --- a/packages/backend/src/server/api/endpoints/i/registry/keys-with-type.ts +++ b/packages/backend/src/server/api/endpoints/i/registry/keys-with-type.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/i/registry/keys.ts b/packages/backend/src/server/api/endpoints/i/registry/keys.ts index c8a8610c5a..2becd1040a 100644 --- a/packages/backend/src/server/api/endpoints/i/registry/keys.ts +++ b/packages/backend/src/server/api/endpoints/i/registry/keys.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/i/registry/remove.ts b/packages/backend/src/server/api/endpoints/i/registry/remove.ts index 7af6bf127b..633d47eb21 100644 --- a/packages/backend/src/server/api/endpoints/i/registry/remove.ts +++ b/packages/backend/src/server/api/endpoints/i/registry/remove.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/i/registry/scopes.ts b/packages/backend/src/server/api/endpoints/i/registry/scopes.ts index f548df00b1..7cf95926fb 100644 --- a/packages/backend/src/server/api/endpoints/i/registry/scopes.ts +++ b/packages/backend/src/server/api/endpoints/i/registry/scopes.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/i/registry/set.ts b/packages/backend/src/server/api/endpoints/i/registry/set.ts index 41651bc4cf..ac51ab17f6 100644 --- a/packages/backend/src/server/api/endpoints/i/registry/set.ts +++ b/packages/backend/src/server/api/endpoints/i/registry/set.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/i/revoke-token.ts b/packages/backend/src/server/api/endpoints/i/revoke-token.ts index e42b6294dc..91d95f3309 100644 --- a/packages/backend/src/server/api/endpoints/i/revoke-token.ts +++ b/packages/backend/src/server/api/endpoints/i/revoke-token.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/i/signin-history.ts b/packages/backend/src/server/api/endpoints/i/signin-history.ts index 4e20dafca4..55dca98ad8 100644 --- a/packages/backend/src/server/api/endpoints/i/signin-history.ts +++ b/packages/backend/src/server/api/endpoints/i/signin-history.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/i/unpin.ts b/packages/backend/src/server/api/endpoints/i/unpin.ts index d8768cc6c8..8f833a0f53 100644 --- a/packages/backend/src/server/api/endpoints/i/unpin.ts +++ b/packages/backend/src/server/api/endpoints/i/unpin.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/i/update-email.ts b/packages/backend/src/server/api/endpoints/i/update-email.ts index 0ae0477871..24e59317df 100644 --- a/packages/backend/src/server/api/endpoints/i/update-email.ts +++ b/packages/backend/src/server/api/endpoints/i/update-email.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import ms from 'ms'; diff --git a/packages/backend/src/server/api/endpoints/i/update.ts b/packages/backend/src/server/api/endpoints/i/update.ts index 4fc2484e8c..a3cbdcfdf6 100644 --- a/packages/backend/src/server/api/endpoints/i/update.ts +++ b/packages/backend/src/server/api/endpoints/i/update.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import RE2 from 're2'; import * as mfm from 'mfm-js'; diff --git a/packages/backend/src/server/api/endpoints/i/webhooks/create.ts b/packages/backend/src/server/api/endpoints/i/webhooks/create.ts index 927daca99c..38a52c5cfd 100644 --- a/packages/backend/src/server/api/endpoints/i/webhooks/create.ts +++ b/packages/backend/src/server/api/endpoints/i/webhooks/create.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/i/webhooks/delete.ts b/packages/backend/src/server/api/endpoints/i/webhooks/delete.ts index 2df128948c..9d674ec020 100644 --- a/packages/backend/src/server/api/endpoints/i/webhooks/delete.ts +++ b/packages/backend/src/server/api/endpoints/i/webhooks/delete.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/i/webhooks/list.ts b/packages/backend/src/server/api/endpoints/i/webhooks/list.ts index f1fc7b4074..7cf03bf25f 100644 --- a/packages/backend/src/server/api/endpoints/i/webhooks/list.ts +++ b/packages/backend/src/server/api/endpoints/i/webhooks/list.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/i/webhooks/show.ts b/packages/backend/src/server/api/endpoints/i/webhooks/show.ts index 64e6e54039..fbeaa38f86 100644 --- a/packages/backend/src/server/api/endpoints/i/webhooks/show.ts +++ b/packages/backend/src/server/api/endpoints/i/webhooks/show.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/i/webhooks/update.ts b/packages/backend/src/server/api/endpoints/i/webhooks/update.ts index e690ad9f21..d6b84c50b3 100644 --- a/packages/backend/src/server/api/endpoints/i/webhooks/update.ts +++ b/packages/backend/src/server/api/endpoints/i/webhooks/update.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/invite/create.ts b/packages/backend/src/server/api/endpoints/invite/create.ts index 2acc14958f..eca3989ffc 100644 --- a/packages/backend/src/server/api/endpoints/invite/create.ts +++ b/packages/backend/src/server/api/endpoints/invite/create.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { MoreThan } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/invite/delete.ts b/packages/backend/src/server/api/endpoints/invite/delete.ts index 1bd71cc840..901efd5237 100644 --- a/packages/backend/src/server/api/endpoints/invite/delete.ts +++ b/packages/backend/src/server/api/endpoints/invite/delete.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/invite/limit.ts b/packages/backend/src/server/api/endpoints/invite/limit.ts index f4667f6500..87552ff5d3 100644 --- a/packages/backend/src/server/api/endpoints/invite/limit.ts +++ b/packages/backend/src/server/api/endpoints/invite/limit.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { MoreThan } from 'typeorm'; diff --git a/packages/backend/src/server/api/endpoints/invite/list.ts b/packages/backend/src/server/api/endpoints/invite/list.ts index 8acc7580cd..f4fa82bc83 100644 --- a/packages/backend/src/server/api/endpoints/invite/list.ts +++ b/packages/backend/src/server/api/endpoints/invite/list.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/meta.ts b/packages/backend/src/server/api/endpoints/meta.ts index acfcdd748d..f6f4855346 100644 --- a/packages/backend/src/server/api/endpoints/meta.ts +++ b/packages/backend/src/server/api/endpoints/meta.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { IsNull, LessThanOrEqual, MoreThan, Brackets } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/miauth/gen-token.ts b/packages/backend/src/server/api/endpoints/miauth/gen-token.ts index 11d4f1802a..a194b22fbf 100644 --- a/packages/backend/src/server/api/endpoints/miauth/gen-token.ts +++ b/packages/backend/src/server/api/endpoints/miauth/gen-token.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/mute/create.ts b/packages/backend/src/server/api/endpoints/mute/create.ts index a54c04ae29..b74eb6733e 100644 --- a/packages/backend/src/server/api/endpoints/mute/create.ts +++ b/packages/backend/src/server/api/endpoints/mute/create.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import ms from 'ms'; diff --git a/packages/backend/src/server/api/endpoints/mute/delete.ts b/packages/backend/src/server/api/endpoints/mute/delete.ts index d637b8f8e2..13e0018315 100644 --- a/packages/backend/src/server/api/endpoints/mute/delete.ts +++ b/packages/backend/src/server/api/endpoints/mute/delete.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/mute/list.ts b/packages/backend/src/server/api/endpoints/mute/list.ts index 7fc27c83ae..b458c7fd70 100644 --- a/packages/backend/src/server/api/endpoints/mute/list.ts +++ b/packages/backend/src/server/api/endpoints/mute/list.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/my/apps.ts b/packages/backend/src/server/api/endpoints/my/apps.ts index 8bff3c86fb..37562ab9ed 100644 --- a/packages/backend/src/server/api/endpoints/my/apps.ts +++ b/packages/backend/src/server/api/endpoints/my/apps.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/notes.ts b/packages/backend/src/server/api/endpoints/notes.ts index 9aeedc8122..2eea9c6a8f 100644 --- a/packages/backend/src/server/api/endpoints/notes.ts +++ b/packages/backend/src/server/api/endpoints/notes.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { NotesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/notes/children.ts b/packages/backend/src/server/api/endpoints/notes/children.ts index 2447120fe1..c12af10a9d 100644 --- a/packages/backend/src/server/api/endpoints/notes/children.ts +++ b/packages/backend/src/server/api/endpoints/notes/children.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Brackets } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/notes/clips.ts b/packages/backend/src/server/api/endpoints/notes/clips.ts index 023d03cb5a..de36180110 100644 --- a/packages/backend/src/server/api/endpoints/notes/clips.ts +++ b/packages/backend/src/server/api/endpoints/notes/clips.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { In } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/notes/conversation.ts b/packages/backend/src/server/api/endpoints/notes/conversation.ts index 25626e9489..7d9b375501 100644 --- a/packages/backend/src/server/api/endpoints/notes/conversation.ts +++ b/packages/backend/src/server/api/endpoints/notes/conversation.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { Note } from '@/models/entities/Note.js'; diff --git a/packages/backend/src/server/api/endpoints/notes/create.test.ts b/packages/backend/src/server/api/endpoints/notes/create.test.ts index 6e6682f45c..6d34aaccf3 100644 --- a/packages/backend/src/server/api/endpoints/notes/create.test.ts +++ b/packages/backend/src/server/api/endpoints/notes/create.test.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ process.env.NODE_ENV = 'test'; diff --git a/packages/backend/src/server/api/endpoints/notes/create.ts b/packages/backend/src/server/api/endpoints/notes/create.ts index 280405e2c8..10e8654df8 100644 --- a/packages/backend/src/server/api/endpoints/notes/create.ts +++ b/packages/backend/src/server/api/endpoints/notes/create.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import ms from 'ms'; import { In } from 'typeorm'; diff --git a/packages/backend/src/server/api/endpoints/notes/delete.ts b/packages/backend/src/server/api/endpoints/notes/delete.ts index ce265af74d..df4225746d 100644 --- a/packages/backend/src/server/api/endpoints/notes/delete.ts +++ b/packages/backend/src/server/api/endpoints/notes/delete.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import ms from 'ms'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/notes/favorites/create.ts b/packages/backend/src/server/api/endpoints/notes/favorites/create.ts index ec5566394d..fee398fb83 100644 --- a/packages/backend/src/server/api/endpoints/notes/favorites/create.ts +++ b/packages/backend/src/server/api/endpoints/notes/favorites/create.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import ms from 'ms'; diff --git a/packages/backend/src/server/api/endpoints/notes/favorites/delete.ts b/packages/backend/src/server/api/endpoints/notes/favorites/delete.ts index 62047454c4..97f354f81b 100644 --- a/packages/backend/src/server/api/endpoints/notes/favorites/delete.ts +++ b/packages/backend/src/server/api/endpoints/notes/favorites/delete.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/notes/featured.ts b/packages/backend/src/server/api/endpoints/notes/featured.ts index 395ca5cfc6..5ff9c916dc 100644 --- a/packages/backend/src/server/api/endpoints/notes/featured.ts +++ b/packages/backend/src/server/api/endpoints/notes/featured.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { NotesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/notes/global-timeline.ts b/packages/backend/src/server/api/endpoints/notes/global-timeline.ts index 59107ae365..1a6465779f 100644 --- a/packages/backend/src/server/api/endpoints/notes/global-timeline.ts +++ b/packages/backend/src/server/api/endpoints/notes/global-timeline.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { NotesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/notes/hybrid-timeline.ts b/packages/backend/src/server/api/endpoints/notes/hybrid-timeline.ts index f11a07cf0a..e121ac6bac 100644 --- a/packages/backend/src/server/api/endpoints/notes/hybrid-timeline.ts +++ b/packages/backend/src/server/api/endpoints/notes/hybrid-timeline.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Brackets } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/notes/local-timeline.ts b/packages/backend/src/server/api/endpoints/notes/local-timeline.ts index ac89bbb19e..d843334c3b 100644 --- a/packages/backend/src/server/api/endpoints/notes/local-timeline.ts +++ b/packages/backend/src/server/api/endpoints/notes/local-timeline.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Brackets } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/notes/mentions.ts b/packages/backend/src/server/api/endpoints/notes/mentions.ts index 1f12c12aa3..6c2900a706 100644 --- a/packages/backend/src/server/api/endpoints/notes/mentions.ts +++ b/packages/backend/src/server/api/endpoints/notes/mentions.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Brackets } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/notes/polls/recommendation.ts b/packages/backend/src/server/api/endpoints/notes/polls/recommendation.ts index e916329e07..9802ae0cab 100644 --- a/packages/backend/src/server/api/endpoints/notes/polls/recommendation.ts +++ b/packages/backend/src/server/api/endpoints/notes/polls/recommendation.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Brackets, In } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/notes/polls/vote.ts b/packages/backend/src/server/api/endpoints/notes/polls/vote.ts index 7475d01954..c1ce443679 100644 --- a/packages/backend/src/server/api/endpoints/notes/polls/vote.ts +++ b/packages/backend/src/server/api/endpoints/notes/polls/vote.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { UsersRepository, PollsRepository, PollVotesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/notes/reactions.ts b/packages/backend/src/server/api/endpoints/notes/reactions.ts index 9a4f1d2348..ed1e598e66 100644 --- a/packages/backend/src/server/api/endpoints/notes/reactions.ts +++ b/packages/backend/src/server/api/endpoints/notes/reactions.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { NoteReactionsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/notes/reactions/create.ts b/packages/backend/src/server/api/endpoints/notes/reactions/create.ts index c0f6bc6b8b..245157921b 100644 --- a/packages/backend/src/server/api/endpoints/notes/reactions/create.ts +++ b/packages/backend/src/server/api/endpoints/notes/reactions/create.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/notes/reactions/delete.ts b/packages/backend/src/server/api/endpoints/notes/reactions/delete.ts index 62de681763..bab8004755 100644 --- a/packages/backend/src/server/api/endpoints/notes/reactions/delete.ts +++ b/packages/backend/src/server/api/endpoints/notes/reactions/delete.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import ms from 'ms'; import { Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/notes/renotes.ts b/packages/backend/src/server/api/endpoints/notes/renotes.ts index 681dd8eb40..c5c2bc227d 100644 --- a/packages/backend/src/server/api/endpoints/notes/renotes.ts +++ b/packages/backend/src/server/api/endpoints/notes/renotes.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { NotesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/notes/replies.ts b/packages/backend/src/server/api/endpoints/notes/replies.ts index 0fba13441f..706e65fc78 100644 --- a/packages/backend/src/server/api/endpoints/notes/replies.ts +++ b/packages/backend/src/server/api/endpoints/notes/replies.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { NotesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/notes/search-by-tag.ts b/packages/backend/src/server/api/endpoints/notes/search-by-tag.ts index 0812440327..94ab6a4f26 100644 --- a/packages/backend/src/server/api/endpoints/notes/search-by-tag.ts +++ b/packages/backend/src/server/api/endpoints/notes/search-by-tag.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Brackets } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/notes/search.ts b/packages/backend/src/server/api/endpoints/notes/search.ts index 57ba6f880a..c7a36d8309 100644 --- a/packages/backend/src/server/api/endpoints/notes/search.ts +++ b/packages/backend/src/server/api/endpoints/notes/search.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { NotesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/notes/show.ts b/packages/backend/src/server/api/endpoints/notes/show.ts index 62ba951717..0c3c4bf05d 100644 --- a/packages/backend/src/server/api/endpoints/notes/show.ts +++ b/packages/backend/src/server/api/endpoints/notes/show.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { NotesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/notes/state.ts b/packages/backend/src/server/api/endpoints/notes/state.ts index b3cb4d7297..b95e966de4 100644 --- a/packages/backend/src/server/api/endpoints/notes/state.ts +++ b/packages/backend/src/server/api/endpoints/notes/state.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { NotesRepository, NoteThreadMutingsRepository, NoteFavoritesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/notes/thread-muting/create.ts b/packages/backend/src/server/api/endpoints/notes/thread-muting/create.ts index a4138a6d17..fb4e15f330 100644 --- a/packages/backend/src/server/api/endpoints/notes/thread-muting/create.ts +++ b/packages/backend/src/server/api/endpoints/notes/thread-muting/create.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import ms from 'ms'; diff --git a/packages/backend/src/server/api/endpoints/notes/thread-muting/delete.ts b/packages/backend/src/server/api/endpoints/notes/thread-muting/delete.ts index 430d801c19..740b5f656c 100644 --- a/packages/backend/src/server/api/endpoints/notes/thread-muting/delete.ts +++ b/packages/backend/src/server/api/endpoints/notes/thread-muting/delete.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { NoteThreadMutingsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/notes/timeline.ts b/packages/backend/src/server/api/endpoints/notes/timeline.ts index bd2adb2193..0d61ef9813 100644 --- a/packages/backend/src/server/api/endpoints/notes/timeline.ts +++ b/packages/backend/src/server/api/endpoints/notes/timeline.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Brackets } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/notes/translate.ts b/packages/backend/src/server/api/endpoints/notes/translate.ts index 5bc3dcc6b4..14b917ab0b 100644 --- a/packages/backend/src/server/api/endpoints/notes/translate.ts +++ b/packages/backend/src/server/api/endpoints/notes/translate.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { URLSearchParams } from 'node:url'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/notes/unrenote.ts b/packages/backend/src/server/api/endpoints/notes/unrenote.ts index 3967b0c0e2..1689d814fd 100644 --- a/packages/backend/src/server/api/endpoints/notes/unrenote.ts +++ b/packages/backend/src/server/api/endpoints/notes/unrenote.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import ms from 'ms'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/notes/user-list-timeline.ts b/packages/backend/src/server/api/endpoints/notes/user-list-timeline.ts index 0124881650..5b6191ca24 100644 --- a/packages/backend/src/server/api/endpoints/notes/user-list-timeline.ts +++ b/packages/backend/src/server/api/endpoints/notes/user-list-timeline.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Brackets } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/notifications/create.ts b/packages/backend/src/server/api/endpoints/notifications/create.ts index 792f08f1c7..9c98bf5b88 100644 --- a/packages/backend/src/server/api/endpoints/notifications/create.ts +++ b/packages/backend/src/server/api/endpoints/notifications/create.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/notifications/mark-all-as-read.ts b/packages/backend/src/server/api/endpoints/notifications/mark-all-as-read.ts index b5fc3ca22d..46e3d40e9e 100644 --- a/packages/backend/src/server/api/endpoints/notifications/mark-all-as-read.ts +++ b/packages/backend/src/server/api/endpoints/notifications/mark-all-as-read.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/page-push.ts b/packages/backend/src/server/api/endpoints/page-push.ts index c33d815513..cbb45ca60d 100644 --- a/packages/backend/src/server/api/endpoints/page-push.ts +++ b/packages/backend/src/server/api/endpoints/page-push.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { PagesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/pages/create.ts b/packages/backend/src/server/api/endpoints/pages/create.ts index 7a78f35f62..559f97b2d3 100644 --- a/packages/backend/src/server/api/endpoints/pages/create.ts +++ b/packages/backend/src/server/api/endpoints/pages/create.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import ms from 'ms'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/pages/delete.ts b/packages/backend/src/server/api/endpoints/pages/delete.ts index 17064a0714..a0aa72a697 100644 --- a/packages/backend/src/server/api/endpoints/pages/delete.ts +++ b/packages/backend/src/server/api/endpoints/pages/delete.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { PagesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/pages/featured.ts b/packages/backend/src/server/api/endpoints/pages/featured.ts index 093228088a..386fdc0d1a 100644 --- a/packages/backend/src/server/api/endpoints/pages/featured.ts +++ b/packages/backend/src/server/api/endpoints/pages/featured.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { PagesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/pages/like.ts b/packages/backend/src/server/api/endpoints/pages/like.ts index 1b3f75ca43..0504be20ed 100644 --- a/packages/backend/src/server/api/endpoints/pages/like.ts +++ b/packages/backend/src/server/api/endpoints/pages/like.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { PagesRepository, PageLikesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/pages/show.ts b/packages/backend/src/server/api/endpoints/pages/show.ts index 1b7ea735f1..2e0a486d18 100644 --- a/packages/backend/src/server/api/endpoints/pages/show.ts +++ b/packages/backend/src/server/api/endpoints/pages/show.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { IsNull } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/pages/unlike.ts b/packages/backend/src/server/api/endpoints/pages/unlike.ts index cc71d2f400..b913fc7249 100644 --- a/packages/backend/src/server/api/endpoints/pages/unlike.ts +++ b/packages/backend/src/server/api/endpoints/pages/unlike.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { PagesRepository, PageLikesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/pages/update.ts b/packages/backend/src/server/api/endpoints/pages/update.ts index 4f2f86e721..ee503429f6 100644 --- a/packages/backend/src/server/api/endpoints/pages/update.ts +++ b/packages/backend/src/server/api/endpoints/pages/update.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import ms from 'ms'; import { Not } from 'typeorm'; diff --git a/packages/backend/src/server/api/endpoints/ping.ts b/packages/backend/src/server/api/endpoints/ping.ts index 44a3c8663f..65f4d69a35 100644 --- a/packages/backend/src/server/api/endpoints/ping.ts +++ b/packages/backend/src/server/api/endpoints/ping.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/pinned-users.ts b/packages/backend/src/server/api/endpoints/pinned-users.ts index 242da5c339..4df10ae00c 100644 --- a/packages/backend/src/server/api/endpoints/pinned-users.ts +++ b/packages/backend/src/server/api/endpoints/pinned-users.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { IsNull } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/promo/read.ts b/packages/backend/src/server/api/endpoints/promo/read.ts index 17684371ac..4c99f14bd4 100644 --- a/packages/backend/src/server/api/endpoints/promo/read.ts +++ b/packages/backend/src/server/api/endpoints/promo/read.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { PromoReadsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/renote-mute/create.ts b/packages/backend/src/server/api/endpoints/renote-mute/create.ts index 677cf818e9..27d3ac444b 100644 --- a/packages/backend/src/server/api/endpoints/renote-mute/create.ts +++ b/packages/backend/src/server/api/endpoints/renote-mute/create.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import ms from 'ms'; diff --git a/packages/backend/src/server/api/endpoints/renote-mute/delete.ts b/packages/backend/src/server/api/endpoints/renote-mute/delete.ts index 2205e75192..cd4ec5b56d 100644 --- a/packages/backend/src/server/api/endpoints/renote-mute/delete.ts +++ b/packages/backend/src/server/api/endpoints/renote-mute/delete.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/renote-mute/list.ts b/packages/backend/src/server/api/endpoints/renote-mute/list.ts index 5e1bbc99cb..c7da5479ed 100644 --- a/packages/backend/src/server/api/endpoints/renote-mute/list.ts +++ b/packages/backend/src/server/api/endpoints/renote-mute/list.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/request-reset-password.ts b/packages/backend/src/server/api/endpoints/request-reset-password.ts index b43fa11ec9..2e1085f78e 100644 --- a/packages/backend/src/server/api/endpoints/request-reset-password.ts +++ b/packages/backend/src/server/api/endpoints/request-reset-password.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import ms from 'ms'; import { IsNull } from 'typeorm'; diff --git a/packages/backend/src/server/api/endpoints/reset-db.ts b/packages/backend/src/server/api/endpoints/reset-db.ts index a09b60fed3..dcf3b8772a 100644 --- a/packages/backend/src/server/api/endpoints/reset-db.ts +++ b/packages/backend/src/server/api/endpoints/reset-db.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { DataSource } from 'typeorm'; diff --git a/packages/backend/src/server/api/endpoints/reset-password.ts b/packages/backend/src/server/api/endpoints/reset-password.ts index 7a10f06666..4bbd3d0ef1 100644 --- a/packages/backend/src/server/api/endpoints/reset-password.ts +++ b/packages/backend/src/server/api/endpoints/reset-password.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import bcrypt from 'bcryptjs'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/retention.ts b/packages/backend/src/server/api/endpoints/retention.ts index 1527877ef8..34e584b985 100644 --- a/packages/backend/src/server/api/endpoints/retention.ts +++ b/packages/backend/src/server/api/endpoints/retention.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { RetentionAggregationsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/roles/list.ts b/packages/backend/src/server/api/endpoints/roles/list.ts index a08c1e9d83..ee17b46a2a 100644 --- a/packages/backend/src/server/api/endpoints/roles/list.ts +++ b/packages/backend/src/server/api/endpoints/roles/list.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/roles/notes.ts b/packages/backend/src/server/api/endpoints/roles/notes.ts index ec55bbcb2f..fe0354d545 100644 --- a/packages/backend/src/server/api/endpoints/roles/notes.ts +++ b/packages/backend/src/server/api/endpoints/roles/notes.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import * as Redis from 'ioredis'; diff --git a/packages/backend/src/server/api/endpoints/roles/show.ts b/packages/backend/src/server/api/endpoints/roles/show.ts index ddc29b4938..742c6f950d 100644 --- a/packages/backend/src/server/api/endpoints/roles/show.ts +++ b/packages/backend/src/server/api/endpoints/roles/show.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { RolesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/roles/users.ts b/packages/backend/src/server/api/endpoints/roles/users.ts index 24494c3218..4bb962c4a6 100644 --- a/packages/backend/src/server/api/endpoints/roles/users.ts +++ b/packages/backend/src/server/api/endpoints/roles/users.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Brackets } from 'typeorm'; diff --git a/packages/backend/src/server/api/endpoints/server-info.ts b/packages/backend/src/server/api/endpoints/server-info.ts index 5ea59a3525..4c1e781513 100644 --- a/packages/backend/src/server/api/endpoints/server-info.ts +++ b/packages/backend/src/server/api/endpoints/server-info.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as os from 'node:os'; import si from 'systeminformation'; diff --git a/packages/backend/src/server/api/endpoints/stats.ts b/packages/backend/src/server/api/endpoints/stats.ts index 16102dcf4b..3c79f21e24 100644 --- a/packages/backend/src/server/api/endpoints/stats.ts +++ b/packages/backend/src/server/api/endpoints/stats.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { InstancesRepository, NoteReactionsRepository, NotesRepository, UsersRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/sw/register.ts b/packages/backend/src/server/api/endpoints/sw/register.ts index 94e7df8f95..7a979ea306 100644 --- a/packages/backend/src/server/api/endpoints/sw/register.ts +++ b/packages/backend/src/server/api/endpoints/sw/register.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { IdService } from '@/core/IdService.js'; diff --git a/packages/backend/src/server/api/endpoints/sw/show-registration.ts b/packages/backend/src/server/api/endpoints/sw/show-registration.ts index 0e9995a3bf..90800f4b64 100644 --- a/packages/backend/src/server/api/endpoints/sw/show-registration.ts +++ b/packages/backend/src/server/api/endpoints/sw/show-registration.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { SwSubscriptionsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/sw/unregister.ts b/packages/backend/src/server/api/endpoints/sw/unregister.ts index ded97e6a5b..7b948988a6 100644 --- a/packages/backend/src/server/api/endpoints/sw/unregister.ts +++ b/packages/backend/src/server/api/endpoints/sw/unregister.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { SwSubscriptionsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/sw/update-registration.ts b/packages/backend/src/server/api/endpoints/sw/update-registration.ts index 84cd0931b5..061d180f57 100644 --- a/packages/backend/src/server/api/endpoints/sw/update-registration.ts +++ b/packages/backend/src/server/api/endpoints/sw/update-registration.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { SwSubscriptionsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/test.ts b/packages/backend/src/server/api/endpoints/test.ts index c49747666a..c8d6cfecba 100644 --- a/packages/backend/src/server/api/endpoints/test.ts +++ b/packages/backend/src/server/api/endpoints/test.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/username/available.ts b/packages/backend/src/server/api/endpoints/username/available.ts index 4037e5e0d4..38036a3244 100644 --- a/packages/backend/src/server/api/endpoints/username/available.ts +++ b/packages/backend/src/server/api/endpoints/username/available.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { IsNull } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/users.ts b/packages/backend/src/server/api/endpoints/users.ts index 57450b79af..95ff7c9759 100644 --- a/packages/backend/src/server/api/endpoints/users.ts +++ b/packages/backend/src/server/api/endpoints/users.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { UsersRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/users/achievements.ts b/packages/backend/src/server/api/endpoints/users/achievements.ts index 1601e54cf8..0eaff724b1 100644 --- a/packages/backend/src/server/api/endpoints/users/achievements.ts +++ b/packages/backend/src/server/api/endpoints/users/achievements.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/users/clips.ts b/packages/backend/src/server/api/endpoints/users/clips.ts index 4229aafbd5..747f15f394 100644 --- a/packages/backend/src/server/api/endpoints/users/clips.ts +++ b/packages/backend/src/server/api/endpoints/users/clips.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { ClipsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/users/followers.ts b/packages/backend/src/server/api/endpoints/users/followers.ts index 3f7b99dcde..2684446fc9 100644 --- a/packages/backend/src/server/api/endpoints/users/followers.ts +++ b/packages/backend/src/server/api/endpoints/users/followers.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { IsNull } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/users/following.ts b/packages/backend/src/server/api/endpoints/users/following.ts index bd65f528d6..926aacdb98 100644 --- a/packages/backend/src/server/api/endpoints/users/following.ts +++ b/packages/backend/src/server/api/endpoints/users/following.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { IsNull } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/users/gallery/posts.ts b/packages/backend/src/server/api/endpoints/users/gallery/posts.ts index f0a6ec693f..2aa14ed25d 100644 --- a/packages/backend/src/server/api/endpoints/users/gallery/posts.ts +++ b/packages/backend/src/server/api/endpoints/users/gallery/posts.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/users/get-frequently-replied-users.ts b/packages/backend/src/server/api/endpoints/users/get-frequently-replied-users.ts index 42ddaf1ce5..dd60e16448 100644 --- a/packages/backend/src/server/api/endpoints/users/get-frequently-replied-users.ts +++ b/packages/backend/src/server/api/endpoints/users/get-frequently-replied-users.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Not, In, IsNull } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/users/lists/create-from-public.ts b/packages/backend/src/server/api/endpoints/users/lists/create-from-public.ts index 73403db05b..9ce040546b 100644 --- a/packages/backend/src/server/api/endpoints/users/lists/create-from-public.ts +++ b/packages/backend/src/server/api/endpoints/users/lists/create-from-public.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { UserListsRepository, UserListJoiningsRepository, BlockingsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/users/lists/create.ts b/packages/backend/src/server/api/endpoints/users/lists/create.ts index b8db172fb3..90f07f13f8 100644 --- a/packages/backend/src/server/api/endpoints/users/lists/create.ts +++ b/packages/backend/src/server/api/endpoints/users/lists/create.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { UserListsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/users/lists/delete.ts b/packages/backend/src/server/api/endpoints/users/lists/delete.ts index 9f8674886d..adfd396d06 100644 --- a/packages/backend/src/server/api/endpoints/users/lists/delete.ts +++ b/packages/backend/src/server/api/endpoints/users/lists/delete.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { UserListsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/users/lists/favorite.ts b/packages/backend/src/server/api/endpoints/users/lists/favorite.ts index f3dd1d7fd5..0c4a965605 100644 --- a/packages/backend/src/server/api/endpoints/users/lists/favorite.ts +++ b/packages/backend/src/server/api/endpoints/users/lists/favorite.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/users/lists/list.ts b/packages/backend/src/server/api/endpoints/users/lists/list.ts index b57aeb6452..db481fc2e4 100644 --- a/packages/backend/src/server/api/endpoints/users/lists/list.ts +++ b/packages/backend/src/server/api/endpoints/users/lists/list.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { UserListsRepository, UsersRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/users/lists/pull.ts b/packages/backend/src/server/api/endpoints/users/lists/pull.ts index 8ef2bee459..59e765d5d0 100644 --- a/packages/backend/src/server/api/endpoints/users/lists/pull.ts +++ b/packages/backend/src/server/api/endpoints/users/lists/pull.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { UserListsRepository, UserListJoiningsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/users/lists/push.ts b/packages/backend/src/server/api/endpoints/users/lists/push.ts index 1797fb61fc..831c0f6837 100644 --- a/packages/backend/src/server/api/endpoints/users/lists/push.ts +++ b/packages/backend/src/server/api/endpoints/users/lists/push.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import ms from 'ms'; diff --git a/packages/backend/src/server/api/endpoints/users/lists/show.ts b/packages/backend/src/server/api/endpoints/users/lists/show.ts index ee35032461..cb86e25d92 100644 --- a/packages/backend/src/server/api/endpoints/users/lists/show.ts +++ b/packages/backend/src/server/api/endpoints/users/lists/show.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { UserListsRepository, UserListFavoritesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/users/lists/unfavorite.ts b/packages/backend/src/server/api/endpoints/users/lists/unfavorite.ts index 857460321b..280a062855 100644 --- a/packages/backend/src/server/api/endpoints/users/lists/unfavorite.ts +++ b/packages/backend/src/server/api/endpoints/users/lists/unfavorite.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/users/lists/update.ts b/packages/backend/src/server/api/endpoints/users/lists/update.ts index c77ac4c058..cbc18c8da8 100644 --- a/packages/backend/src/server/api/endpoints/users/lists/update.ts +++ b/packages/backend/src/server/api/endpoints/users/lists/update.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { UserListsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/users/notes.ts b/packages/backend/src/server/api/endpoints/users/notes.ts index 4b92ceb960..1bd849284a 100644 --- a/packages/backend/src/server/api/endpoints/users/notes.ts +++ b/packages/backend/src/server/api/endpoints/users/notes.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Brackets } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/users/pages.ts b/packages/backend/src/server/api/endpoints/users/pages.ts index 90d1a95350..48c2b12303 100644 --- a/packages/backend/src/server/api/endpoints/users/pages.ts +++ b/packages/backend/src/server/api/endpoints/users/pages.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/users/reactions.ts b/packages/backend/src/server/api/endpoints/users/reactions.ts index 27ab1b38d2..d65cdcfdb9 100644 --- a/packages/backend/src/server/api/endpoints/users/reactions.ts +++ b/packages/backend/src/server/api/endpoints/users/reactions.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { UserProfilesRepository, NoteReactionsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/users/recommendation.ts b/packages/backend/src/server/api/endpoints/users/recommendation.ts index f90d7eb792..1988d9795d 100644 --- a/packages/backend/src/server/api/endpoints/users/recommendation.ts +++ b/packages/backend/src/server/api/endpoints/users/recommendation.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import ms from 'ms'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/users/relation.ts b/packages/backend/src/server/api/endpoints/users/relation.ts index 7dfb9b983e..cce80774a6 100644 --- a/packages/backend/src/server/api/endpoints/users/relation.ts +++ b/packages/backend/src/server/api/endpoints/users/relation.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { UsersRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/users/report-abuse.ts b/packages/backend/src/server/api/endpoints/users/report-abuse.ts index 52efb5defa..0a10d780c2 100644 --- a/packages/backend/src/server/api/endpoints/users/report-abuse.ts +++ b/packages/backend/src/server/api/endpoints/users/report-abuse.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import sanitizeHtml from 'sanitize-html'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/users/search-by-username-and-host.ts b/packages/backend/src/server/api/endpoints/users/search-by-username-and-host.ts index 8115b493d8..f627f2409e 100644 --- a/packages/backend/src/server/api/endpoints/users/search-by-username-and-host.ts +++ b/packages/backend/src/server/api/endpoints/users/search-by-username-and-host.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Brackets } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/users/search.ts b/packages/backend/src/server/api/endpoints/users/search.ts index e49595ac45..1ed812e673 100644 --- a/packages/backend/src/server/api/endpoints/users/search.ts +++ b/packages/backend/src/server/api/endpoints/users/search.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Brackets } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/users/show.ts b/packages/backend/src/server/api/endpoints/users/show.ts index 1df0136e25..8909e478b3 100644 --- a/packages/backend/src/server/api/endpoints/users/show.ts +++ b/packages/backend/src/server/api/endpoints/users/show.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { In, IsNull } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/users/update-memo.ts b/packages/backend/src/server/api/endpoints/users/update-memo.ts index 68c4a4dcf9..a100c3aa9c 100644 --- a/packages/backend/src/server/api/endpoints/users/update-memo.ts +++ b/packages/backend/src/server/api/endpoints/users/update-memo.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/error.ts b/packages/backend/src/server/api/error.ts index 980a83cd1a..6506565a0d 100644 --- a/packages/backend/src/server/api/error.ts +++ b/packages/backend/src/server/api/error.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ type E = { message: string, code: string, id: string, kind?: 'client' | 'server' | 'permission', httpStatusCode?: number }; diff --git a/packages/backend/src/server/api/openapi/OpenApiServerService.ts b/packages/backend/src/server/api/openapi/OpenApiServerService.ts index 5b350c7281..cb22d0f7c9 100644 --- a/packages/backend/src/server/api/openapi/OpenApiServerService.ts +++ b/packages/backend/src/server/api/openapi/OpenApiServerService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { fileURLToPath } from 'node:url'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/openapi/errors.ts b/packages/backend/src/server/api/openapi/errors.ts index a16ce862f9..84c3c638fa 100644 --- a/packages/backend/src/server/api/openapi/errors.ts +++ b/packages/backend/src/server/api/openapi/errors.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export const errors = { '400': { diff --git a/packages/backend/src/server/api/openapi/gen-spec.ts b/packages/backend/src/server/api/openapi/gen-spec.ts index 7ce14d5939..4f972d3f7e 100644 --- a/packages/backend/src/server/api/openapi/gen-spec.ts +++ b/packages/backend/src/server/api/openapi/gen-spec.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import type { Config } from '@/config.js'; import endpoints from '../endpoints.js'; diff --git a/packages/backend/src/server/api/openapi/schemas.ts b/packages/backend/src/server/api/openapi/schemas.ts index e93c00cb9f..0b9eb4fe24 100644 --- a/packages/backend/src/server/api/openapi/schemas.ts +++ b/packages/backend/src/server/api/openapi/schemas.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import type { Schema } from '@/misc/json-schema.js'; import { refs } from '@/misc/json-schema.js'; diff --git a/packages/backend/src/server/api/stream/ChannelsService.ts b/packages/backend/src/server/api/stream/ChannelsService.ts index febf8683bc..8fd106c10c 100644 --- a/packages/backend/src/server/api/stream/ChannelsService.ts +++ b/packages/backend/src/server/api/stream/ChannelsService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { bindThis } from '@/decorators.js'; diff --git a/packages/backend/src/server/api/stream/channel.ts b/packages/backend/src/server/api/stream/channel.ts index 7978ab3645..d31891687d 100644 --- a/packages/backend/src/server/api/stream/channel.ts +++ b/packages/backend/src/server/api/stream/channel.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { bindThis } from '@/decorators.js'; import type Connection from './index.js'; diff --git a/packages/backend/src/server/api/stream/channels/admin.ts b/packages/backend/src/server/api/stream/channels/admin.ts index 522d6217cb..bfb36d9cb8 100644 --- a/packages/backend/src/server/api/stream/channels/admin.ts +++ b/packages/backend/src/server/api/stream/channels/admin.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { bindThis } from '@/decorators.js'; diff --git a/packages/backend/src/server/api/stream/channels/antenna.ts b/packages/backend/src/server/api/stream/channels/antenna.ts index 7e0372bcaa..87648a3a77 100644 --- a/packages/backend/src/server/api/stream/channels/antenna.ts +++ b/packages/backend/src/server/api/stream/channels/antenna.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { isUserRelated } from '@/misc/is-user-related.js'; diff --git a/packages/backend/src/server/api/stream/channels/channel.ts b/packages/backend/src/server/api/stream/channels/channel.ts index d4133a2172..a01714e76d 100644 --- a/packages/backend/src/server/api/stream/channels/channel.ts +++ b/packages/backend/src/server/api/stream/channels/channel.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { isUserRelated } from '@/misc/is-user-related.js'; diff --git a/packages/backend/src/server/api/stream/channels/drive.ts b/packages/backend/src/server/api/stream/channels/drive.ts index d95c9848b2..83f53c1836 100644 --- a/packages/backend/src/server/api/stream/channels/drive.ts +++ b/packages/backend/src/server/api/stream/channels/drive.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { bindThis } from '@/decorators.js'; diff --git a/packages/backend/src/server/api/stream/channels/global-timeline.ts b/packages/backend/src/server/api/stream/channels/global-timeline.ts index 2ba419d063..a33f1a956a 100644 --- a/packages/backend/src/server/api/stream/channels/global-timeline.ts +++ b/packages/backend/src/server/api/stream/channels/global-timeline.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { checkWordMute } from '@/misc/check-word-mute.js'; diff --git a/packages/backend/src/server/api/stream/channels/hashtag.ts b/packages/backend/src/server/api/stream/channels/hashtag.ts index a158f91638..3945b1a1eb 100644 --- a/packages/backend/src/server/api/stream/channels/hashtag.ts +++ b/packages/backend/src/server/api/stream/channels/hashtag.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { normalizeForSearch } from '@/misc/normalize-for-search.js'; diff --git a/packages/backend/src/server/api/stream/channels/home-timeline.ts b/packages/backend/src/server/api/stream/channels/home-timeline.ts index 0c1d45f581..bd8888f679 100644 --- a/packages/backend/src/server/api/stream/channels/home-timeline.ts +++ b/packages/backend/src/server/api/stream/channels/home-timeline.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { checkWordMute } from '@/misc/check-word-mute.js'; diff --git a/packages/backend/src/server/api/stream/channels/hybrid-timeline.ts b/packages/backend/src/server/api/stream/channels/hybrid-timeline.ts index 8ca1e8d5ce..760fb8d19f 100644 --- a/packages/backend/src/server/api/stream/channels/hybrid-timeline.ts +++ b/packages/backend/src/server/api/stream/channels/hybrid-timeline.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { checkWordMute } from '@/misc/check-word-mute.js'; diff --git a/packages/backend/src/server/api/stream/channels/local-timeline.ts b/packages/backend/src/server/api/stream/channels/local-timeline.ts index 858cfc4d74..f32f8c5cec 100644 --- a/packages/backend/src/server/api/stream/channels/local-timeline.ts +++ b/packages/backend/src/server/api/stream/channels/local-timeline.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { checkWordMute } from '@/misc/check-word-mute.js'; diff --git a/packages/backend/src/server/api/stream/channels/main.ts b/packages/backend/src/server/api/stream/channels/main.ts index 57e6b8b13a..f969d02337 100644 --- a/packages/backend/src/server/api/stream/channels/main.ts +++ b/packages/backend/src/server/api/stream/channels/main.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { isInstanceMuted, isUserFromMutedInstance } from '@/misc/is-instance-muted.js'; diff --git a/packages/backend/src/server/api/stream/channels/queue-stats.ts b/packages/backend/src/server/api/stream/channels/queue-stats.ts index bf90d9f70e..f0dc472303 100644 --- a/packages/backend/src/server/api/stream/channels/queue-stats.ts +++ b/packages/backend/src/server/api/stream/channels/queue-stats.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import Xev from 'xev'; import { Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/stream/channels/role-timeline.ts b/packages/backend/src/server/api/stream/channels/role-timeline.ts index 1c28881913..76b5875343 100644 --- a/packages/backend/src/server/api/stream/channels/role-timeline.ts +++ b/packages/backend/src/server/api/stream/channels/role-timeline.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import { isUserRelated } from '@/misc/is-user-related.js'; diff --git a/packages/backend/src/server/api/stream/channels/server-stats.ts b/packages/backend/src/server/api/stream/channels/server-stats.ts index eedf8e363b..cacae275a8 100644 --- a/packages/backend/src/server/api/stream/channels/server-stats.ts +++ b/packages/backend/src/server/api/stream/channels/server-stats.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import Xev from 'xev'; import { Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/stream/channels/user-list.ts b/packages/backend/src/server/api/stream/channels/user-list.ts index a1d1f3f5f9..06b62e97c7 100644 --- a/packages/backend/src/server/api/stream/channels/user-list.ts +++ b/packages/backend/src/server/api/stream/channels/user-list.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import type { UserListJoiningsRepository, UserListsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/stream/index.ts b/packages/backend/src/server/api/stream/index.ts index a791a42e82..62eaf1abc1 100644 --- a/packages/backend/src/server/api/stream/index.ts +++ b/packages/backend/src/server/api/stream/index.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as WebSocket from 'ws'; import type { User } from '@/models/entities/User.js'; diff --git a/packages/backend/src/server/api/stream/types.ts b/packages/backend/src/server/api/stream/types.ts index 81803a45d2..82ccd91c88 100644 --- a/packages/backend/src/server/api/stream/types.ts +++ b/packages/backend/src/server/api/stream/types.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import type { Channel } from '@/models/entities/Channel.js'; import type { User } from '@/models/entities/User.js'; diff --git a/packages/backend/src/server/web/ClientLoggerService.ts b/packages/backend/src/server/web/ClientLoggerService.ts index 6731ed513a..213266f59c 100644 --- a/packages/backend/src/server/web/ClientLoggerService.ts +++ b/packages/backend/src/server/web/ClientLoggerService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Injectable } from '@nestjs/common'; import type Logger from '@/logger.js'; diff --git a/packages/backend/src/server/web/ClientServerService.ts b/packages/backend/src/server/web/ClientServerService.ts index bbf144bda0..10a9070ed2 100644 --- a/packages/backend/src/server/web/ClientServerService.ts +++ b/packages/backend/src/server/web/ClientServerService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { randomUUID } from 'node:crypto'; import { dirname } from 'node:path'; diff --git a/packages/backend/src/server/web/FeedService.ts b/packages/backend/src/server/web/FeedService.ts index 11ac8f1f29..afd0f28e5e 100644 --- a/packages/backend/src/server/web/FeedService.ts +++ b/packages/backend/src/server/web/FeedService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { In, IsNull } from 'typeorm'; diff --git a/packages/backend/src/server/web/UrlPreviewService.ts b/packages/backend/src/server/web/UrlPreviewService.ts index fdc842a827..d590244e34 100644 --- a/packages/backend/src/server/web/UrlPreviewService.ts +++ b/packages/backend/src/server/web/UrlPreviewService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Inject, Injectable } from '@nestjs/common'; import { summaly } from 'summaly'; diff --git a/packages/backend/src/server/web/bios.js b/packages/backend/src/server/web/bios.js index 2d93e561eb..029eb92aad 100644 --- a/packages/backend/src/server/web/bios.js +++ b/packages/backend/src/server/web/bios.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ 'use strict'; diff --git a/packages/backend/src/server/web/boot.js b/packages/backend/src/server/web/boot.js index d1f0b2d4bb..48939ef7a0 100644 --- a/packages/backend/src/server/web/boot.js +++ b/packages/backend/src/server/web/boot.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /** * BOOT LOADER diff --git a/packages/backend/src/server/web/cli.js b/packages/backend/src/server/web/cli.js index 19313332db..e63a80327c 100644 --- a/packages/backend/src/server/web/cli.js +++ b/packages/backend/src/server/web/cli.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ 'use strict'; diff --git a/packages/backend/src/types.ts b/packages/backend/src/types.ts index 2c69f0e56e..a3a8e77cd0 100644 --- a/packages/backend/src/types.ts +++ b/packages/backend/src/types.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export const notificationTypes = ['follow', 'mention', 'reply', 'renote', 'quote', 'reaction', 'pollEnded', 'receiveFollowRequest', 'followRequestAccepted', 'achievementEarned', 'app'] as const; export const obsoleteNotificationTypes = ['pollVote', 'groupInvited'] as const; diff --git a/packages/backend/test/e2e/2fa.ts b/packages/backend/test/e2e/2fa.ts index cc36ad37dc..387249871e 100644 --- a/packages/backend/test/e2e/2fa.ts +++ b/packages/backend/test/e2e/2fa.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ process.env.NODE_ENV = 'test'; diff --git a/packages/backend/test/e2e/antennas.ts b/packages/backend/test/e2e/antennas.ts index b263390007..7e2beab1ab 100644 --- a/packages/backend/test/e2e/antennas.ts +++ b/packages/backend/test/e2e/antennas.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ process.env.NODE_ENV = 'test'; diff --git a/packages/backend/test/e2e/api-visibility.ts b/packages/backend/test/e2e/api-visibility.ts index aea779bd3d..33c8d03fdb 100644 --- a/packages/backend/test/e2e/api-visibility.ts +++ b/packages/backend/test/e2e/api-visibility.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ process.env.NODE_ENV = 'test'; diff --git a/packages/backend/test/e2e/api.ts b/packages/backend/test/e2e/api.ts index 1e38e7c510..def90ddc72 100644 --- a/packages/backend/test/e2e/api.ts +++ b/packages/backend/test/e2e/api.ts @@ -1,14 +1,15 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ process.env.NODE_ENV = 'test'; import * as assert from 'assert'; +import { IncomingMessage } from 'http'; import { signup, api, startServer, successfulApiCall, failedApiCall, uploadFile, waitFire, connectStream } from '../utils.js'; import type { INestApplicationContext } from '@nestjs/common'; import type * as misskey from 'misskey-js'; -import { IncomingMessage } from 'http'; describe('API', () => { let app: INestApplicationContext; diff --git a/packages/backend/test/e2e/block.ts b/packages/backend/test/e2e/block.ts index ba338f83ad..4445d9036c 100644 --- a/packages/backend/test/e2e/block.ts +++ b/packages/backend/test/e2e/block.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ process.env.NODE_ENV = 'test'; diff --git a/packages/backend/test/e2e/clips.ts b/packages/backend/test/e2e/clips.ts index 8aced1a28c..833b48f731 100644 --- a/packages/backend/test/e2e/clips.ts +++ b/packages/backend/test/e2e/clips.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ process.env.NODE_ENV = 'test'; diff --git a/packages/backend/test/e2e/endpoints.ts b/packages/backend/test/e2e/endpoints.ts index 7a0275917f..55fbf9ad47 100644 --- a/packages/backend/test/e2e/endpoints.ts +++ b/packages/backend/test/e2e/endpoints.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ process.env.NODE_ENV = 'test'; diff --git a/packages/backend/test/e2e/fetch-resource.ts b/packages/backend/test/e2e/fetch-resource.ts index 84c1d18829..96683ce594 100644 --- a/packages/backend/test/e2e/fetch-resource.ts +++ b/packages/backend/test/e2e/fetch-resource.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ process.env.NODE_ENV = 'test'; diff --git a/packages/backend/test/e2e/ff-visibility.ts b/packages/backend/test/e2e/ff-visibility.ts index d01f26520e..7841e057bf 100644 --- a/packages/backend/test/e2e/ff-visibility.ts +++ b/packages/backend/test/e2e/ff-visibility.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ process.env.NODE_ENV = 'test'; diff --git a/packages/backend/test/e2e/move.ts b/packages/backend/test/e2e/move.ts index 475a93ff19..faee6087da 100644 --- a/packages/backend/test/e2e/move.ts +++ b/packages/backend/test/e2e/move.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ process.env.NODE_ENV = 'test'; diff --git a/packages/backend/test/e2e/mute.ts b/packages/backend/test/e2e/mute.ts index 22dff6e0cd..a4b57a1eba 100644 --- a/packages/backend/test/e2e/mute.ts +++ b/packages/backend/test/e2e/mute.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ process.env.NODE_ENV = 'test'; diff --git a/packages/backend/test/e2e/note.ts b/packages/backend/test/e2e/note.ts index 9067aacd51..292abe5cff 100644 --- a/packages/backend/test/e2e/note.ts +++ b/packages/backend/test/e2e/note.ts @@ -1,15 +1,16 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ process.env.NODE_ENV = 'test'; import * as assert from 'assert'; import { Note } from '@/models/entities/Note.js'; +import { MAX_NOTE_TEXT_LENGTH } from '@/const.js'; import { signup, post, uploadUrl, startServer, initTestDb, api, uploadFile } from '../utils.js'; import type { INestApplicationContext } from '@nestjs/common'; import type * as misskey from 'misskey-js'; -import { MAX_NOTE_TEXT_LENGTH } from '@/const.js'; describe('Note', () => { let app: INestApplicationContext; @@ -551,8 +552,8 @@ describe('Note', () => { test('センシティブな投稿はhomeになる (単語指定)', async () => { const sensitive = await api('admin/update-meta', { sensitiveWords: [ - "test", - ] + 'test', + ], }, alice); assert.strictEqual(sensitive.status, 204); @@ -565,14 +566,13 @@ describe('Note', () => { assert.strictEqual(note1.status, 200); assert.strictEqual(note1.body.createdNote.visibility, 'home'); - }); test('センシティブな投稿はhomeになる (正規表現)', async () => { const sensitive = await api('admin/update-meta', { sensitiveWords: [ - "/Test/i", - ] + '/Test/i', + ], }, alice); assert.strictEqual(sensitive.status, 204); @@ -588,8 +588,8 @@ describe('Note', () => { test('センシティブな投稿はhomeになる (スペースアンド)', async () => { const sensitive = await api('admin/update-meta', { sensitiveWords: [ - "Test hoge" - ] + 'Test hoge', + ], }, alice); assert.strictEqual(sensitive.status, 204); @@ -600,7 +600,6 @@ describe('Note', () => { assert.strictEqual(note2.status, 200); assert.strictEqual(note2.body.createdNote.visibility, 'home'); - }); }); diff --git a/packages/backend/test/e2e/renote-mute.ts b/packages/backend/test/e2e/renote-mute.ts index 507bb1699d..c9e1ccc304 100644 --- a/packages/backend/test/e2e/renote-mute.ts +++ b/packages/backend/test/e2e/renote-mute.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ process.env.NODE_ENV = 'test'; diff --git a/packages/backend/test/e2e/streaming.ts b/packages/backend/test/e2e/streaming.ts index 3f98bc778c..046629979a 100644 --- a/packages/backend/test/e2e/streaming.ts +++ b/packages/backend/test/e2e/streaming.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ process.env.NODE_ENV = 'test'; diff --git a/packages/backend/test/e2e/thread-mute.ts b/packages/backend/test/e2e/thread-mute.ts index f7c9a9c5e2..0e487976dc 100644 --- a/packages/backend/test/e2e/thread-mute.ts +++ b/packages/backend/test/e2e/thread-mute.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ process.env.NODE_ENV = 'test'; diff --git a/packages/backend/test/e2e/user-notes.ts b/packages/backend/test/e2e/user-notes.ts index 9071bf11d9..121070787d 100644 --- a/packages/backend/test/e2e/user-notes.ts +++ b/packages/backend/test/e2e/user-notes.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ process.env.NODE_ENV = 'test'; diff --git a/packages/backend/test/e2e/users.ts b/packages/backend/test/e2e/users.ts index 4510d73881..0530b44ce4 100644 --- a/packages/backend/test/e2e/users.ts +++ b/packages/backend/test/e2e/users.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ process.env.NODE_ENV = 'test'; diff --git a/packages/backend/test/misc/mock-resolver.ts b/packages/backend/test/misc/mock-resolver.ts index c07539bda0..257a9c859f 100644 --- a/packages/backend/test/misc/mock-resolver.ts +++ b/packages/backend/test/misc/mock-resolver.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import type { Config } from '@/config.js'; import type { ApDbResolverService } from '@/core/activitypub/ApDbResolverService.js'; diff --git a/packages/backend/test/prelude/get-api-validator.ts b/packages/backend/test/prelude/get-api-validator.ts index b563809c87..cccd63299a 100644 --- a/packages/backend/test/prelude/get-api-validator.ts +++ b/packages/backend/test/prelude/get-api-validator.ts @@ -1,15 +1,16 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ -import { Schema } from '@/misc/schema'; import Ajv from 'ajv'; +import { Schema } from '@/misc/schema'; export const getValidator = (paramDef: Schema) => { - const ajv = new Ajv({ - useDefaults: true, - }); - ajv.addFormat('misskey:id', /^[a-zA-Z0-9]+$/); + const ajv = new Ajv({ + useDefaults: true, + }); + ajv.addFormat('misskey:id', /^[a-zA-Z0-9]+$/); - return ajv.compile(paramDef); -} + return ajv.compile(paramDef); +}; diff --git a/packages/backend/test/prelude/maybe.ts b/packages/backend/test/prelude/maybe.ts index 488937545c..37ccfbf7fe 100644 --- a/packages/backend/test/prelude/maybe.ts +++ b/packages/backend/test/prelude/maybe.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as assert from 'assert'; import { just, nothing } from '../../src/misc/prelude/maybe.js'; diff --git a/packages/backend/test/prelude/url.ts b/packages/backend/test/prelude/url.ts index 389ce27df8..340c6451ce 100644 --- a/packages/backend/test/prelude/url.ts +++ b/packages/backend/test/prelude/url.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as assert from 'assert'; import { query } from '../../src/misc/prelude/url.js'; diff --git a/packages/backend/test/unit/DriveService.ts b/packages/backend/test/unit/DriveService.ts index e323fc1391..7234da2e36 100644 --- a/packages/backend/test/unit/DriveService.ts +++ b/packages/backend/test/unit/DriveService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ process.env.NODE_ENV = 'test'; diff --git a/packages/backend/test/unit/FetchInstanceMetadataService.ts b/packages/backend/test/unit/FetchInstanceMetadataService.ts index 8cd87f1957..22ce023216 100644 --- a/packages/backend/test/unit/FetchInstanceMetadataService.ts +++ b/packages/backend/test/unit/FetchInstanceMetadataService.ts @@ -1,12 +1,14 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ process.env.NODE_ENV = 'test'; import { jest } from '@jest/globals'; import { ModuleMocker } from 'jest-mock'; import { Test } from '@nestjs/testing'; +import { Redis } from 'ioredis'; import { GlobalModule } from '@/GlobalModule.js'; import { FetchInstanceMetadataService } from '@/core/FetchInstanceMetadataService.js'; import { FederatedInstanceService } from '@/core/FederatedInstanceService.js'; @@ -17,15 +19,14 @@ import { IdService } from '@/core/IdService.js'; import { DI } from '@/di-symbols.js'; import type { TestingModule } from '@nestjs/testing'; import type { MockFunctionMetadata } from 'jest-mock'; -import { Redis } from 'ioredis' function mockRedis() { const hash = {}; const set = jest.fn((key, value) => { - const ret = hash[key]; - hash[key] = value; - return ret; - }); + const ret = hash[key]; + hash[key] = value; + return ret; + }); return set; } @@ -51,7 +52,7 @@ describe('FetchInstanceMetadataService', () => { }) .useMocker((token) => { if (token === HttpRequestService) { - return { getJson: jest.fn(), getHtml: jest.fn(), send: jest.fn(), }; + return { getJson: jest.fn(), getHtml: jest.fn(), send: jest.fn() }; } else if (token === FederatedInstanceService) { return { fetch: jest.fn() }; } else if (token === DI.redis) { @@ -78,20 +79,20 @@ describe('FetchInstanceMetadataService', () => { httpRequestService.getJson.mockImplementation(() => { throw Error(); }); const tryLockSpy = jest.spyOn(fetchInstanceMetadataService, 'tryLock'); const unlockSpy = jest.spyOn(fetchInstanceMetadataService, 'unlock'); - await fetchInstanceMetadataService.fetchInstanceMetadata({ host: "example.com" }); + await fetchInstanceMetadataService.fetchInstanceMetadata({ host: 'example.com' }); expect(tryLockSpy).toHaveBeenCalledTimes(1); expect(unlockSpy).toHaveBeenCalledTimes(1); expect(federatedInstanceService.fetch).toHaveBeenCalledTimes(1); expect(httpRequestService.getJson).toHaveBeenCalled(); }); - test("Lock and don't update", async () => { + test('Lock and don\'t update', async () => { redisClient.set = mockRedis(); const now = Date.now(); federatedInstanceService.fetch.mockReturnValue({ infoUpdatedAt: { getTime: () => now } }); httpRequestService.getJson.mockImplementation(() => { throw Error(); }); const tryLockSpy = jest.spyOn(fetchInstanceMetadataService, 'tryLock'); const unlockSpy = jest.spyOn(fetchInstanceMetadataService, 'unlock'); - await fetchInstanceMetadataService.fetchInstanceMetadata({ host: "example.com" }); + await fetchInstanceMetadataService.fetchInstanceMetadata({ host: 'example.com' }); expect(tryLockSpy).toHaveBeenCalledTimes(1); expect(unlockSpy).toHaveBeenCalledTimes(1); expect(federatedInstanceService.fetch).toHaveBeenCalledTimes(1); @@ -103,8 +104,8 @@ describe('FetchInstanceMetadataService', () => { httpRequestService.getJson.mockImplementation(() => { throw Error(); }); const tryLockSpy = jest.spyOn(fetchInstanceMetadataService, 'tryLock'); const unlockSpy = jest.spyOn(fetchInstanceMetadataService, 'unlock'); - await fetchInstanceMetadataService.tryLock("example.com"); - await fetchInstanceMetadataService.fetchInstanceMetadata({ host: "example.com" }); + await fetchInstanceMetadataService.tryLock('example.com'); + await fetchInstanceMetadataService.fetchInstanceMetadata({ host: 'example.com' }); expect(tryLockSpy).toHaveBeenCalledTimes(2); expect(unlockSpy).toHaveBeenCalledTimes(0); expect(federatedInstanceService.fetch).toHaveBeenCalledTimes(0); diff --git a/packages/backend/test/unit/FileInfoService.ts b/packages/backend/test/unit/FileInfoService.ts index 720890feae..de0b31488c 100644 --- a/packages/backend/test/unit/FileInfoService.ts +++ b/packages/backend/test/unit/FileInfoService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ process.env.NODE_ENV = 'test'; @@ -9,12 +10,12 @@ import { fileURLToPath } from 'node:url'; import { dirname } from 'node:path'; import { ModuleMocker } from 'jest-mock'; import { Test } from '@nestjs/testing'; +import { describe, beforeAll, afterAll, test } from '@jest/globals'; import { GlobalModule } from '@/GlobalModule.js'; import { FileInfoService } from '@/core/FileInfoService.js'; //import { DI } from '@/di-symbols.js'; import { AiService } from '@/core/AiService.js'; import type { TestingModule } from '@nestjs/testing'; -import { describe, beforeAll, afterAll, test } from '@jest/globals'; import type { MockFunctionMetadata } from 'jest-mock'; const _filename = fileURLToPath(import.meta.url); diff --git a/packages/backend/test/unit/MetaService.ts b/packages/backend/test/unit/MetaService.ts index 90e44af22c..2b6e52914e 100644 --- a/packages/backend/test/unit/MetaService.ts +++ b/packages/backend/test/unit/MetaService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ process.env.NODE_ENV = 'test'; diff --git a/packages/backend/test/unit/MfmService.ts b/packages/backend/test/unit/MfmService.ts index 62e30fa47e..bb8e6981d5 100644 --- a/packages/backend/test/unit/MfmService.ts +++ b/packages/backend/test/unit/MfmService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as assert from 'assert'; import * as mfm from 'mfm-js'; diff --git a/packages/backend/test/unit/ReactionService.ts b/packages/backend/test/unit/ReactionService.ts index 9680292458..7b5bf7d0a0 100644 --- a/packages/backend/test/unit/ReactionService.ts +++ b/packages/backend/test/unit/ReactionService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as assert from 'assert'; import { Test } from '@nestjs/testing'; diff --git a/packages/backend/test/unit/RelayService.ts b/packages/backend/test/unit/RelayService.ts index 94e1386e8d..ae20acd060 100644 --- a/packages/backend/test/unit/RelayService.ts +++ b/packages/backend/test/unit/RelayService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ process.env.NODE_ENV = 'test'; diff --git a/packages/backend/test/unit/RoleService.ts b/packages/backend/test/unit/RoleService.ts index 85c5b635cc..fc6e23382b 100644 --- a/packages/backend/test/unit/RoleService.ts +++ b/packages/backend/test/unit/RoleService.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ process.env.NODE_ENV = 'test'; diff --git a/packages/backend/test/unit/S3Service.ts b/packages/backend/test/unit/S3Service.ts index 49ca8cd3b8..eec8494322 100644 --- a/packages/backend/test/unit/S3Service.ts +++ b/packages/backend/test/unit/S3Service.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ process.env.NODE_ENV = 'test'; diff --git a/packages/backend/test/unit/activitypub.ts b/packages/backend/test/unit/activitypub.ts index 34c3eeff78..378f02e8e3 100644 --- a/packages/backend/test/unit/activitypub.ts +++ b/packages/backend/test/unit/activitypub.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ process.env.NODE_ENV = 'test'; diff --git a/packages/backend/test/unit/ap-request.ts b/packages/backend/test/unit/ap-request.ts index af95d01e0c..9edd53d274 100644 --- a/packages/backend/test/unit/ap-request.ts +++ b/packages/backend/test/unit/ap-request.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as assert from 'assert'; import httpSignature from '@peertube/http-signature'; diff --git a/packages/backend/test/unit/chart.ts b/packages/backend/test/unit/chart.ts index f5aac7c17b..a419083e7d 100644 --- a/packages/backend/test/unit/chart.ts +++ b/packages/backend/test/unit/chart.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ process.env.NODE_ENV = 'test'; diff --git a/packages/backend/test/unit/extract-mentions.ts b/packages/backend/test/unit/extract-mentions.ts index 547fd6b624..5901f33fdc 100644 --- a/packages/backend/test/unit/extract-mentions.ts +++ b/packages/backend/test/unit/extract-mentions.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as assert from 'assert'; diff --git a/packages/backend/test/unit/misc/check-word-mute.ts b/packages/backend/test/unit/misc/check-word-mute.ts index 4131e9dfe3..12bfca8bd7 100644 --- a/packages/backend/test/unit/misc/check-word-mute.ts +++ b/packages/backend/test/unit/misc/check-word-mute.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { checkWordMute } from '@/misc/check-word-mute.js'; diff --git a/packages/backend/test/unit/misc/id.ts b/packages/backend/test/unit/misc/id.ts index 26a9871563..8cc2ea425f 100644 --- a/packages/backend/test/unit/misc/id.ts +++ b/packages/backend/test/unit/misc/id.ts @@ -1,48 +1,49 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ +import { ulid } from 'ulid'; +import { describe, test, expect } from '@jest/globals'; import { aidRegExp, genAid, parseAid } from '@/misc/id/aid.js'; import { genMeid, meidRegExp, parseMeid } from '@/misc/id/meid.js'; import { genMeidg, meidgRegExp, parseMeidg } from '@/misc/id/meidg.js'; import { genObjectId, objectIdRegExp, parseObjectId } from '@/misc/id/object-id.js'; import { ulidRegExp, parseUlid } from '@/misc/id/ulid.js'; -import { ulid } from 'ulid'; -import { describe, test, expect } from '@jest/globals'; describe('misc:id', () => { - test('aid', () => { - const date = new Date(); - const gotAid = genAid(date); - expect(gotAid).toMatch(aidRegExp); - expect(parseAid(gotAid).date.getTime()).toBe(date.getTime()); - }); + test('aid', () => { + const date = new Date(); + const gotAid = genAid(date); + expect(gotAid).toMatch(aidRegExp); + expect(parseAid(gotAid).date.getTime()).toBe(date.getTime()); + }); - test('meid', () => { - const date = new Date(); - const gotMeid = genMeid(date); - expect(gotMeid).toMatch(meidRegExp); - expect(parseMeid(gotMeid).date.getTime()).toBe(date.getTime()); - }); + test('meid', () => { + const date = new Date(); + const gotMeid = genMeid(date); + expect(gotMeid).toMatch(meidRegExp); + expect(parseMeid(gotMeid).date.getTime()).toBe(date.getTime()); + }); - test('meidg', () => { - const date = new Date(); - const gotMeidg = genMeidg(date); - expect(gotMeidg).toMatch(meidgRegExp); - expect(parseMeidg(gotMeidg).date.getTime()).toBe(date.getTime()); - }); + test('meidg', () => { + const date = new Date(); + const gotMeidg = genMeidg(date); + expect(gotMeidg).toMatch(meidgRegExp); + expect(parseMeidg(gotMeidg).date.getTime()).toBe(date.getTime()); + }); - test('objectid', () => { - const date = new Date(); - const gotObjectId = genObjectId(date); - expect(gotObjectId).toMatch(objectIdRegExp); - expect(Math.floor(parseObjectId(gotObjectId).date.getTime() / 1000)).toBe(Math.floor(date.getTime() / 1000)); - }); + test('objectid', () => { + const date = new Date(); + const gotObjectId = genObjectId(date); + expect(gotObjectId).toMatch(objectIdRegExp); + expect(Math.floor(parseObjectId(gotObjectId).date.getTime() / 1000)).toBe(Math.floor(date.getTime() / 1000)); + }); - test('ulid', () => { - const date = new Date(); - const gotUlid = ulid(date.getTime()); - expect(gotUlid).toMatch(ulidRegExp); - expect(parseUlid(gotUlid).date.getTime()).toBe(date.getTime()); - }); + test('ulid', () => { + const date = new Date(); + const gotUlid = ulid(date.getTime()); + expect(gotUlid).toMatch(ulidRegExp); + expect(parseUlid(gotUlid).date.getTime()).toBe(date.getTime()); + }); }); diff --git a/packages/backend/test/unit/misc/others.ts b/packages/backend/test/unit/misc/others.ts index 70573a4c37..e2e484dfd7 100644 --- a/packages/backend/test/unit/misc/others.ts +++ b/packages/backend/test/unit/misc/others.ts @@ -1,46 +1,47 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { describe, test, expect } from '@jest/globals'; import { contentDisposition } from '@/misc/content-disposition.js'; import { correctFilename } from '@/misc/correct-filename.js'; describe('misc:content-disposition', () => { - test('inline', () => { - expect(contentDisposition('inline', 'foo bar')).toBe('inline; filename=\"foo_bar\"; filename*=UTF-8\'\'foo%20bar'); - }); - test('attachment', () => { - expect(contentDisposition('attachment', 'foo bar')).toBe('attachment; filename=\"foo_bar\"; filename*=UTF-8\'\'foo%20bar'); - }); - test('non ascii', () => { - expect(contentDisposition('attachment', 'ファイル名')).toBe('attachment; filename=\"_____\"; filename*=UTF-8\'\'%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E5%90%8D'); - }); + test('inline', () => { + expect(contentDisposition('inline', 'foo bar')).toBe('inline; filename=\"foo_bar\"; filename*=UTF-8\'\'foo%20bar'); + }); + test('attachment', () => { + expect(contentDisposition('attachment', 'foo bar')).toBe('attachment; filename=\"foo_bar\"; filename*=UTF-8\'\'foo%20bar'); + }); + test('non ascii', () => { + expect(contentDisposition('attachment', 'ファイル名')).toBe('attachment; filename=\"_____\"; filename*=UTF-8\'\'%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E5%90%8D'); + }); }); describe('misc:correct-filename', () => { - test('simple', () => { - expect(correctFilename('filename', 'jpg')).toBe('filename.jpg'); - }); - test('with same ext', () => { - expect(correctFilename('filename.jpg', 'jpg')).toBe('filename.jpg'); - }); - test('.ext', () => { - expect(correctFilename('filename.jpg', '.jpg')).toBe('filename.jpg'); - }); - test('with different ext', () => { - expect(correctFilename('filename.webp', 'jpg')).toBe('filename.webp.jpg'); - }); - test('non ascii with space', () => { - expect(correctFilename('ファイル 名前', 'jpg')).toBe('ファイル 名前.jpg'); - }); - test('jpeg', () => { - expect(correctFilename('filename.jpeg', 'jpg')).toBe('filename.jpeg'); - }); - test('tiff', () => { - expect(correctFilename('filename.tiff', 'tif')).toBe('filename.tiff'); - }); - test('null ext', () => { - expect(correctFilename('filename', null)).toBe('filename.unknown'); - }); + test('simple', () => { + expect(correctFilename('filename', 'jpg')).toBe('filename.jpg'); + }); + test('with same ext', () => { + expect(correctFilename('filename.jpg', 'jpg')).toBe('filename.jpg'); + }); + test('.ext', () => { + expect(correctFilename('filename.jpg', '.jpg')).toBe('filename.jpg'); + }); + test('with different ext', () => { + expect(correctFilename('filename.webp', 'jpg')).toBe('filename.webp.jpg'); + }); + test('non ascii with space', () => { + expect(correctFilename('ファイル 名前', 'jpg')).toBe('ファイル 名前.jpg'); + }); + test('jpeg', () => { + expect(correctFilename('filename.jpeg', 'jpg')).toBe('filename.jpeg'); + }); + test('tiff', () => { + expect(correctFilename('filename.tiff', 'tif')).toBe('filename.tiff'); + }); + test('null ext', () => { + expect(correctFilename('filename', null)).toBe('filename.unknown'); + }); }); diff --git a/packages/backend/test/utils.ts b/packages/backend/test/utils.ts index 3bd0b05478..6fe2f4af5d 100644 --- a/packages/backend/test/utils.ts +++ b/packages/backend/test/utils.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as assert from 'node:assert'; import { readFile } from 'node:fs/promises'; diff --git a/packages/backend/watch.mjs b/packages/backend/watch.mjs index c17d87a013..81c23a0f50 100644 --- a/packages/backend/watch.mjs +++ b/packages/backend/watch.mjs @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { execa } from 'execa'; diff --git a/packages/frontend/@types/global.d.ts b/packages/frontend/@types/global.d.ts index 77dd585b1c..390f63990b 100644 --- a/packages/frontend/@types/global.d.ts +++ b/packages/frontend/@types/global.d.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ type FIXME = any; diff --git a/packages/frontend/@types/theme.d.ts b/packages/frontend/@types/theme.d.ts index 2d64da25cf..f4ba42b89d 100644 --- a/packages/frontend/@types/theme.d.ts +++ b/packages/frontend/@types/theme.d.ts @@ -1,9 +1,10 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ declare module '@/themes/*.json5' { - import { Theme } from "@/scripts/theme"; + import { Theme } from '@/scripts/theme'; const theme: Theme; diff --git a/packages/frontend/lib/rollup-plugin-unwind-css-module-class-name.test.ts b/packages/frontend/lib/rollup-plugin-unwind-css-module-class-name.test.ts index 2dfe2750e3..a7b8cbb037 100644 --- a/packages/frontend/lib/rollup-plugin-unwind-css-module-class-name.test.ts +++ b/packages/frontend/lib/rollup-plugin-unwind-css-module-class-name.test.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { parse } from 'acorn'; import { generate } from 'astring'; diff --git a/packages/frontend/lib/rollup-plugin-unwind-css-module-class-name.ts b/packages/frontend/lib/rollup-plugin-unwind-css-module-class-name.ts index d5eb01d692..18c817e0f5 100644 --- a/packages/frontend/lib/rollup-plugin-unwind-css-module-class-name.ts +++ b/packages/frontend/lib/rollup-plugin-unwind-css-module-class-name.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { generate } from 'astring'; import * as estree from 'estree'; diff --git a/packages/frontend/public/mockServiceWorker.js b/packages/frontend/public/mockServiceWorker.js index a4f3e47eb5..5384ce6b94 100644 --- a/packages/frontend/public/mockServiceWorker.js +++ b/packages/frontend/public/mockServiceWorker.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable */ /* tslint:disable */ diff --git a/packages/frontend/src/_boot_.ts b/packages/frontend/src/_boot_.ts index 344fa6221d..a397e57ad3 100644 --- a/packages/frontend/src/_boot_.ts +++ b/packages/frontend/src/_boot_.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ // https://vitejs.dev/config/build-options.html#build-modulepreload import 'vite/modulepreload-polyfill'; diff --git a/packages/frontend/src/account.ts b/packages/frontend/src/account.ts index 758bcf9ad1..3087b99f3b 100644 --- a/packages/frontend/src/account.ts +++ b/packages/frontend/src/account.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { defineAsyncComponent, reactive, ref } from 'vue'; import * as misskey from 'misskey-js'; diff --git a/packages/frontend/src/boot/common.ts b/packages/frontend/src/boot/common.ts index 3f93e2ac4e..8f5de88ccd 100644 --- a/packages/frontend/src/boot/common.ts +++ b/packages/frontend/src/boot/common.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { computed, createApp, watch, markRaw, version as vueVersion, defineAsyncComponent, App } from 'vue'; import { compareVersions } from 'compare-versions'; diff --git a/packages/frontend/src/boot/main-boot.ts b/packages/frontend/src/boot/main-boot.ts index 026076628b..7459ea0fa5 100644 --- a/packages/frontend/src/boot/main-boot.ts +++ b/packages/frontend/src/boot/main-boot.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { computed, createApp, watch, markRaw, version as vueVersion, defineAsyncComponent } from 'vue'; import { common } from './common'; diff --git a/packages/frontend/src/boot/sub-boot.ts b/packages/frontend/src/boot/sub-boot.ts index 8b7b914599..2cc19f2df3 100644 --- a/packages/frontend/src/boot/sub-boot.ts +++ b/packages/frontend/src/boot/sub-boot.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { computed, createApp, watch, markRaw, version as vueVersion, defineAsyncComponent } from 'vue'; import { common } from './common'; diff --git a/packages/frontend/src/cache.ts b/packages/frontend/src/cache.ts index d28f31b0eb..7e5eaf09ad 100644 --- a/packages/frontend/src/cache.ts +++ b/packages/frontend/src/cache.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as misskey from 'misskey-js'; import { Cache } from '@/scripts/cache'; diff --git a/packages/frontend/src/components/MkAbuseReport.stories.impl.ts b/packages/frontend/src/components/MkAbuseReport.stories.impl.ts index 8dbe02de5f..3b64529620 100644 --- a/packages/frontend/src/components/MkAbuseReport.stories.impl.ts +++ b/packages/frontend/src/components/MkAbuseReport.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import { action } from '@storybook/addon-actions'; diff --git a/packages/frontend/src/components/MkAbuseReport.vue b/packages/frontend/src/components/MkAbuseReport.vue index a10e25b60b..d46e5da064 100644 --- a/packages/frontend/src/components/MkAbuseReport.vue +++ b/packages/frontend/src/components/MkAbuseReport.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkAbuseReportWindow.stories.impl.ts b/packages/frontend/src/components/MkAbuseReportWindow.stories.impl.ts index 5b1d791cb8..b45d54679b 100644 --- a/packages/frontend/src/components/MkAbuseReportWindow.stories.impl.ts +++ b/packages/frontend/src/components/MkAbuseReportWindow.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import { action } from '@storybook/addon-actions'; diff --git a/packages/frontend/src/components/MkAbuseReportWindow.vue b/packages/frontend/src/components/MkAbuseReportWindow.vue index 3b09a1a504..6e0dee6973 100644 --- a/packages/frontend/src/components/MkAbuseReportWindow.vue +++ b/packages/frontend/src/components/MkAbuseReportWindow.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkAccountMoved.stories.impl.ts b/packages/frontend/src/components/MkAccountMoved.stories.impl.ts index a6520d8288..a6d4d18c1b 100644 --- a/packages/frontend/src/components/MkAccountMoved.stories.impl.ts +++ b/packages/frontend/src/components/MkAccountMoved.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import { StoryObj } from '@storybook/vue3'; diff --git a/packages/frontend/src/components/MkAccountMoved.vue b/packages/frontend/src/components/MkAccountMoved.vue index 295adc9021..7d39063580 100644 --- a/packages/frontend/src/components/MkAccountMoved.vue +++ b/packages/frontend/src/components/MkAccountMoved.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkAchievements.stories.impl.ts b/packages/frontend/src/components/MkAchievements.stories.impl.ts index a522bdcd72..fd971e5ac6 100644 --- a/packages/frontend/src/components/MkAchievements.stories.impl.ts +++ b/packages/frontend/src/components/MkAchievements.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import { StoryObj } from '@storybook/vue3'; diff --git a/packages/frontend/src/components/MkAchievements.vue b/packages/frontend/src/components/MkAchievements.vue index 14f8e1805a..2f82f9a64b 100644 --- a/packages/frontend/src/components/MkAchievements.vue +++ b/packages/frontend/src/components/MkAchievements.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkAnalogClock.stories.impl.ts b/packages/frontend/src/components/MkAnalogClock.stories.impl.ts index 981587cc41..f87ad30f9b 100644 --- a/packages/frontend/src/components/MkAnalogClock.stories.impl.ts +++ b/packages/frontend/src/components/MkAnalogClock.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import { StoryObj } from '@storybook/vue3'; diff --git a/packages/frontend/src/components/MkAnalogClock.vue b/packages/frontend/src/components/MkAnalogClock.vue index d0749ad91c..cd2c4d8264 100644 --- a/packages/frontend/src/components/MkAnalogClock.vue +++ b/packages/frontend/src/components/MkAnalogClock.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkAnimBg.vue b/packages/frontend/src/components/MkAnimBg.vue index 54cd8275af..70d101a9d3 100644 --- a/packages/frontend/src/components/MkAnimBg.vue +++ b/packages/frontend/src/components/MkAnimBg.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkAsUi.stories.impl.ts b/packages/frontend/src/components/MkAsUi.stories.impl.ts index 428235741a..564fa902ba 100644 --- a/packages/frontend/src/components/MkAsUi.stories.impl.ts +++ b/packages/frontend/src/components/MkAsUi.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import MkAsUi from './MkAsUi.vue'; void MkAsUi; diff --git a/packages/frontend/src/components/MkAsUi.vue b/packages/frontend/src/components/MkAsUi.vue index d82acb6c6b..b663bef1db 100644 --- a/packages/frontend/src/components/MkAsUi.vue +++ b/packages/frontend/src/components/MkAsUi.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkAutocomplete.stories.impl.ts b/packages/frontend/src/components/MkAutocomplete.stories.impl.ts index 687a27fde1..e363859301 100644 --- a/packages/frontend/src/components/MkAutocomplete.stories.impl.ts +++ b/packages/frontend/src/components/MkAutocomplete.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import { action } from '@storybook/addon-actions'; diff --git a/packages/frontend/src/components/MkAutocomplete.vue b/packages/frontend/src/components/MkAutocomplete.vue index fc824e314c..0b9f93c6ee 100644 --- a/packages/frontend/src/components/MkAutocomplete.vue +++ b/packages/frontend/src/components/MkAutocomplete.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkAvatars.stories.impl.ts b/packages/frontend/src/components/MkAvatars.stories.impl.ts index c85d4b745b..659c0eebdf 100644 --- a/packages/frontend/src/components/MkAvatars.stories.impl.ts +++ b/packages/frontend/src/components/MkAvatars.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import { StoryObj } from '@storybook/vue3'; diff --git a/packages/frontend/src/components/MkAvatars.vue b/packages/frontend/src/components/MkAvatars.vue index 509ccb74d6..3c482f1661 100644 --- a/packages/frontend/src/components/MkAvatars.vue +++ b/packages/frontend/src/components/MkAvatars.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkButton.stories.impl.ts b/packages/frontend/src/components/MkButton.stories.impl.ts index 3d0b5b9834..e852557b12 100644 --- a/packages/frontend/src/components/MkButton.stories.impl.ts +++ b/packages/frontend/src/components/MkButton.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ /* eslint-disable import/no-default-export */ diff --git a/packages/frontend/src/components/MkButton.vue b/packages/frontend/src/components/MkButton.vue index fe90ae18c7..80d3292cbc 100644 --- a/packages/frontend/src/components/MkButton.vue +++ b/packages/frontend/src/components/MkButton.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkCaptcha.stories.impl.ts b/packages/frontend/src/components/MkCaptcha.stories.impl.ts index 218c88bfc9..fb50e50b18 100644 --- a/packages/frontend/src/components/MkCaptcha.stories.impl.ts +++ b/packages/frontend/src/components/MkCaptcha.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import MkCaptcha from './MkCaptcha.vue'; void MkCaptcha; diff --git a/packages/frontend/src/components/MkCaptcha.vue b/packages/frontend/src/components/MkCaptcha.vue index 7dcd0e9311..d28b37121d 100644 --- a/packages/frontend/src/components/MkCaptcha.vue +++ b/packages/frontend/src/components/MkCaptcha.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkChannelFollowButton.vue b/packages/frontend/src/components/MkChannelFollowButton.vue index 44a6c9ad07..2daa26e8a4 100644 --- a/packages/frontend/src/components/MkChannelFollowButton.vue +++ b/packages/frontend/src/components/MkChannelFollowButton.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkChannelList.vue b/packages/frontend/src/components/MkChannelList.vue index 962a8f8110..4b93bbb14d 100644 --- a/packages/frontend/src/components/MkChannelList.vue +++ b/packages/frontend/src/components/MkChannelList.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkChannelPreview.vue b/packages/frontend/src/components/MkChannelPreview.vue index e44ed5eb96..9c08efb6c7 100644 --- a/packages/frontend/src/components/MkChannelPreview.vue +++ b/packages/frontend/src/components/MkChannelPreview.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkChart.vue b/packages/frontend/src/components/MkChart.vue index f23ba1334b..2f1a93548a 100644 --- a/packages/frontend/src/components/MkChart.vue +++ b/packages/frontend/src/components/MkChart.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkChartLegend.vue b/packages/frontend/src/components/MkChartLegend.vue index 458fa9861e..d321114cba 100644 --- a/packages/frontend/src/components/MkChartLegend.vue +++ b/packages/frontend/src/components/MkChartLegend.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkChartTooltip.vue b/packages/frontend/src/components/MkChartTooltip.vue index d0b7b0b193..c11f516e37 100644 --- a/packages/frontend/src/components/MkChartTooltip.vue +++ b/packages/frontend/src/components/MkChartTooltip.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkClickerGame.vue b/packages/frontend/src/components/MkClickerGame.vue index c928c7e2c2..62a6f452c1 100644 --- a/packages/frontend/src/components/MkClickerGame.vue +++ b/packages/frontend/src/components/MkClickerGame.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkClipPreview.vue b/packages/frontend/src/components/MkClipPreview.vue index c399af76f1..716e6dacb4 100644 --- a/packages/frontend/src/components/MkClipPreview.vue +++ b/packages/frontend/src/components/MkClipPreview.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkCode.core.vue b/packages/frontend/src/components/MkCode.core.vue index cd33f25b4a..a1300be1f6 100644 --- a/packages/frontend/src/components/MkCode.core.vue +++ b/packages/frontend/src/components/MkCode.core.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkCode.vue b/packages/frontend/src/components/MkCode.vue index 91bdfdb2fa..8972b1863b 100644 --- a/packages/frontend/src/components/MkCode.vue +++ b/packages/frontend/src/components/MkCode.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkColorInput.vue b/packages/frontend/src/components/MkColorInput.vue index dffa15963d..d28bb2ae70 100644 --- a/packages/frontend/src/components/MkColorInput.vue +++ b/packages/frontend/src/components/MkColorInput.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkContainer.vue b/packages/frontend/src/components/MkContainer.vue index 3e71490162..4c3b8a66da 100644 --- a/packages/frontend/src/components/MkContainer.vue +++ b/packages/frontend/src/components/MkContainer.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkContextMenu.vue b/packages/frontend/src/components/MkContextMenu.vue index 40a8fe8a27..2ca04a8a3b 100644 --- a/packages/frontend/src/components/MkContextMenu.vue +++ b/packages/frontend/src/components/MkContextMenu.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkCropperDialog.vue b/packages/frontend/src/components/MkCropperDialog.vue index eb557d212d..7511dbf243 100644 --- a/packages/frontend/src/components/MkCropperDialog.vue +++ b/packages/frontend/src/components/MkCropperDialog.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkCwButton.vue b/packages/frontend/src/components/MkCwButton.vue index b08983cb6f..ddf38b6556 100644 --- a/packages/frontend/src/components/MkCwButton.vue +++ b/packages/frontend/src/components/MkCwButton.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkDateSeparatedList.vue b/packages/frontend/src/components/MkDateSeparatedList.vue index dd91321c7f..20f13f965a 100644 --- a/packages/frontend/src/components/MkDateSeparatedList.vue +++ b/packages/frontend/src/components/MkDateSeparatedList.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkDialog.vue b/packages/frontend/src/components/MkDialog.vue index 8896a4a6e8..0c993bd884 100644 --- a/packages/frontend/src/components/MkDialog.vue +++ b/packages/frontend/src/components/MkDialog.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkDigitalClock.stories.impl.ts b/packages/frontend/src/components/MkDigitalClock.stories.impl.ts index 691870b92a..5d16c09bc5 100644 --- a/packages/frontend/src/components/MkDigitalClock.stories.impl.ts +++ b/packages/frontend/src/components/MkDigitalClock.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import { StoryObj } from '@storybook/vue3'; diff --git a/packages/frontend/src/components/MkDigitalClock.vue b/packages/frontend/src/components/MkDigitalClock.vue index f104eccb46..dff6e7d4dd 100644 --- a/packages/frontend/src/components/MkDigitalClock.vue +++ b/packages/frontend/src/components/MkDigitalClock.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkDonation.vue b/packages/frontend/src/components/MkDonation.vue index f199f9fa0a..1552c80d6f 100644 --- a/packages/frontend/src/components/MkDonation.vue +++ b/packages/frontend/src/components/MkDonation.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkDrive.file.vue b/packages/frontend/src/components/MkDrive.file.vue index 479f3b17d9..7633ddd0fd 100644 --- a/packages/frontend/src/components/MkDrive.file.vue +++ b/packages/frontend/src/components/MkDrive.file.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkDrive.folder.vue b/packages/frontend/src/components/MkDrive.folder.vue index 6cbb071466..16c987a0a2 100644 --- a/packages/frontend/src/components/MkDrive.folder.vue +++ b/packages/frontend/src/components/MkDrive.folder.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkDrive.navFolder.vue b/packages/frontend/src/components/MkDrive.navFolder.vue index 61105848b6..69e6a0df5a 100644 --- a/packages/frontend/src/components/MkDrive.navFolder.vue +++ b/packages/frontend/src/components/MkDrive.navFolder.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkDrive.vue b/packages/frontend/src/components/MkDrive.vue index ed12c5532d..781e1019f7 100644 --- a/packages/frontend/src/components/MkDrive.vue +++ b/packages/frontend/src/components/MkDrive.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkDriveFileThumbnail.vue b/packages/frontend/src/components/MkDriveFileThumbnail.vue index 8b0cb34011..5b07fed2d1 100644 --- a/packages/frontend/src/components/MkDriveFileThumbnail.vue +++ b/packages/frontend/src/components/MkDriveFileThumbnail.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkDriveSelectDialog.vue b/packages/frontend/src/components/MkDriveSelectDialog.vue index 9ca5911215..4d3548a87a 100644 --- a/packages/frontend/src/components/MkDriveSelectDialog.vue +++ b/packages/frontend/src/components/MkDriveSelectDialog.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkDriveWindow.vue b/packages/frontend/src/components/MkDriveWindow.vue index ba39b4fdf0..f54cebd7a8 100644 --- a/packages/frontend/src/components/MkDriveWindow.vue +++ b/packages/frontend/src/components/MkDriveWindow.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkEmojiPicker.section.vue b/packages/frontend/src/components/MkEmojiPicker.section.vue index a86686c5fc..4c8c0c7902 100644 --- a/packages/frontend/src/components/MkEmojiPicker.section.vue +++ b/packages/frontend/src/components/MkEmojiPicker.section.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkEmojiPicker.vue b/packages/frontend/src/components/MkEmojiPicker.vue index 5f81387388..145bce9825 100644 --- a/packages/frontend/src/components/MkEmojiPicker.vue +++ b/packages/frontend/src/components/MkEmojiPicker.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkEmojiPickerDialog.vue b/packages/frontend/src/components/MkEmojiPickerDialog.vue index 8511c24a15..855d82c064 100644 --- a/packages/frontend/src/components/MkEmojiPickerDialog.vue +++ b/packages/frontend/src/components/MkEmojiPickerDialog.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkEmojiPickerWindow.vue b/packages/frontend/src/components/MkEmojiPickerWindow.vue index d41182be79..1a2c55e785 100644 --- a/packages/frontend/src/components/MkEmojiPickerWindow.vue +++ b/packages/frontend/src/components/MkEmojiPickerWindow.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkFeaturedPhotos.vue b/packages/frontend/src/components/MkFeaturedPhotos.vue index 0533e82d9f..7f4b00c84c 100644 --- a/packages/frontend/src/components/MkFeaturedPhotos.vue +++ b/packages/frontend/src/components/MkFeaturedPhotos.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkFileCaptionEditWindow.vue b/packages/frontend/src/components/MkFileCaptionEditWindow.vue index 9d3d6a1b20..dc9a789137 100644 --- a/packages/frontend/src/components/MkFileCaptionEditWindow.vue +++ b/packages/frontend/src/components/MkFileCaptionEditWindow.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkFileListForAdmin.vue b/packages/frontend/src/components/MkFileListForAdmin.vue index 7ef73fb057..0534bd3ae4 100644 --- a/packages/frontend/src/components/MkFileListForAdmin.vue +++ b/packages/frontend/src/components/MkFileListForAdmin.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkFlashPreview.vue b/packages/frontend/src/components/MkFlashPreview.vue index 8a89c178da..ebfff422a9 100644 --- a/packages/frontend/src/components/MkFlashPreview.vue +++ b/packages/frontend/src/components/MkFlashPreview.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkFoldableSection.vue b/packages/frontend/src/components/MkFoldableSection.vue index 4c0ac98c6a..da58586e24 100644 --- a/packages/frontend/src/components/MkFoldableSection.vue +++ b/packages/frontend/src/components/MkFoldableSection.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkFolder.vue b/packages/frontend/src/components/MkFolder.vue index 0f858bfd44..4610261111 100644 --- a/packages/frontend/src/components/MkFolder.vue +++ b/packages/frontend/src/components/MkFolder.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkFollowButton.vue b/packages/frontend/src/components/MkFollowButton.vue index 36ce5fc329..a9f4dc9d35 100644 --- a/packages/frontend/src/components/MkFollowButton.vue +++ b/packages/frontend/src/components/MkFollowButton.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkForgotPassword.vue b/packages/frontend/src/components/MkForgotPassword.vue index b16563c8f5..a548089011 100644 --- a/packages/frontend/src/components/MkForgotPassword.vue +++ b/packages/frontend/src/components/MkForgotPassword.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkFormDialog.vue b/packages/frontend/src/components/MkFormDialog.vue index a734334fc3..b8cc3d38d8 100644 --- a/packages/frontend/src/components/MkFormDialog.vue +++ b/packages/frontend/src/components/MkFormDialog.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkGalleryPostPreview.stories.impl.ts b/packages/frontend/src/components/MkGalleryPostPreview.stories.impl.ts index 775b523ea3..29e27e1373 100644 --- a/packages/frontend/src/components/MkGalleryPostPreview.stories.impl.ts +++ b/packages/frontend/src/components/MkGalleryPostPreview.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import { expect } from '@storybook/jest'; diff --git a/packages/frontend/src/components/MkGalleryPostPreview.vue b/packages/frontend/src/components/MkGalleryPostPreview.vue index 78994e3ace..ffbb201b52 100644 --- a/packages/frontend/src/components/MkGalleryPostPreview.vue +++ b/packages/frontend/src/components/MkGalleryPostPreview.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkGoogle.vue b/packages/frontend/src/components/MkGoogle.vue index 82af223199..3f661b3236 100644 --- a/packages/frontend/src/components/MkGoogle.vue +++ b/packages/frontend/src/components/MkGoogle.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkHeatmap.vue b/packages/frontend/src/components/MkHeatmap.vue index 7972d5e81c..9748d409fd 100644 --- a/packages/frontend/src/components/MkHeatmap.vue +++ b/packages/frontend/src/components/MkHeatmap.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkImgWithBlurhash.vue b/packages/frontend/src/components/MkImgWithBlurhash.vue index 2d131ed64c..b3e04c7e4d 100644 --- a/packages/frontend/src/components/MkImgWithBlurhash.vue +++ b/packages/frontend/src/components/MkImgWithBlurhash.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkInfo.vue b/packages/frontend/src/components/MkInfo.vue index dd1a5edbeb..37490887e1 100644 --- a/packages/frontend/src/components/MkInfo.vue +++ b/packages/frontend/src/components/MkInfo.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkInput.vue b/packages/frontend/src/components/MkInput.vue index 73d7202796..5ca9dfcd9c 100644 --- a/packages/frontend/src/components/MkInput.vue +++ b/packages/frontend/src/components/MkInput.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkInstanceCardMini.vue b/packages/frontend/src/components/MkInstanceCardMini.vue index d73b229f55..e755c7b6e9 100644 --- a/packages/frontend/src/components/MkInstanceCardMini.vue +++ b/packages/frontend/src/components/MkInstanceCardMini.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkInstanceStats.vue b/packages/frontend/src/components/MkInstanceStats.vue index 68f7538713..9ecf114e1a 100644 --- a/packages/frontend/src/components/MkInstanceStats.vue +++ b/packages/frontend/src/components/MkInstanceStats.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkInstanceTicker.vue b/packages/frontend/src/components/MkInstanceTicker.vue index 81816b9ae4..afa0004cc7 100644 --- a/packages/frontend/src/components/MkInstanceTicker.vue +++ b/packages/frontend/src/components/MkInstanceTicker.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkInviteCode.stories.impl.ts b/packages/frontend/src/components/MkInviteCode.stories.impl.ts index d250966350..0127ce061b 100644 --- a/packages/frontend/src/components/MkInviteCode.stories.impl.ts +++ b/packages/frontend/src/components/MkInviteCode.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import { StoryObj } from '@storybook/vue3'; @@ -52,13 +53,13 @@ export const Default = { export const Used = { ...Default, args: { - invite: inviteCode(true) as any + invite: inviteCode(true) as any, }, } satisfies StoryObj; export const Expired = { ...Default, args: { - invite: inviteCode(false, true, true) as any + invite: inviteCode(false, true, true) as any, }, } satisfies StoryObj; diff --git a/packages/frontend/src/components/MkInviteCode.vue b/packages/frontend/src/components/MkInviteCode.vue index 876efa4aa4..1b780dfee4 100644 --- a/packages/frontend/src/components/MkInviteCode.vue +++ b/packages/frontend/src/components/MkInviteCode.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkKeyValue.vue b/packages/frontend/src/components/MkKeyValue.vue index 04f69d6bcb..41e756de03 100644 --- a/packages/frontend/src/components/MkKeyValue.vue +++ b/packages/frontend/src/components/MkKeyValue.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkLaunchPad.vue b/packages/frontend/src/components/MkLaunchPad.vue index 7d12c0231a..de38fad7b2 100644 --- a/packages/frontend/src/components/MkLaunchPad.vue +++ b/packages/frontend/src/components/MkLaunchPad.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkLink.vue b/packages/frontend/src/components/MkLink.vue index fddb924f64..8b77ee8bfd 100644 --- a/packages/frontend/src/components/MkLink.vue +++ b/packages/frontend/src/components/MkLink.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkMarquee.vue b/packages/frontend/src/components/MkMarquee.vue index 01e323bf54..f9d0573227 100644 --- a/packages/frontend/src/components/MkMarquee.vue +++ b/packages/frontend/src/components/MkMarquee.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkMediaBanner.vue b/packages/frontend/src/components/MkMediaBanner.vue index a0a26ffbc6..eb6a6215a2 100644 --- a/packages/frontend/src/components/MkMediaBanner.vue +++ b/packages/frontend/src/components/MkMediaBanner.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkMediaImage.vue b/packages/frontend/src/components/MkMediaImage.vue index c0ea55f788..bcaabb820a 100644 --- a/packages/frontend/src/components/MkMediaImage.vue +++ b/packages/frontend/src/components/MkMediaImage.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkMediaList.vue b/packages/frontend/src/components/MkMediaList.vue index 89dc2fd9fc..3efccd2e94 100644 --- a/packages/frontend/src/components/MkMediaList.vue +++ b/packages/frontend/src/components/MkMediaList.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkMediaVideo.vue b/packages/frontend/src/components/MkMediaVideo.vue index d8595e09bc..a1e3e0f89f 100644 --- a/packages/frontend/src/components/MkMediaVideo.vue +++ b/packages/frontend/src/components/MkMediaVideo.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkMention.vue b/packages/frontend/src/components/MkMention.vue index 07d7e7b3f0..09f50ce8cf 100644 --- a/packages/frontend/src/components/MkMention.vue +++ b/packages/frontend/src/components/MkMention.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkMenu.child.vue b/packages/frontend/src/components/MkMenu.child.vue index e4b808bcbe..cf955752f3 100644 --- a/packages/frontend/src/components/MkMenu.child.vue +++ b/packages/frontend/src/components/MkMenu.child.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkMenu.vue b/packages/frontend/src/components/MkMenu.vue index 639b32c489..f3c7c235a8 100644 --- a/packages/frontend/src/components/MkMenu.vue +++ b/packages/frontend/src/components/MkMenu.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkMiniChart.vue b/packages/frontend/src/components/MkMiniChart.vue index 0546b519ae..eee1e10399 100644 --- a/packages/frontend/src/components/MkMiniChart.vue +++ b/packages/frontend/src/components/MkMiniChart.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkModal.vue b/packages/frontend/src/components/MkModal.vue index e6addba555..4ba078d4eb 100644 --- a/packages/frontend/src/components/MkModal.vue +++ b/packages/frontend/src/components/MkModal.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkModalWindow.vue b/packages/frontend/src/components/MkModalWindow.vue index c6e2e9c788..1fdf0beb26 100644 --- a/packages/frontend/src/components/MkModalWindow.vue +++ b/packages/frontend/src/components/MkModalWindow.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkNote.vue b/packages/frontend/src/components/MkNote.vue index caf5eb89f0..962a5eef5b 100644 --- a/packages/frontend/src/components/MkNote.vue +++ b/packages/frontend/src/components/MkNote.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkNoteDetailed.vue b/packages/frontend/src/components/MkNoteDetailed.vue index 8e1d44b740..c34ba4f83c 100644 --- a/packages/frontend/src/components/MkNoteDetailed.vue +++ b/packages/frontend/src/components/MkNoteDetailed.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkNoteHeader.vue b/packages/frontend/src/components/MkNoteHeader.vue index 1a676af4ed..559133ef46 100644 --- a/packages/frontend/src/components/MkNoteHeader.vue +++ b/packages/frontend/src/components/MkNoteHeader.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkNotePreview.vue b/packages/frontend/src/components/MkNotePreview.vue index af0f30f767..3cc84283c0 100644 --- a/packages/frontend/src/components/MkNotePreview.vue +++ b/packages/frontend/src/components/MkNotePreview.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkNoteSimple.vue b/packages/frontend/src/components/MkNoteSimple.vue index 03e37a550f..9648b7230a 100644 --- a/packages/frontend/src/components/MkNoteSimple.vue +++ b/packages/frontend/src/components/MkNoteSimple.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkNoteSub.vue b/packages/frontend/src/components/MkNoteSub.vue index cf62a489f0..8e84d3f50d 100644 --- a/packages/frontend/src/components/MkNoteSub.vue +++ b/packages/frontend/src/components/MkNoteSub.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkNotes.vue b/packages/frontend/src/components/MkNotes.vue index 8b05d1b572..ee50e32e31 100644 --- a/packages/frontend/src/components/MkNotes.vue +++ b/packages/frontend/src/components/MkNotes.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkNotification.vue b/packages/frontend/src/components/MkNotification.vue index 9dcecab375..98fd1734df 100644 --- a/packages/frontend/src/components/MkNotification.vue +++ b/packages/frontend/src/components/MkNotification.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkNotificationSettingWindow.vue b/packages/frontend/src/components/MkNotificationSettingWindow.vue index 89a38acfae..ae206a2b65 100644 --- a/packages/frontend/src/components/MkNotificationSettingWindow.vue +++ b/packages/frontend/src/components/MkNotificationSettingWindow.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkNotifications.vue b/packages/frontend/src/components/MkNotifications.vue index 4a52dd8883..cc7657ba97 100644 --- a/packages/frontend/src/components/MkNotifications.vue +++ b/packages/frontend/src/components/MkNotifications.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkNumber.vue b/packages/frontend/src/components/MkNumber.vue index d1fcc6d969..0f657cc70f 100644 --- a/packages/frontend/src/components/MkNumber.vue +++ b/packages/frontend/src/components/MkNumber.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkNumberDiff.vue b/packages/frontend/src/components/MkNumberDiff.vue index 7e16cc819a..fe3db465ff 100644 --- a/packages/frontend/src/components/MkNumberDiff.vue +++ b/packages/frontend/src/components/MkNumberDiff.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkObjectView.value.vue b/packages/frontend/src/components/MkObjectView.value.vue index e2b9243ff9..1459534d42 100644 --- a/packages/frontend/src/components/MkObjectView.value.vue +++ b/packages/frontend/src/components/MkObjectView.value.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkObjectView.vue b/packages/frontend/src/components/MkObjectView.vue index b821b9f90f..30ec896ce4 100644 --- a/packages/frontend/src/components/MkObjectView.vue +++ b/packages/frontend/src/components/MkObjectView.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkOmit.vue b/packages/frontend/src/components/MkOmit.vue index b9b9733a60..3197e9b769 100644 --- a/packages/frontend/src/components/MkOmit.vue +++ b/packages/frontend/src/components/MkOmit.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkPagePreview.vue b/packages/frontend/src/components/MkPagePreview.vue index 0cba1aa034..c1ee67e767 100644 --- a/packages/frontend/src/components/MkPagePreview.vue +++ b/packages/frontend/src/components/MkPagePreview.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkPageWindow.vue b/packages/frontend/src/components/MkPageWindow.vue index 2bd3833d3e..b4941f0b09 100644 --- a/packages/frontend/src/components/MkPageWindow.vue +++ b/packages/frontend/src/components/MkPageWindow.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkPagination.vue b/packages/frontend/src/components/MkPagination.vue index 3c6ce9ae24..7618832171 100644 --- a/packages/frontend/src/components/MkPagination.vue +++ b/packages/frontend/src/components/MkPagination.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkPlusOneEffect.vue b/packages/frontend/src/components/MkPlusOneEffect.vue index 1f7c57e978..8086b97aed 100644 --- a/packages/frontend/src/components/MkPlusOneEffect.vue +++ b/packages/frontend/src/components/MkPlusOneEffect.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkPoll.vue b/packages/frontend/src/components/MkPoll.vue index c278164d16..6fb920dd02 100644 --- a/packages/frontend/src/components/MkPoll.vue +++ b/packages/frontend/src/components/MkPoll.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkPollEditor.vue b/packages/frontend/src/components/MkPollEditor.vue index 490e85db1c..172a937eee 100644 --- a/packages/frontend/src/components/MkPollEditor.vue +++ b/packages/frontend/src/components/MkPollEditor.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkPopupMenu.vue b/packages/frontend/src/components/MkPopupMenu.vue index 96e8253f66..6e7656f745 100644 --- a/packages/frontend/src/components/MkPopupMenu.vue +++ b/packages/frontend/src/components/MkPopupMenu.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkPostForm.vue b/packages/frontend/src/components/MkPostForm.vue index 578e9cb2c6..f1eac354ea 100644 --- a/packages/frontend/src/components/MkPostForm.vue +++ b/packages/frontend/src/components/MkPostForm.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkPostFormAttaches.vue b/packages/frontend/src/components/MkPostFormAttaches.vue index 8ded00a3f7..fa47130c01 100644 --- a/packages/frontend/src/components/MkPostFormAttaches.vue +++ b/packages/frontend/src/components/MkPostFormAttaches.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkPostFormDialog.vue b/packages/frontend/src/components/MkPostFormDialog.vue index fdd3db6ecd..e1af0799e1 100644 --- a/packages/frontend/src/components/MkPostFormDialog.vue +++ b/packages/frontend/src/components/MkPostFormDialog.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkPushNotificationAllowButton.vue b/packages/frontend/src/components/MkPushNotificationAllowButton.vue index bf1f0cb6e8..432bedd03e 100644 --- a/packages/frontend/src/components/MkPushNotificationAllowButton.vue +++ b/packages/frontend/src/components/MkPushNotificationAllowButton.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkRadio.vue b/packages/frontend/src/components/MkRadio.vue index 2f7c5c92da..c4df3e991b 100644 --- a/packages/frontend/src/components/MkRadio.vue +++ b/packages/frontend/src/components/MkRadio.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkRadios.vue b/packages/frontend/src/components/MkRadios.vue index 806454e8d4..d9178f3362 100644 --- a/packages/frontend/src/components/MkRadios.vue +++ b/packages/frontend/src/components/MkRadios.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkRange.vue b/packages/frontend/src/components/MkRange.vue index 153dce9b47..b5c1718320 100644 --- a/packages/frontend/src/components/MkRange.vue +++ b/packages/frontend/src/components/MkRange.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkReactedUsersDialog.vue b/packages/frontend/src/components/MkReactedUsersDialog.vue index 046640ed91..38fa1085fc 100644 --- a/packages/frontend/src/components/MkReactedUsersDialog.vue +++ b/packages/frontend/src/components/MkReactedUsersDialog.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkReactionEffect.vue b/packages/frontend/src/components/MkReactionEffect.vue index 5c74c8e5b8..f373d179e8 100644 --- a/packages/frontend/src/components/MkReactionEffect.vue +++ b/packages/frontend/src/components/MkReactionEffect.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkReactionIcon.vue b/packages/frontend/src/components/MkReactionIcon.vue index 36818710dc..55c812cbc1 100644 --- a/packages/frontend/src/components/MkReactionIcon.vue +++ b/packages/frontend/src/components/MkReactionIcon.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkReactionTooltip.vue b/packages/frontend/src/components/MkReactionTooltip.vue index 7f206eb8ed..8527b45347 100644 --- a/packages/frontend/src/components/MkReactionTooltip.vue +++ b/packages/frontend/src/components/MkReactionTooltip.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkReactionsViewer.details.vue b/packages/frontend/src/components/MkReactionsViewer.details.vue index 0b0497f9e0..fd5bc5e9e3 100644 --- a/packages/frontend/src/components/MkReactionsViewer.details.vue +++ b/packages/frontend/src/components/MkReactionsViewer.details.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkReactionsViewer.reaction.vue b/packages/frontend/src/components/MkReactionsViewer.reaction.vue index 6d9217f97b..d75fad35a7 100644 --- a/packages/frontend/src/components/MkReactionsViewer.reaction.vue +++ b/packages/frontend/src/components/MkReactionsViewer.reaction.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkReactionsViewer.vue b/packages/frontend/src/components/MkReactionsViewer.vue index 5f27a90263..74ec69b036 100644 --- a/packages/frontend/src/components/MkReactionsViewer.vue +++ b/packages/frontend/src/components/MkReactionsViewer.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkRemoteCaution.vue b/packages/frontend/src/components/MkRemoteCaution.vue index d97e6a27b6..e7d9d74dae 100644 --- a/packages/frontend/src/components/MkRemoteCaution.vue +++ b/packages/frontend/src/components/MkRemoteCaution.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkRenotedUsersDialog.vue b/packages/frontend/src/components/MkRenotedUsersDialog.vue index 9d8c1b7219..47a71629a3 100644 --- a/packages/frontend/src/components/MkRenotedUsersDialog.vue +++ b/packages/frontend/src/components/MkRenotedUsersDialog.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkRetentionHeatmap.vue b/packages/frontend/src/components/MkRetentionHeatmap.vue index 093fa9b2fe..737ddff6ad 100644 --- a/packages/frontend/src/components/MkRetentionHeatmap.vue +++ b/packages/frontend/src/components/MkRetentionHeatmap.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkRetentionLineChart.vue b/packages/frontend/src/components/MkRetentionLineChart.vue index a865a23f7b..01298701fb 100644 --- a/packages/frontend/src/components/MkRetentionLineChart.vue +++ b/packages/frontend/src/components/MkRetentionLineChart.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkRippleEffect.vue b/packages/frontend/src/components/MkRippleEffect.vue index 6ab6b392d5..3015f67e65 100644 --- a/packages/frontend/src/components/MkRippleEffect.vue +++ b/packages/frontend/src/components/MkRippleEffect.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkRolePreview.vue b/packages/frontend/src/components/MkRolePreview.vue index 32ae7e0409..cb9595b746 100644 --- a/packages/frontend/src/components/MkRolePreview.vue +++ b/packages/frontend/src/components/MkRolePreview.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkSelect.vue b/packages/frontend/src/components/MkSelect.vue index 2ad2a55614..cf9a9f225f 100644 --- a/packages/frontend/src/components/MkSelect.vue +++ b/packages/frontend/src/components/MkSelect.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkSignin.vue b/packages/frontend/src/components/MkSignin.vue index c9e107d370..2f1130d992 100644 --- a/packages/frontend/src/components/MkSignin.vue +++ b/packages/frontend/src/components/MkSignin.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkSigninDialog.vue b/packages/frontend/src/components/MkSigninDialog.vue index c7b2261c13..2b72143e88 100644 --- a/packages/frontend/src/components/MkSigninDialog.vue +++ b/packages/frontend/src/components/MkSigninDialog.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkSignupDialog.form.vue b/packages/frontend/src/components/MkSignupDialog.form.vue index fc5a825272..de9b320da2 100644 --- a/packages/frontend/src/components/MkSignupDialog.form.vue +++ b/packages/frontend/src/components/MkSignupDialog.form.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkSignupDialog.rules.stories.impl.ts b/packages/frontend/src/components/MkSignupDialog.rules.stories.impl.ts index 6f51bece69..2a5dc7b448 100644 --- a/packages/frontend/src/components/MkSignupDialog.rules.stories.impl.ts +++ b/packages/frontend/src/components/MkSignupDialog.rules.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import { expect } from '@storybook/jest'; diff --git a/packages/frontend/src/components/MkSignupDialog.rules.vue b/packages/frontend/src/components/MkSignupDialog.rules.vue index 4cadfd4dac..627b14a46f 100644 --- a/packages/frontend/src/components/MkSignupDialog.rules.vue +++ b/packages/frontend/src/components/MkSignupDialog.rules.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkSignupDialog.vue b/packages/frontend/src/components/MkSignupDialog.vue index 93a6f7104e..21d5fe5903 100644 --- a/packages/frontend/src/components/MkSignupDialog.vue +++ b/packages/frontend/src/components/MkSignupDialog.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkSparkle.vue b/packages/frontend/src/components/MkSparkle.vue index 61cadc553c..a7cd1692bf 100644 --- a/packages/frontend/src/components/MkSparkle.vue +++ b/packages/frontend/src/components/MkSparkle.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkSubNoteContent.vue b/packages/frontend/src/components/MkSubNoteContent.vue index a5db1c5ac2..d1f6d284f3 100644 --- a/packages/frontend/src/components/MkSubNoteContent.vue +++ b/packages/frontend/src/components/MkSubNoteContent.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkSuperMenu.vue b/packages/frontend/src/components/MkSuperMenu.vue index e1384dd9bf..efd5665396 100644 --- a/packages/frontend/src/components/MkSuperMenu.vue +++ b/packages/frontend/src/components/MkSuperMenu.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkSwitch.vue b/packages/frontend/src/components/MkSwitch.vue index f0f4bfd5ef..9304f17177 100644 --- a/packages/frontend/src/components/MkSwitch.vue +++ b/packages/frontend/src/components/MkSwitch.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkTab.vue b/packages/frontend/src/components/MkTab.vue index a08c499b85..9785d89403 100644 --- a/packages/frontend/src/components/MkTab.vue +++ b/packages/frontend/src/components/MkTab.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkTagCloud.vue b/packages/frontend/src/components/MkTagCloud.vue index d22d2258f3..a3d82fee5e 100644 --- a/packages/frontend/src/components/MkTagCloud.vue +++ b/packages/frontend/src/components/MkTagCloud.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkTextarea.vue b/packages/frontend/src/components/MkTextarea.vue index bfeedce42f..5abd0e5d99 100644 --- a/packages/frontend/src/components/MkTextarea.vue +++ b/packages/frontend/src/components/MkTextarea.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkTimeline.vue b/packages/frontend/src/components/MkTimeline.vue index 6e67779c28..cb0aaf085c 100644 --- a/packages/frontend/src/components/MkTimeline.vue +++ b/packages/frontend/src/components/MkTimeline.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkToast.vue b/packages/frontend/src/components/MkToast.vue index a7c1d4a1fc..9a998d62ac 100644 --- a/packages/frontend/src/components/MkToast.vue +++ b/packages/frontend/src/components/MkToast.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkTokenGenerateWindow.vue b/packages/frontend/src/components/MkTokenGenerateWindow.vue index 8f45b3c691..265b8adc60 100644 --- a/packages/frontend/src/components/MkTokenGenerateWindow.vue +++ b/packages/frontend/src/components/MkTokenGenerateWindow.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkTooltip.vue b/packages/frontend/src/components/MkTooltip.vue index 1588475d8e..770872ef05 100644 --- a/packages/frontend/src/components/MkTooltip.vue +++ b/packages/frontend/src/components/MkTooltip.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkUpdated.vue b/packages/frontend/src/components/MkUpdated.vue index 8459ed2fb5..070200e0e2 100644 --- a/packages/frontend/src/components/MkUpdated.vue +++ b/packages/frontend/src/components/MkUpdated.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkUrlPreview.vue b/packages/frontend/src/components/MkUrlPreview.vue index 0e79912a30..ce9fe21fac 100644 --- a/packages/frontend/src/components/MkUrlPreview.vue +++ b/packages/frontend/src/components/MkUrlPreview.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkUrlPreviewPopup.vue b/packages/frontend/src/components/MkUrlPreviewPopup.vue index 004f82d7ec..e99f1575c5 100644 --- a/packages/frontend/src/components/MkUrlPreviewPopup.vue +++ b/packages/frontend/src/components/MkUrlPreviewPopup.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkUserCardMini.vue b/packages/frontend/src/components/MkUserCardMini.vue index 8daf3227cf..03539ccf18 100644 --- a/packages/frontend/src/components/MkUserCardMini.vue +++ b/packages/frontend/src/components/MkUserCardMini.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkUserInfo.vue b/packages/frontend/src/components/MkUserInfo.vue index 2615fc9a63..8e89b672a0 100644 --- a/packages/frontend/src/components/MkUserInfo.vue +++ b/packages/frontend/src/components/MkUserInfo.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkUserList.vue b/packages/frontend/src/components/MkUserList.vue index e0f416484a..1cd491a9d5 100644 --- a/packages/frontend/src/components/MkUserList.vue +++ b/packages/frontend/src/components/MkUserList.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkUserOnlineIndicator.vue b/packages/frontend/src/components/MkUserOnlineIndicator.vue index 937601e639..4d6df36106 100644 --- a/packages/frontend/src/components/MkUserOnlineIndicator.vue +++ b/packages/frontend/src/components/MkUserOnlineIndicator.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkUserPopup.vue b/packages/frontend/src/components/MkUserPopup.vue index a0884b2f42..50f11f07b1 100644 --- a/packages/frontend/src/components/MkUserPopup.vue +++ b/packages/frontend/src/components/MkUserPopup.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkUserSelectDialog.vue b/packages/frontend/src/components/MkUserSelectDialog.vue index 81a2d22733..93409aad19 100644 --- a/packages/frontend/src/components/MkUserSelectDialog.vue +++ b/packages/frontend/src/components/MkUserSelectDialog.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkUserSetupDialog.Follow.stories.impl.ts b/packages/frontend/src/components/MkUserSetupDialog.Follow.stories.impl.ts index 32266c431c..9122bb8983 100644 --- a/packages/frontend/src/components/MkUserSetupDialog.Follow.stories.impl.ts +++ b/packages/frontend/src/components/MkUserSetupDialog.Follow.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import { StoryObj } from '@storybook/vue3'; diff --git a/packages/frontend/src/components/MkUserSetupDialog.Follow.vue b/packages/frontend/src/components/MkUserSetupDialog.Follow.vue index d8c06eec23..f3484cbb43 100644 --- a/packages/frontend/src/components/MkUserSetupDialog.Follow.vue +++ b/packages/frontend/src/components/MkUserSetupDialog.Follow.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkUserSetupDialog.Privacy.stories.impl.ts b/packages/frontend/src/components/MkUserSetupDialog.Privacy.stories.impl.ts index 47ff8b5fbe..0f81c0817d 100644 --- a/packages/frontend/src/components/MkUserSetupDialog.Privacy.stories.impl.ts +++ b/packages/frontend/src/components/MkUserSetupDialog.Privacy.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import { StoryObj } from '@storybook/vue3'; diff --git a/packages/frontend/src/components/MkUserSetupDialog.Privacy.vue b/packages/frontend/src/components/MkUserSetupDialog.Privacy.vue index c104f167f3..dbb8259b5c 100644 --- a/packages/frontend/src/components/MkUserSetupDialog.Privacy.vue +++ b/packages/frontend/src/components/MkUserSetupDialog.Privacy.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkUserSetupDialog.Profile.stories.impl.ts b/packages/frontend/src/components/MkUserSetupDialog.Profile.stories.impl.ts index 2b6f4e715b..d2c6f7d479 100644 --- a/packages/frontend/src/components/MkUserSetupDialog.Profile.stories.impl.ts +++ b/packages/frontend/src/components/MkUserSetupDialog.Profile.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import { StoryObj } from '@storybook/vue3'; diff --git a/packages/frontend/src/components/MkUserSetupDialog.Profile.vue b/packages/frontend/src/components/MkUserSetupDialog.Profile.vue index e4f1dd88ac..d155773330 100644 --- a/packages/frontend/src/components/MkUserSetupDialog.Profile.vue +++ b/packages/frontend/src/components/MkUserSetupDialog.Profile.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkUserSetupDialog.User.stories.impl.ts b/packages/frontend/src/components/MkUserSetupDialog.User.stories.impl.ts index b3066f6eec..3324c0186c 100644 --- a/packages/frontend/src/components/MkUserSetupDialog.User.stories.impl.ts +++ b/packages/frontend/src/components/MkUserSetupDialog.User.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import { StoryObj } from '@storybook/vue3'; diff --git a/packages/frontend/src/components/MkUserSetupDialog.User.vue b/packages/frontend/src/components/MkUserSetupDialog.User.vue index f5c92a7055..c14e44f053 100644 --- a/packages/frontend/src/components/MkUserSetupDialog.User.vue +++ b/packages/frontend/src/components/MkUserSetupDialog.User.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkUserSetupDialog.stories.impl.ts b/packages/frontend/src/components/MkUserSetupDialog.stories.impl.ts index ba5b4ccb69..2795bcb2fa 100644 --- a/packages/frontend/src/components/MkUserSetupDialog.stories.impl.ts +++ b/packages/frontend/src/components/MkUserSetupDialog.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import { StoryObj } from '@storybook/vue3'; diff --git a/packages/frontend/src/components/MkUserSetupDialog.vue b/packages/frontend/src/components/MkUserSetupDialog.vue index 8f4f174bb7..1adc21ba38 100644 --- a/packages/frontend/src/components/MkUserSetupDialog.vue +++ b/packages/frontend/src/components/MkUserSetupDialog.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkUsersTooltip.vue b/packages/frontend/src/components/MkUsersTooltip.vue index 1138447fd2..37548952b6 100644 --- a/packages/frontend/src/components/MkUsersTooltip.vue +++ b/packages/frontend/src/components/MkUsersTooltip.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkVisibilityPicker.vue b/packages/frontend/src/components/MkVisibilityPicker.vue index 4055d69edb..3b2de388b2 100644 --- a/packages/frontend/src/components/MkVisibilityPicker.vue +++ b/packages/frontend/src/components/MkVisibilityPicker.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkVisitorDashboard.ActiveUsersChart.vue b/packages/frontend/src/components/MkVisitorDashboard.ActiveUsersChart.vue index c16e7a419c..c862b24ae5 100644 --- a/packages/frontend/src/components/MkVisitorDashboard.ActiveUsersChart.vue +++ b/packages/frontend/src/components/MkVisitorDashboard.ActiveUsersChart.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkVisitorDashboard.vue b/packages/frontend/src/components/MkVisitorDashboard.vue index f9bc3d623c..902bdf3330 100644 --- a/packages/frontend/src/components/MkVisitorDashboard.vue +++ b/packages/frontend/src/components/MkVisitorDashboard.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkWaitingDialog.vue b/packages/frontend/src/components/MkWaitingDialog.vue index d2dded11ec..1326ca2693 100644 --- a/packages/frontend/src/components/MkWaitingDialog.vue +++ b/packages/frontend/src/components/MkWaitingDialog.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkWidgets.vue b/packages/frontend/src/components/MkWidgets.vue index b688a42967..af795044a2 100644 --- a/packages/frontend/src/components/MkWidgets.vue +++ b/packages/frontend/src/components/MkWidgets.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkWindow.vue b/packages/frontend/src/components/MkWindow.vue index 8d21dc8330..008f1910ba 100644 --- a/packages/frontend/src/components/MkWindow.vue +++ b/packages/frontend/src/components/MkWindow.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/MkYouTubePlayer.vue b/packages/frontend/src/components/MkYouTubePlayer.vue index 8fbcc61e3c..9b9c3d5ec4 100644 --- a/packages/frontend/src/components/MkYouTubePlayer.vue +++ b/packages/frontend/src/components/MkYouTubePlayer.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/form/link.vue b/packages/frontend/src/components/form/link.vue index 3af469b515..4d711814b5 100644 --- a/packages/frontend/src/components/form/link.vue +++ b/packages/frontend/src/components/form/link.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/form/section.vue b/packages/frontend/src/components/form/section.vue index eea020257c..095b24604a 100644 --- a/packages/frontend/src/components/form/section.vue +++ b/packages/frontend/src/components/form/section.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/form/slot.vue b/packages/frontend/src/components/form/slot.vue index 4ef719d209..dc4d197507 100644 --- a/packages/frontend/src/components/form/slot.vue +++ b/packages/frontend/src/components/form/slot.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/form/split.vue b/packages/frontend/src/components/form/split.vue index b18db72cf3..8cb24b479e 100644 --- a/packages/frontend/src/components/form/split.vue +++ b/packages/frontend/src/components/form/split.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/form/suspense.vue b/packages/frontend/src/components/form/suspense.vue index 325d695cad..99ee973193 100644 --- a/packages/frontend/src/components/form/suspense.vue +++ b/packages/frontend/src/components/form/suspense.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/global/MkA.stories.impl.ts b/packages/frontend/src/components/global/MkA.stories.impl.ts index 2ef0d20237..4a41280f90 100644 --- a/packages/frontend/src/components/global/MkA.stories.impl.ts +++ b/packages/frontend/src/components/global/MkA.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import { expect } from '@storybook/jest'; diff --git a/packages/frontend/src/components/global/MkA.vue b/packages/frontend/src/components/global/MkA.vue index d13c7acd88..acf4e969fd 100644 --- a/packages/frontend/src/components/global/MkA.vue +++ b/packages/frontend/src/components/global/MkA.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/global/MkAcct.stories.impl.ts b/packages/frontend/src/components/global/MkAcct.stories.impl.ts index fba187b19d..00c1d94330 100644 --- a/packages/frontend/src/components/global/MkAcct.stories.impl.ts +++ b/packages/frontend/src/components/global/MkAcct.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import { StoryObj } from '@storybook/vue3'; diff --git a/packages/frontend/src/components/global/MkAcct.vue b/packages/frontend/src/components/global/MkAcct.vue index 97501db8da..4ae6290a57 100644 --- a/packages/frontend/src/components/global/MkAcct.vue +++ b/packages/frontend/src/components/global/MkAcct.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/global/MkAd.stories.impl.ts b/packages/frontend/src/components/global/MkAd.stories.impl.ts index 6f45c21001..0354a84f49 100644 --- a/packages/frontend/src/components/global/MkAd.stories.impl.ts +++ b/packages/frontend/src/components/global/MkAd.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import { expect } from '@storybook/jest'; diff --git a/packages/frontend/src/components/global/MkAd.vue b/packages/frontend/src/components/global/MkAd.vue index f6e703b6cd..1d43e9fead 100644 --- a/packages/frontend/src/components/global/MkAd.vue +++ b/packages/frontend/src/components/global/MkAd.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/global/MkAvatar.stories.impl.ts b/packages/frontend/src/components/global/MkAvatar.stories.impl.ts index b09a1e620f..877511f8fc 100644 --- a/packages/frontend/src/components/global/MkAvatar.stories.impl.ts +++ b/packages/frontend/src/components/global/MkAvatar.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import { StoryObj } from '@storybook/vue3'; diff --git a/packages/frontend/src/components/global/MkAvatar.vue b/packages/frontend/src/components/global/MkAvatar.vue index c2c688ff70..86bdec2274 100644 --- a/packages/frontend/src/components/global/MkAvatar.vue +++ b/packages/frontend/src/components/global/MkAvatar.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/global/MkCondensedLine.stories.impl.ts b/packages/frontend/src/components/global/MkCondensedLine.stories.impl.ts index 55f105382c..7df49a2066 100644 --- a/packages/frontend/src/components/global/MkCondensedLine.stories.impl.ts +++ b/packages/frontend/src/components/global/MkCondensedLine.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import { StoryObj } from '@storybook/vue3'; diff --git a/packages/frontend/src/components/global/MkCondensedLine.vue b/packages/frontend/src/components/global/MkCondensedLine.vue index e5e2330919..ef1c931bc3 100644 --- a/packages/frontend/src/components/global/MkCondensedLine.vue +++ b/packages/frontend/src/components/global/MkCondensedLine.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/global/MkCustomEmoji.stories.impl.ts b/packages/frontend/src/components/global/MkCustomEmoji.stories.impl.ts index 7c12eb1178..f50217b70d 100644 --- a/packages/frontend/src/components/global/MkCustomEmoji.stories.impl.ts +++ b/packages/frontend/src/components/global/MkCustomEmoji.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import { StoryObj } from '@storybook/vue3'; diff --git a/packages/frontend/src/components/global/MkCustomEmoji.vue b/packages/frontend/src/components/global/MkCustomEmoji.vue index b045222f79..bef7c59d77 100644 --- a/packages/frontend/src/components/global/MkCustomEmoji.vue +++ b/packages/frontend/src/components/global/MkCustomEmoji.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/global/MkEllipsis.stories.impl.ts b/packages/frontend/src/components/global/MkEllipsis.stories.impl.ts index af0b507075..32deaae8e2 100644 --- a/packages/frontend/src/components/global/MkEllipsis.stories.impl.ts +++ b/packages/frontend/src/components/global/MkEllipsis.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import { StoryObj } from '@storybook/vue3'; diff --git a/packages/frontend/src/components/global/MkEllipsis.vue b/packages/frontend/src/components/global/MkEllipsis.vue index 2947054aa5..5cc07f7040 100644 --- a/packages/frontend/src/components/global/MkEllipsis.vue +++ b/packages/frontend/src/components/global/MkEllipsis.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/global/MkEmoji.stories.impl.ts b/packages/frontend/src/components/global/MkEmoji.stories.impl.ts index dc7c71cf99..c8beec7e8f 100644 --- a/packages/frontend/src/components/global/MkEmoji.stories.impl.ts +++ b/packages/frontend/src/components/global/MkEmoji.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import { StoryObj } from '@storybook/vue3'; diff --git a/packages/frontend/src/components/global/MkEmoji.vue b/packages/frontend/src/components/global/MkEmoji.vue index c191cc27e7..00550cd7bb 100644 --- a/packages/frontend/src/components/global/MkEmoji.vue +++ b/packages/frontend/src/components/global/MkEmoji.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/global/MkError.stories.impl.ts b/packages/frontend/src/components/global/MkError.stories.impl.ts index 0371ce7097..cf0a1dbb5f 100644 --- a/packages/frontend/src/components/global/MkError.stories.impl.ts +++ b/packages/frontend/src/components/global/MkError.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import { action } from '@storybook/addon-actions'; diff --git a/packages/frontend/src/components/global/MkError.stories.meta.ts b/packages/frontend/src/components/global/MkError.stories.meta.ts index a8af1a81ca..a3955c5786 100644 --- a/packages/frontend/src/components/global/MkError.stories.meta.ts +++ b/packages/frontend/src/components/global/MkError.stories.meta.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export const argTypes = { retry: { diff --git a/packages/frontend/src/components/global/MkError.vue b/packages/frontend/src/components/global/MkError.vue index e222d9814f..ade05febb2 100644 --- a/packages/frontend/src/components/global/MkError.vue +++ b/packages/frontend/src/components/global/MkError.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/global/MkLoading.stories.impl.ts b/packages/frontend/src/components/global/MkLoading.stories.impl.ts index 6c4394e278..9cedd68fd8 100644 --- a/packages/frontend/src/components/global/MkLoading.stories.impl.ts +++ b/packages/frontend/src/components/global/MkLoading.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import { StoryObj } from '@storybook/vue3'; diff --git a/packages/frontend/src/components/global/MkLoading.vue b/packages/frontend/src/components/global/MkLoading.vue index 22faef70ff..3f34e83f58 100644 --- a/packages/frontend/src/components/global/MkLoading.vue +++ b/packages/frontend/src/components/global/MkLoading.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/global/MkMisskeyFlavoredMarkdown.stories.impl.ts b/packages/frontend/src/components/global/MkMisskeyFlavoredMarkdown.stories.impl.ts index 855a204b6c..9d9febf693 100644 --- a/packages/frontend/src/components/global/MkMisskeyFlavoredMarkdown.stories.impl.ts +++ b/packages/frontend/src/components/global/MkMisskeyFlavoredMarkdown.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import { StoryObj } from '@storybook/vue3'; diff --git a/packages/frontend/src/components/global/MkMisskeyFlavoredMarkdown.ts b/packages/frontend/src/components/global/MkMisskeyFlavoredMarkdown.ts index bf94865758..567508d220 100644 --- a/packages/frontend/src/components/global/MkMisskeyFlavoredMarkdown.ts +++ b/packages/frontend/src/components/global/MkMisskeyFlavoredMarkdown.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { VNode, h } from 'vue'; import * as mfm from 'mfm-js'; diff --git a/packages/frontend/src/components/global/MkPageHeader.stories.impl.ts b/packages/frontend/src/components/global/MkPageHeader.stories.impl.ts index 6091080e36..d3fd1bdc08 100644 --- a/packages/frontend/src/components/global/MkPageHeader.stories.impl.ts +++ b/packages/frontend/src/components/global/MkPageHeader.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import { waitFor } from '@storybook/testing-library'; diff --git a/packages/frontend/src/components/global/MkPageHeader.tabs.stories.impl.ts b/packages/frontend/src/components/global/MkPageHeader.tabs.stories.impl.ts index a2d06f5173..130dde63af 100644 --- a/packages/frontend/src/components/global/MkPageHeader.tabs.stories.impl.ts +++ b/packages/frontend/src/components/global/MkPageHeader.tabs.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import MkPageHeader_tabs from './MkPageHeader.tabs.vue'; diff --git a/packages/frontend/src/components/global/MkPageHeader.tabs.vue b/packages/frontend/src/components/global/MkPageHeader.tabs.vue index 7afe3c772e..2fb3b99944 100644 --- a/packages/frontend/src/components/global/MkPageHeader.tabs.vue +++ b/packages/frontend/src/components/global/MkPageHeader.tabs.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/global/MkPageHeader.vue b/packages/frontend/src/components/global/MkPageHeader.vue index b80411d364..c29407f727 100644 --- a/packages/frontend/src/components/global/MkPageHeader.vue +++ b/packages/frontend/src/components/global/MkPageHeader.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/global/MkSpacer.vue b/packages/frontend/src/components/global/MkSpacer.vue index ec81d38e49..17e1846b0b 100644 --- a/packages/frontend/src/components/global/MkSpacer.vue +++ b/packages/frontend/src/components/global/MkSpacer.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/global/MkStickyContainer.stories.impl.ts b/packages/frontend/src/components/global/MkStickyContainer.stories.impl.ts index af5aca3c00..16c62ce03d 100644 --- a/packages/frontend/src/components/global/MkStickyContainer.stories.impl.ts +++ b/packages/frontend/src/components/global/MkStickyContainer.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import MkStickyContainer from './MkStickyContainer.vue'; diff --git a/packages/frontend/src/components/global/MkStickyContainer.vue b/packages/frontend/src/components/global/MkStickyContainer.vue index 0813d0816d..8e9bff11d1 100644 --- a/packages/frontend/src/components/global/MkStickyContainer.vue +++ b/packages/frontend/src/components/global/MkStickyContainer.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/global/MkTime.stories.impl.ts b/packages/frontend/src/components/global/MkTime.stories.impl.ts index 848ccbb02e..5105dc0cdc 100644 --- a/packages/frontend/src/components/global/MkTime.stories.impl.ts +++ b/packages/frontend/src/components/global/MkTime.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import { expect } from '@storybook/jest'; diff --git a/packages/frontend/src/components/global/MkTime.vue b/packages/frontend/src/components/global/MkTime.vue index 69667b69b0..4b91ba0f7a 100644 --- a/packages/frontend/src/components/global/MkTime.vue +++ b/packages/frontend/src/components/global/MkTime.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/global/MkUrl.stories.impl.ts b/packages/frontend/src/components/global/MkUrl.stories.impl.ts index 49d60b9930..84ac13f95a 100644 --- a/packages/frontend/src/components/global/MkUrl.stories.impl.ts +++ b/packages/frontend/src/components/global/MkUrl.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import { expect } from '@storybook/jest'; diff --git a/packages/frontend/src/components/global/MkUrl.vue b/packages/frontend/src/components/global/MkUrl.vue index 113a725645..6bcfe3e1a5 100644 --- a/packages/frontend/src/components/global/MkUrl.vue +++ b/packages/frontend/src/components/global/MkUrl.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/global/MkUserName.stories.impl.ts b/packages/frontend/src/components/global/MkUserName.stories.impl.ts index bcfbc3454b..8c24a4819f 100644 --- a/packages/frontend/src/components/global/MkUserName.stories.impl.ts +++ b/packages/frontend/src/components/global/MkUserName.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import { expect } from '@storybook/jest'; diff --git a/packages/frontend/src/components/global/MkUserName.vue b/packages/frontend/src/components/global/MkUserName.vue index ceabb02e41..6cabb8e681 100644 --- a/packages/frontend/src/components/global/MkUserName.vue +++ b/packages/frontend/src/components/global/MkUserName.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/global/RouterView.stories.impl.ts b/packages/frontend/src/components/global/RouterView.stories.impl.ts index 439184255c..2fe4c53e78 100644 --- a/packages/frontend/src/components/global/RouterView.stories.impl.ts +++ b/packages/frontend/src/components/global/RouterView.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import RouterView from './RouterView.vue'; diff --git a/packages/frontend/src/components/global/RouterView.vue b/packages/frontend/src/components/global/RouterView.vue index e71a924b22..5a4679f69f 100644 --- a/packages/frontend/src/components/global/RouterView.vue +++ b/packages/frontend/src/components/global/RouterView.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/global/i18n.ts b/packages/frontend/src/components/global/i18n.ts index f47bf7d240..2f4d7edabd 100644 --- a/packages/frontend/src/components/global/i18n.ts +++ b/packages/frontend/src/components/global/i18n.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { h } from 'vue'; diff --git a/packages/frontend/src/components/index.ts b/packages/frontend/src/components/index.ts index 4e4e46eebb..48af4754d7 100644 --- a/packages/frontend/src/components/index.ts +++ b/packages/frontend/src/components/index.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { App } from 'vue'; diff --git a/packages/frontend/src/components/page/block.type.ts b/packages/frontend/src/components/page/block.type.ts index bff4891bd1..cdd39339e6 100644 --- a/packages/frontend/src/components/page/block.type.ts +++ b/packages/frontend/src/components/page/block.type.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export type BlockBase = { id: string; diff --git a/packages/frontend/src/components/page/page.block.vue b/packages/frontend/src/components/page/page.block.vue index 7fdf7a89b1..c039a1c7b7 100644 --- a/packages/frontend/src/components/page/page.block.vue +++ b/packages/frontend/src/components/page/page.block.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/page/page.image.vue b/packages/frontend/src/components/page/page.image.vue index d423fd5662..3d64171451 100644 --- a/packages/frontend/src/components/page/page.image.vue +++ b/packages/frontend/src/components/page/page.image.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/page/page.note.vue b/packages/frontend/src/components/page/page.note.vue index 462ec2628f..82ffcfc867 100644 --- a/packages/frontend/src/components/page/page.note.vue +++ b/packages/frontend/src/components/page/page.note.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/page/page.section.vue b/packages/frontend/src/components/page/page.section.vue index 92b941c202..84d0399cf8 100644 --- a/packages/frontend/src/components/page/page.section.vue +++ b/packages/frontend/src/components/page/page.section.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/page/page.text.vue b/packages/frontend/src/components/page/page.text.vue index 9ce6a7af69..9cb32acb81 100644 --- a/packages/frontend/src/components/page/page.text.vue +++ b/packages/frontend/src/components/page/page.text.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/components/page/page.vue b/packages/frontend/src/components/page/page.vue index 0922030942..265ee7146d 100644 --- a/packages/frontend/src/components/page/page.vue +++ b/packages/frontend/src/components/page/page.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/config.ts b/packages/frontend/src/config.ts index ad1f705715..9ce3f8fa15 100644 --- a/packages/frontend/src/config.ts +++ b/packages/frontend/src/config.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { miLocalStorage } from './local-storage'; diff --git a/packages/frontend/src/const.ts b/packages/frontend/src/const.ts index 06f6cfe44e..19bad95c87 100644 --- a/packages/frontend/src/const.ts +++ b/packages/frontend/src/const.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ // ブラウザで直接表示することを許可するファイルの種類のリスト // ここに含まれないものは application/octet-stream としてレスポンスされる diff --git a/packages/frontend/src/custom-emojis.ts b/packages/frontend/src/custom-emojis.ts index c5e044be38..771f21c5b4 100644 --- a/packages/frontend/src/custom-emojis.ts +++ b/packages/frontend/src/custom-emojis.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { shallowRef, computed, markRaw, watch } from 'vue'; import * as Misskey from 'misskey-js'; diff --git a/packages/frontend/src/debug.ts b/packages/frontend/src/debug.ts index 4ea8b88825..6df65bb763 100644 --- a/packages/frontend/src/debug.ts +++ b/packages/frontend/src/debug.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { type ComponentInternalInstance, getCurrentInstance } from 'vue'; diff --git a/packages/frontend/src/directives/adaptive-bg.ts b/packages/frontend/src/directives/adaptive-bg.ts index 77ee461abb..dd9691d9e2 100644 --- a/packages/frontend/src/directives/adaptive-bg.ts +++ b/packages/frontend/src/directives/adaptive-bg.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Directive } from 'vue'; diff --git a/packages/frontend/src/directives/adaptive-border.ts b/packages/frontend/src/directives/adaptive-border.ts index dc5fe4ad9e..220cf4b9a6 100644 --- a/packages/frontend/src/directives/adaptive-border.ts +++ b/packages/frontend/src/directives/adaptive-border.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Directive } from 'vue'; diff --git a/packages/frontend/src/directives/anim.ts b/packages/frontend/src/directives/anim.ts index b208600674..cf49799ef5 100644 --- a/packages/frontend/src/directives/anim.ts +++ b/packages/frontend/src/directives/anim.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Directive } from 'vue'; diff --git a/packages/frontend/src/directives/appear.ts b/packages/frontend/src/directives/appear.ts index 25d4c3ca3c..3fcff4d978 100644 --- a/packages/frontend/src/directives/appear.ts +++ b/packages/frontend/src/directives/appear.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Directive } from 'vue'; diff --git a/packages/frontend/src/directives/click-anime.ts b/packages/frontend/src/directives/click-anime.ts index 331de64c4e..f9c1fb4d21 100644 --- a/packages/frontend/src/directives/click-anime.ts +++ b/packages/frontend/src/directives/click-anime.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Directive } from 'vue'; import { defaultStore } from '@/store'; diff --git a/packages/frontend/src/directives/follow-append.ts b/packages/frontend/src/directives/follow-append.ts index dfe797bc27..1da28c718f 100644 --- a/packages/frontend/src/directives/follow-append.ts +++ b/packages/frontend/src/directives/follow-append.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Directive } from 'vue'; import { getScrollContainer, getScrollPosition } from '@/scripts/scroll'; diff --git a/packages/frontend/src/directives/get-size.ts b/packages/frontend/src/directives/get-size.ts index 5f6aba37af..56ff64035f 100644 --- a/packages/frontend/src/directives/get-size.ts +++ b/packages/frontend/src/directives/get-size.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Directive } from 'vue'; diff --git a/packages/frontend/src/directives/hotkey.ts b/packages/frontend/src/directives/hotkey.ts index 866981e9be..85f06c098d 100644 --- a/packages/frontend/src/directives/hotkey.ts +++ b/packages/frontend/src/directives/hotkey.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Directive } from 'vue'; import { makeHotkey } from '../scripts/hotkey'; diff --git a/packages/frontend/src/directives/index.ts b/packages/frontend/src/directives/index.ts index 194773420e..fad6960948 100644 --- a/packages/frontend/src/directives/index.ts +++ b/packages/frontend/src/directives/index.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { App } from 'vue'; diff --git a/packages/frontend/src/directives/panel.ts b/packages/frontend/src/directives/panel.ts index 9f75ad3922..4916fcbd8d 100644 --- a/packages/frontend/src/directives/panel.ts +++ b/packages/frontend/src/directives/panel.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Directive } from 'vue'; diff --git a/packages/frontend/src/directives/ripple.ts b/packages/frontend/src/directives/ripple.ts index 109df10ed0..4a11fbd406 100644 --- a/packages/frontend/src/directives/ripple.ts +++ b/packages/frontend/src/directives/ripple.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import MkRippleEffect from '@/components/MkRippleEffect.vue'; import { popup } from '@/os'; diff --git a/packages/frontend/src/directives/tooltip.ts b/packages/frontend/src/directives/tooltip.ts index c510517c21..f0e3cdabe4 100644 --- a/packages/frontend/src/directives/tooltip.ts +++ b/packages/frontend/src/directives/tooltip.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ // TODO: useTooltip関数使うようにしたい // ただディレクティブ内でonUnmountedなどのcomposition api使えるのか不明 diff --git a/packages/frontend/src/directives/user-preview.ts b/packages/frontend/src/directives/user-preview.ts index 022b8a9420..5fd65b0587 100644 --- a/packages/frontend/src/directives/user-preview.ts +++ b/packages/frontend/src/directives/user-preview.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { defineAsyncComponent, Directive, ref } from 'vue'; import { popup } from '@/os'; diff --git a/packages/frontend/src/events.ts b/packages/frontend/src/events.ts index f88862d82b..90d5f6eede 100644 --- a/packages/frontend/src/events.ts +++ b/packages/frontend/src/events.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { EventEmitter } from 'eventemitter3'; diff --git a/packages/frontend/src/filters/bytes.ts b/packages/frontend/src/filters/bytes.ts index 654e252113..d40b020a9e 100644 --- a/packages/frontend/src/filters/bytes.ts +++ b/packages/frontend/src/filters/bytes.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export default (v, digits = 0) => { if (v == null) return '?'; diff --git a/packages/frontend/src/filters/date.ts b/packages/frontend/src/filters/date.ts index 730eb22ec8..1d878e2970 100644 --- a/packages/frontend/src/filters/date.ts +++ b/packages/frontend/src/filters/date.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { dateTimeFormat } from '@/scripts/intl-const'; diff --git a/packages/frontend/src/filters/note.ts b/packages/frontend/src/filters/note.ts index 89ce718385..626d03a096 100644 --- a/packages/frontend/src/filters/note.ts +++ b/packages/frontend/src/filters/note.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export const notePage = note => { return `/notes/${note.id}`; diff --git a/packages/frontend/src/filters/number.ts b/packages/frontend/src/filters/number.ts index 1f0c25c739..6e0fde15b0 100644 --- a/packages/frontend/src/filters/number.ts +++ b/packages/frontend/src/filters/number.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { numberFormat } from '@/scripts/intl-const'; diff --git a/packages/frontend/src/filters/user.ts b/packages/frontend/src/filters/user.ts index 102ec4c074..e0f1d3b783 100644 --- a/packages/frontend/src/filters/user.ts +++ b/packages/frontend/src/filters/user.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as misskey from 'misskey-js'; import * as Acct from 'misskey-js/built/acct'; diff --git a/packages/frontend/src/i18n.ts b/packages/frontend/src/i18n.ts index 8c87c8ca95..995171b10c 100644 --- a/packages/frontend/src/i18n.ts +++ b/packages/frontend/src/i18n.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { markRaw } from 'vue'; import type { Locale } from '../../../locales'; diff --git a/packages/frontend/src/instance.ts b/packages/frontend/src/instance.ts index a6419817f0..83ec917594 100644 --- a/packages/frontend/src/instance.ts +++ b/packages/frontend/src/instance.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { computed, reactive } from 'vue'; import * as Misskey from 'misskey-js'; diff --git a/packages/frontend/src/local-storage.ts b/packages/frontend/src/local-storage.ts index 54caf918c3..d9dce28599 100644 --- a/packages/frontend/src/local-storage.ts +++ b/packages/frontend/src/local-storage.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ type Keys = 'v' | diff --git a/packages/frontend/src/navbar.ts b/packages/frontend/src/navbar.ts index e943a1193a..4719678fcc 100644 --- a/packages/frontend/src/navbar.ts +++ b/packages/frontend/src/navbar.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { computed, reactive } from 'vue'; import { $i } from './account'; diff --git a/packages/frontend/src/nirax.ts b/packages/frontend/src/nirax.ts index 0f5915af57..66ae39fa56 100644 --- a/packages/frontend/src/nirax.ts +++ b/packages/frontend/src/nirax.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ // NIRAX --- A lightweight router diff --git a/packages/frontend/src/os.ts b/packages/frontend/src/os.ts index 2d258f2a93..2e80e3d8df 100644 --- a/packages/frontend/src/os.ts +++ b/packages/frontend/src/os.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ // TODO: なんでもかんでもos.tsに突っ込むのやめたいのでよしなに分割する diff --git a/packages/frontend/src/pages/_empty_.vue b/packages/frontend/src/pages/_empty_.vue index f7cf12bcf5..9403d862c2 100644 --- a/packages/frontend/src/pages/_empty_.vue +++ b/packages/frontend/src/pages/_empty_.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/_error_.vue b/packages/frontend/src/pages/_error_.vue index f1437a5158..3031fb2357 100644 --- a/packages/frontend/src/pages/_error_.vue +++ b/packages/frontend/src/pages/_error_.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/_loading_.vue b/packages/frontend/src/pages/_loading_.vue index d66d45b21d..9f3c9fd355 100644 --- a/packages/frontend/src/pages/_loading_.vue +++ b/packages/frontend/src/pages/_loading_.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/about-misskey.vue b/packages/frontend/src/pages/about-misskey.vue index 042dcc2897..3c123c9fde 100644 --- a/packages/frontend/src/pages/about-misskey.vue +++ b/packages/frontend/src/pages/about-misskey.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/about.emojis.vue b/packages/frontend/src/pages/about.emojis.vue index 62d57d467a..d014a6eb7d 100644 --- a/packages/frontend/src/pages/about.emojis.vue +++ b/packages/frontend/src/pages/about.emojis.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/about.federation.vue b/packages/frontend/src/pages/about.federation.vue index 2f5485936b..1798d7525e 100644 --- a/packages/frontend/src/pages/about.federation.vue +++ b/packages/frontend/src/pages/about.federation.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/about.vue b/packages/frontend/src/pages/about.vue index 83c8ab186e..0ff9463841 100644 --- a/packages/frontend/src/pages/about.vue +++ b/packages/frontend/src/pages/about.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/achievements.vue b/packages/frontend/src/pages/achievements.vue index decb39be62..8f557e3878 100644 --- a/packages/frontend/src/pages/achievements.vue +++ b/packages/frontend/src/pages/achievements.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin-file.vue b/packages/frontend/src/pages/admin-file.vue index 57e3354c1a..2614b20c28 100644 --- a/packages/frontend/src/pages/admin-file.vue +++ b/packages/frontend/src/pages/admin-file.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/RolesEditorFormula.vue b/packages/frontend/src/pages/admin/RolesEditorFormula.vue index 8f80b00da7..87d0d276ee 100644 --- a/packages/frontend/src/pages/admin/RolesEditorFormula.vue +++ b/packages/frontend/src/pages/admin/RolesEditorFormula.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/_header_.vue b/packages/frontend/src/pages/admin/_header_.vue index 47e77e2441..93aead5484 100644 --- a/packages/frontend/src/pages/admin/_header_.vue +++ b/packages/frontend/src/pages/admin/_header_.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/abuses.vue b/packages/frontend/src/pages/admin/abuses.vue index 42912bbc5a..959341ee64 100644 --- a/packages/frontend/src/pages/admin/abuses.vue +++ b/packages/frontend/src/pages/admin/abuses.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/ads.vue b/packages/frontend/src/pages/admin/ads.vue index 3744ab2efe..74cc9ef54b 100644 --- a/packages/frontend/src/pages/admin/ads.vue +++ b/packages/frontend/src/pages/admin/ads.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/announcements.vue b/packages/frontend/src/pages/admin/announcements.vue index 8e25f52c26..2e80d028f7 100644 --- a/packages/frontend/src/pages/admin/announcements.vue +++ b/packages/frontend/src/pages/admin/announcements.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/bot-protection.vue b/packages/frontend/src/pages/admin/bot-protection.vue index b34fea9ae8..c26bfa1004 100644 --- a/packages/frontend/src/pages/admin/bot-protection.vue +++ b/packages/frontend/src/pages/admin/bot-protection.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/branding.vue b/packages/frontend/src/pages/admin/branding.vue index 631760ba49..cc331ebe0e 100644 --- a/packages/frontend/src/pages/admin/branding.vue +++ b/packages/frontend/src/pages/admin/branding.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/database.vue b/packages/frontend/src/pages/admin/database.vue index ebf839f804..8c38a62518 100644 --- a/packages/frontend/src/pages/admin/database.vue +++ b/packages/frontend/src/pages/admin/database.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/email-settings.vue b/packages/frontend/src/pages/admin/email-settings.vue index ac504bc5b7..8c19178a97 100644 --- a/packages/frontend/src/pages/admin/email-settings.vue +++ b/packages/frontend/src/pages/admin/email-settings.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/federation.vue b/packages/frontend/src/pages/admin/federation.vue index 7c94895bd8..7b92345bf0 100644 --- a/packages/frontend/src/pages/admin/federation.vue +++ b/packages/frontend/src/pages/admin/federation.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/files.vue b/packages/frontend/src/pages/admin/files.vue index 4649f14bde..3436a3937b 100644 --- a/packages/frontend/src/pages/admin/files.vue +++ b/packages/frontend/src/pages/admin/files.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/index.vue b/packages/frontend/src/pages/admin/index.vue index ecf69ec6c6..5bd6fce814 100644 --- a/packages/frontend/src/pages/admin/index.vue +++ b/packages/frontend/src/pages/admin/index.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/instance-block.vue b/packages/frontend/src/pages/admin/instance-block.vue index 3da3e40c02..b868b48bd8 100644 --- a/packages/frontend/src/pages/admin/instance-block.vue +++ b/packages/frontend/src/pages/admin/instance-block.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/invites.vue b/packages/frontend/src/pages/admin/invites.vue index 48b4db41e1..95f1c3b0ff 100644 --- a/packages/frontend/src/pages/admin/invites.vue +++ b/packages/frontend/src/pages/admin/invites.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/moderation.vue b/packages/frontend/src/pages/admin/moderation.vue index 0f49603a4f..313d8412b2 100644 --- a/packages/frontend/src/pages/admin/moderation.vue +++ b/packages/frontend/src/pages/admin/moderation.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/object-storage.vue b/packages/frontend/src/pages/admin/object-storage.vue index 6a612bba24..6ebf3f738f 100644 --- a/packages/frontend/src/pages/admin/object-storage.vue +++ b/packages/frontend/src/pages/admin/object-storage.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/other-settings.vue b/packages/frontend/src/pages/admin/other-settings.vue index 8db995505a..7a4d3831a0 100644 --- a/packages/frontend/src/pages/admin/other-settings.vue +++ b/packages/frontend/src/pages/admin/other-settings.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/overview.active-users.vue b/packages/frontend/src/pages/admin/overview.active-users.vue index 3c9757f8c5..d15e4651d7 100644 --- a/packages/frontend/src/pages/admin/overview.active-users.vue +++ b/packages/frontend/src/pages/admin/overview.active-users.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/overview.ap-requests.vue b/packages/frontend/src/pages/admin/overview.ap-requests.vue index 3860594e39..d3e0267094 100644 --- a/packages/frontend/src/pages/admin/overview.ap-requests.vue +++ b/packages/frontend/src/pages/admin/overview.ap-requests.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/overview.federation.vue b/packages/frontend/src/pages/admin/overview.federation.vue index 2756e16b1f..afb4b7f873 100644 --- a/packages/frontend/src/pages/admin/overview.federation.vue +++ b/packages/frontend/src/pages/admin/overview.federation.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/overview.heatmap.vue b/packages/frontend/src/pages/admin/overview.heatmap.vue index 6c456b3f82..4d09f183bf 100644 --- a/packages/frontend/src/pages/admin/overview.heatmap.vue +++ b/packages/frontend/src/pages/admin/overview.heatmap.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/overview.instances.vue b/packages/frontend/src/pages/admin/overview.instances.vue index 154fcef702..a493bd54b4 100644 --- a/packages/frontend/src/pages/admin/overview.instances.vue +++ b/packages/frontend/src/pages/admin/overview.instances.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/overview.moderators.vue b/packages/frontend/src/pages/admin/overview.moderators.vue index c2cc6c1ca2..6ed2e6d237 100644 --- a/packages/frontend/src/pages/admin/overview.moderators.vue +++ b/packages/frontend/src/pages/admin/overview.moderators.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/overview.pie.vue b/packages/frontend/src/pages/admin/overview.pie.vue index 88c4931402..b9c17dd616 100644 --- a/packages/frontend/src/pages/admin/overview.pie.vue +++ b/packages/frontend/src/pages/admin/overview.pie.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/overview.queue.chart.vue b/packages/frontend/src/pages/admin/overview.queue.chart.vue index 7fe1816f2b..8dfbc39ecd 100644 --- a/packages/frontend/src/pages/admin/overview.queue.chart.vue +++ b/packages/frontend/src/pages/admin/overview.queue.chart.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/overview.queue.vue b/packages/frontend/src/pages/admin/overview.queue.vue index 7831ecb3d7..79823c8c81 100644 --- a/packages/frontend/src/pages/admin/overview.queue.vue +++ b/packages/frontend/src/pages/admin/overview.queue.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/overview.retention.vue b/packages/frontend/src/pages/admin/overview.retention.vue index becde97eb4..514db663ab 100644 --- a/packages/frontend/src/pages/admin/overview.retention.vue +++ b/packages/frontend/src/pages/admin/overview.retention.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/overview.stats.vue b/packages/frontend/src/pages/admin/overview.stats.vue index 851d3a806e..c543f16740 100644 --- a/packages/frontend/src/pages/admin/overview.stats.vue +++ b/packages/frontend/src/pages/admin/overview.stats.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/overview.users.vue b/packages/frontend/src/pages/admin/overview.users.vue index 607524f520..6535fac720 100644 --- a/packages/frontend/src/pages/admin/overview.users.vue +++ b/packages/frontend/src/pages/admin/overview.users.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/overview.vue b/packages/frontend/src/pages/admin/overview.vue index 625310a4bf..6b63f868b7 100644 --- a/packages/frontend/src/pages/admin/overview.vue +++ b/packages/frontend/src/pages/admin/overview.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/proxy-account.vue b/packages/frontend/src/pages/admin/proxy-account.vue index 1461b22a6c..61aa5a4405 100644 --- a/packages/frontend/src/pages/admin/proxy-account.vue +++ b/packages/frontend/src/pages/admin/proxy-account.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/queue.chart.chart.vue b/packages/frontend/src/pages/admin/queue.chart.chart.vue index 563e4fb780..cc9bc65aa3 100644 --- a/packages/frontend/src/pages/admin/queue.chart.chart.vue +++ b/packages/frontend/src/pages/admin/queue.chart.chart.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/queue.chart.vue b/packages/frontend/src/pages/admin/queue.chart.vue index 5f96feeba3..07127db2d4 100644 --- a/packages/frontend/src/pages/admin/queue.chart.vue +++ b/packages/frontend/src/pages/admin/queue.chart.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/queue.vue b/packages/frontend/src/pages/admin/queue.vue index c65e419fef..f5f37c0338 100644 --- a/packages/frontend/src/pages/admin/queue.vue +++ b/packages/frontend/src/pages/admin/queue.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/relays.vue b/packages/frontend/src/pages/admin/relays.vue index aad81dd106..ad822f4c61 100644 --- a/packages/frontend/src/pages/admin/relays.vue +++ b/packages/frontend/src/pages/admin/relays.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/roles.edit.vue b/packages/frontend/src/pages/admin/roles.edit.vue index 23761326aa..f901236511 100644 --- a/packages/frontend/src/pages/admin/roles.edit.vue +++ b/packages/frontend/src/pages/admin/roles.edit.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/roles.editor.vue b/packages/frontend/src/pages/admin/roles.editor.vue index 8cfed4b3ac..68d2fe07d5 100644 --- a/packages/frontend/src/pages/admin/roles.editor.vue +++ b/packages/frontend/src/pages/admin/roles.editor.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/roles.role.vue b/packages/frontend/src/pages/admin/roles.role.vue index 89a008983a..78513beee0 100644 --- a/packages/frontend/src/pages/admin/roles.role.vue +++ b/packages/frontend/src/pages/admin/roles.role.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/roles.vue b/packages/frontend/src/pages/admin/roles.vue index 7dfa000496..4ac3cdc69b 100644 --- a/packages/frontend/src/pages/admin/roles.vue +++ b/packages/frontend/src/pages/admin/roles.vue @@ -1,6 +1,5 @@ @@ -63,7 +62,7 @@ SPDX-License-Identifier: AGPL-3.0-only - + diff --git a/packages/frontend/src/pages/admin/security.vue b/packages/frontend/src/pages/admin/security.vue index 32e19380a8..94d9bf1c19 100644 --- a/packages/frontend/src/pages/admin/security.vue +++ b/packages/frontend/src/pages/admin/security.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/server-rules.vue b/packages/frontend/src/pages/admin/server-rules.vue index 923a006327..85961a0886 100644 --- a/packages/frontend/src/pages/admin/server-rules.vue +++ b/packages/frontend/src/pages/admin/server-rules.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/settings.vue b/packages/frontend/src/pages/admin/settings.vue index 18c5e5761a..81ef32ac06 100644 --- a/packages/frontend/src/pages/admin/settings.vue +++ b/packages/frontend/src/pages/admin/settings.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/admin/users.vue b/packages/frontend/src/pages/admin/users.vue index ab653ae10c..f62ab47033 100644 --- a/packages/frontend/src/pages/admin/users.vue +++ b/packages/frontend/src/pages/admin/users.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/ads.vue b/packages/frontend/src/pages/ads.vue index 4857a51bd7..18bd202ef2 100644 --- a/packages/frontend/src/pages/ads.vue +++ b/packages/frontend/src/pages/ads.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/announcements.vue b/packages/frontend/src/pages/announcements.vue index 1e9bab197c..c04db7c4b5 100644 --- a/packages/frontend/src/pages/announcements.vue +++ b/packages/frontend/src/pages/announcements.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/antenna-timeline.vue b/packages/frontend/src/pages/antenna-timeline.vue index def9b4cbf1..f410e78e06 100644 --- a/packages/frontend/src/pages/antenna-timeline.vue +++ b/packages/frontend/src/pages/antenna-timeline.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/api-console.vue b/packages/frontend/src/pages/api-console.vue index c88355f364..b5476b8217 100644 --- a/packages/frontend/src/pages/api-console.vue +++ b/packages/frontend/src/pages/api-console.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/auth.form.vue b/packages/frontend/src/pages/auth.form.vue index d7bd3f9c87..05d89b9fdb 100644 --- a/packages/frontend/src/pages/auth.form.vue +++ b/packages/frontend/src/pages/auth.form.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/auth.vue b/packages/frontend/src/pages/auth.vue index 12983628db..2cc396fc24 100644 --- a/packages/frontend/src/pages/auth.vue +++ b/packages/frontend/src/pages/auth.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/channel-editor.vue b/packages/frontend/src/pages/channel-editor.vue index eab40da6d9..fbf589f244 100644 --- a/packages/frontend/src/pages/channel-editor.vue +++ b/packages/frontend/src/pages/channel-editor.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/channel.vue b/packages/frontend/src/pages/channel.vue index 6997514f8a..5049b6ba2b 100644 --- a/packages/frontend/src/pages/channel.vue +++ b/packages/frontend/src/pages/channel.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/channels.vue b/packages/frontend/src/pages/channels.vue index f86b3ae0cb..8523cacebe 100644 --- a/packages/frontend/src/pages/channels.vue +++ b/packages/frontend/src/pages/channels.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/clicker.vue b/packages/frontend/src/pages/clicker.vue index 943d61da06..9f9e021e6e 100644 --- a/packages/frontend/src/pages/clicker.vue +++ b/packages/frontend/src/pages/clicker.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/clip.vue b/packages/frontend/src/pages/clip.vue index 5cace08815..9ddab8bae4 100644 --- a/packages/frontend/src/pages/clip.vue +++ b/packages/frontend/src/pages/clip.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/custom-emojis-manager.vue b/packages/frontend/src/pages/custom-emojis-manager.vue index 5815fd8580..61f82f7b04 100644 --- a/packages/frontend/src/pages/custom-emojis-manager.vue +++ b/packages/frontend/src/pages/custom-emojis-manager.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/drive.vue b/packages/frontend/src/pages/drive.vue index ec55d5c3b4..b7d2c380d2 100644 --- a/packages/frontend/src/pages/drive.vue +++ b/packages/frontend/src/pages/drive.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/emoji-edit-dialog.vue b/packages/frontend/src/pages/emoji-edit-dialog.vue index 5bc2915807..19c63f8000 100644 --- a/packages/frontend/src/pages/emoji-edit-dialog.vue +++ b/packages/frontend/src/pages/emoji-edit-dialog.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/emojis.emoji.vue b/packages/frontend/src/pages/emojis.emoji.vue index f9b53060de..22063b0d4a 100644 --- a/packages/frontend/src/pages/emojis.emoji.vue +++ b/packages/frontend/src/pages/emojis.emoji.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/explore.featured.vue b/packages/frontend/src/pages/explore.featured.vue index 1fadfe1c87..89daa112b3 100644 --- a/packages/frontend/src/pages/explore.featured.vue +++ b/packages/frontend/src/pages/explore.featured.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/explore.roles.vue b/packages/frontend/src/pages/explore.roles.vue index 2bfb87edb8..21d12c6e02 100644 --- a/packages/frontend/src/pages/explore.roles.vue +++ b/packages/frontend/src/pages/explore.roles.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/explore.users.vue b/packages/frontend/src/pages/explore.users.vue index 0a2ccc7f59..c360c43fd8 100644 --- a/packages/frontend/src/pages/explore.users.vue +++ b/packages/frontend/src/pages/explore.users.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/explore.vue b/packages/frontend/src/pages/explore.vue index ef66893d51..54341a41a7 100644 --- a/packages/frontend/src/pages/explore.vue +++ b/packages/frontend/src/pages/explore.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/favorites.vue b/packages/frontend/src/pages/favorites.vue index 7acf184500..4f1247f0fa 100644 --- a/packages/frontend/src/pages/favorites.vue +++ b/packages/frontend/src/pages/favorites.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/flash/flash-edit.vue b/packages/frontend/src/pages/flash/flash-edit.vue index 85dfcb4c03..fecf6edd0c 100644 --- a/packages/frontend/src/pages/flash/flash-edit.vue +++ b/packages/frontend/src/pages/flash/flash-edit.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/flash/flash-index.vue b/packages/frontend/src/pages/flash/flash-index.vue index f19c40a822..fac07a47dd 100644 --- a/packages/frontend/src/pages/flash/flash-index.vue +++ b/packages/frontend/src/pages/flash/flash-index.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/flash/flash.vue b/packages/frontend/src/pages/flash/flash.vue index 0f862551ea..60c5690337 100644 --- a/packages/frontend/src/pages/flash/flash.vue +++ b/packages/frontend/src/pages/flash/flash.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/follow-requests.vue b/packages/frontend/src/pages/follow-requests.vue index 54b0a84383..fffcba385d 100644 --- a/packages/frontend/src/pages/follow-requests.vue +++ b/packages/frontend/src/pages/follow-requests.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/follow.vue b/packages/frontend/src/pages/follow.vue index 13c33f6857..de3b4a57ac 100644 --- a/packages/frontend/src/pages/follow.vue +++ b/packages/frontend/src/pages/follow.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/gallery/edit.vue b/packages/frontend/src/pages/gallery/edit.vue index 13ce762f3b..a36140ea73 100644 --- a/packages/frontend/src/pages/gallery/edit.vue +++ b/packages/frontend/src/pages/gallery/edit.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/gallery/index.vue b/packages/frontend/src/pages/gallery/index.vue index b466ead7c8..e7c4ae88b5 100644 --- a/packages/frontend/src/pages/gallery/index.vue +++ b/packages/frontend/src/pages/gallery/index.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/gallery/post.vue b/packages/frontend/src/pages/gallery/post.vue index 15ac7ec49f..586cca1852 100644 --- a/packages/frontend/src/pages/gallery/post.vue +++ b/packages/frontend/src/pages/gallery/post.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/instance-info.vue b/packages/frontend/src/pages/instance-info.vue index c854a9cfa3..54f2cd7def 100644 --- a/packages/frontend/src/pages/instance-info.vue +++ b/packages/frontend/src/pages/instance-info.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/invite.vue b/packages/frontend/src/pages/invite.vue index c2775dad3c..834cc1d5bc 100644 --- a/packages/frontend/src/pages/invite.vue +++ b/packages/frontend/src/pages/invite.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/list.vue b/packages/frontend/src/pages/list.vue index 3e72dc037f..1c26566455 100644 --- a/packages/frontend/src/pages/list.vue +++ b/packages/frontend/src/pages/list.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/miauth.vue b/packages/frontend/src/pages/miauth.vue index 497feaba1e..4df40db917 100644 --- a/packages/frontend/src/pages/miauth.vue +++ b/packages/frontend/src/pages/miauth.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/my-antennas/create.vue b/packages/frontend/src/pages/my-antennas/create.vue index 98fbd815d3..11e231ab70 100644 --- a/packages/frontend/src/pages/my-antennas/create.vue +++ b/packages/frontend/src/pages/my-antennas/create.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/my-antennas/edit.vue b/packages/frontend/src/pages/my-antennas/edit.vue index 57cd8269fe..c3b74e573d 100644 --- a/packages/frontend/src/pages/my-antennas/edit.vue +++ b/packages/frontend/src/pages/my-antennas/edit.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/my-antennas/editor.vue b/packages/frontend/src/pages/my-antennas/editor.vue index b48024a290..1b9ca93a7e 100644 --- a/packages/frontend/src/pages/my-antennas/editor.vue +++ b/packages/frontend/src/pages/my-antennas/editor.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/my-antennas/index.vue b/packages/frontend/src/pages/my-antennas/index.vue index d68df2a5ff..bd7af2213d 100644 --- a/packages/frontend/src/pages/my-antennas/index.vue +++ b/packages/frontend/src/pages/my-antennas/index.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/my-clips/index.vue b/packages/frontend/src/pages/my-clips/index.vue index 959f945c33..5e7b1ac8a3 100644 --- a/packages/frontend/src/pages/my-clips/index.vue +++ b/packages/frontend/src/pages/my-clips/index.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/my-lists/index.vue b/packages/frontend/src/pages/my-lists/index.vue index 9e9dbb7033..edfff8b05e 100644 --- a/packages/frontend/src/pages/my-lists/index.vue +++ b/packages/frontend/src/pages/my-lists/index.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/my-lists/list.vue b/packages/frontend/src/pages/my-lists/list.vue index d4511a4d25..bc80994b42 100644 --- a/packages/frontend/src/pages/my-lists/list.vue +++ b/packages/frontend/src/pages/my-lists/list.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/not-found.vue b/packages/frontend/src/pages/not-found.vue index 21b1063d92..312729476d 100644 --- a/packages/frontend/src/pages/not-found.vue +++ b/packages/frontend/src/pages/not-found.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/note.vue b/packages/frontend/src/pages/note.vue index 67a46f99e0..fb19783f3d 100644 --- a/packages/frontend/src/pages/note.vue +++ b/packages/frontend/src/pages/note.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/notifications.vue b/packages/frontend/src/pages/notifications.vue index 8e95126619..e3f94d1e0d 100644 --- a/packages/frontend/src/pages/notifications.vue +++ b/packages/frontend/src/pages/notifications.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/page-editor/els/page-editor.el.image.vue b/packages/frontend/src/pages/page-editor/els/page-editor.el.image.vue index 7683238a3f..50d728d62c 100644 --- a/packages/frontend/src/pages/page-editor/els/page-editor.el.image.vue +++ b/packages/frontend/src/pages/page-editor/els/page-editor.el.image.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/page-editor/els/page-editor.el.note.vue b/packages/frontend/src/pages/page-editor/els/page-editor.el.note.vue index d97bcba9b1..18316acaf8 100644 --- a/packages/frontend/src/pages/page-editor/els/page-editor.el.note.vue +++ b/packages/frontend/src/pages/page-editor/els/page-editor.el.note.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/page-editor/els/page-editor.el.section.vue b/packages/frontend/src/pages/page-editor/els/page-editor.el.section.vue index 501d7122c4..044be39072 100644 --- a/packages/frontend/src/pages/page-editor/els/page-editor.el.section.vue +++ b/packages/frontend/src/pages/page-editor/els/page-editor.el.section.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/page-editor/els/page-editor.el.text.vue b/packages/frontend/src/pages/page-editor/els/page-editor.el.text.vue index d4745d0886..0d18b0d565 100644 --- a/packages/frontend/src/pages/page-editor/els/page-editor.el.text.vue +++ b/packages/frontend/src/pages/page-editor/els/page-editor.el.text.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/page-editor/page-editor.blocks.vue b/packages/frontend/src/pages/page-editor/page-editor.blocks.vue index 7441ac327b..2a52d7611e 100644 --- a/packages/frontend/src/pages/page-editor/page-editor.blocks.vue +++ b/packages/frontend/src/pages/page-editor/page-editor.blocks.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/page-editor/page-editor.container.vue b/packages/frontend/src/pages/page-editor/page-editor.container.vue index 46ed5e41ff..29c7235b99 100644 --- a/packages/frontend/src/pages/page-editor/page-editor.container.vue +++ b/packages/frontend/src/pages/page-editor/page-editor.container.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/page-editor/page-editor.vue b/packages/frontend/src/pages/page-editor/page-editor.vue index c003466a19..be0f7c9fde 100644 --- a/packages/frontend/src/pages/page-editor/page-editor.vue +++ b/packages/frontend/src/pages/page-editor/page-editor.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/page.vue b/packages/frontend/src/pages/page.vue index 9d7f902c0d..efd63bafce 100644 --- a/packages/frontend/src/pages/page.vue +++ b/packages/frontend/src/pages/page.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/pages.vue b/packages/frontend/src/pages/pages.vue index c4b975cbda..90c0fae689 100644 --- a/packages/frontend/src/pages/pages.vue +++ b/packages/frontend/src/pages/pages.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/registry.keys.vue b/packages/frontend/src/pages/registry.keys.vue index b4808fb625..46fabc08c0 100644 --- a/packages/frontend/src/pages/registry.keys.vue +++ b/packages/frontend/src/pages/registry.keys.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/registry.value.vue b/packages/frontend/src/pages/registry.value.vue index d971d65784..a8531fae30 100644 --- a/packages/frontend/src/pages/registry.value.vue +++ b/packages/frontend/src/pages/registry.value.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/registry.vue b/packages/frontend/src/pages/registry.vue index b2ec0429da..64afcead9a 100644 --- a/packages/frontend/src/pages/registry.vue +++ b/packages/frontend/src/pages/registry.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/reset-password.vue b/packages/frontend/src/pages/reset-password.vue index cafdcb30f5..8f42bc6949 100644 --- a/packages/frontend/src/pages/reset-password.vue +++ b/packages/frontend/src/pages/reset-password.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/role.vue b/packages/frontend/src/pages/role.vue index 6de9f5c6b9..8ad5d0c38f 100644 --- a/packages/frontend/src/pages/role.vue +++ b/packages/frontend/src/pages/role.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/scratchpad.vue b/packages/frontend/src/pages/scratchpad.vue index f4817d3d05..ec251c6640 100644 --- a/packages/frontend/src/pages/scratchpad.vue +++ b/packages/frontend/src/pages/scratchpad.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/search.note.vue b/packages/frontend/src/pages/search.note.vue index a0e5151058..799dac2096 100644 --- a/packages/frontend/src/pages/search.note.vue +++ b/packages/frontend/src/pages/search.note.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/search.user.vue b/packages/frontend/src/pages/search.user.vue index 56c72f7cbd..8a71ed00b7 100644 --- a/packages/frontend/src/pages/search.user.vue +++ b/packages/frontend/src/pages/search.user.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/search.vue b/packages/frontend/src/pages/search.vue index 9de62dd7aa..ab04120bbe 100644 --- a/packages/frontend/src/pages/search.vue +++ b/packages/frontend/src/pages/search.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/2fa.qrdialog.vue b/packages/frontend/src/pages/settings/2fa.qrdialog.vue index eddd86638c..245d3e79e8 100644 --- a/packages/frontend/src/pages/settings/2fa.qrdialog.vue +++ b/packages/frontend/src/pages/settings/2fa.qrdialog.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/2fa.vue b/packages/frontend/src/pages/settings/2fa.vue index 8bbcfb9920..d2998ceae7 100644 --- a/packages/frontend/src/pages/settings/2fa.vue +++ b/packages/frontend/src/pages/settings/2fa.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/accounts.vue b/packages/frontend/src/pages/settings/accounts.vue index 506199d22a..30afcc26de 100644 --- a/packages/frontend/src/pages/settings/accounts.vue +++ b/packages/frontend/src/pages/settings/accounts.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/api.vue b/packages/frontend/src/pages/settings/api.vue index 137ad17a02..e75435dd52 100644 --- a/packages/frontend/src/pages/settings/api.vue +++ b/packages/frontend/src/pages/settings/api.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/apps.vue b/packages/frontend/src/pages/settings/apps.vue index 918465d622..e112b8b641 100644 --- a/packages/frontend/src/pages/settings/apps.vue +++ b/packages/frontend/src/pages/settings/apps.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/custom-css.vue b/packages/frontend/src/pages/settings/custom-css.vue index fd2b788fff..154c952e84 100644 --- a/packages/frontend/src/pages/settings/custom-css.vue +++ b/packages/frontend/src/pages/settings/custom-css.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/deck.vue b/packages/frontend/src/pages/settings/deck.vue index 64bd9838bb..7e9a0d1b4c 100644 --- a/packages/frontend/src/pages/settings/deck.vue +++ b/packages/frontend/src/pages/settings/deck.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/drive-cleaner.vue b/packages/frontend/src/pages/settings/drive-cleaner.vue index 6798bb3926..171a797f79 100644 --- a/packages/frontend/src/pages/settings/drive-cleaner.vue +++ b/packages/frontend/src/pages/settings/drive-cleaner.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/drive.vue b/packages/frontend/src/pages/settings/drive.vue index ef57d3bb95..de502e8511 100644 --- a/packages/frontend/src/pages/settings/drive.vue +++ b/packages/frontend/src/pages/settings/drive.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/email.vue b/packages/frontend/src/pages/settings/email.vue index eedde6c60c..ec2851108a 100644 --- a/packages/frontend/src/pages/settings/email.vue +++ b/packages/frontend/src/pages/settings/email.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/general.vue b/packages/frontend/src/pages/settings/general.vue index d58966b657..3b39a5c00a 100644 --- a/packages/frontend/src/pages/settings/general.vue +++ b/packages/frontend/src/pages/settings/general.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/import-export.vue b/packages/frontend/src/pages/settings/import-export.vue index 1f5985dbe4..2db0333351 100644 --- a/packages/frontend/src/pages/settings/import-export.vue +++ b/packages/frontend/src/pages/settings/import-export.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/index.vue b/packages/frontend/src/pages/settings/index.vue index e6bdf8e02b..2cf6139606 100644 --- a/packages/frontend/src/pages/settings/index.vue +++ b/packages/frontend/src/pages/settings/index.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/instance-mute.vue b/packages/frontend/src/pages/settings/instance-mute.vue index 0e7ce12b02..19deadd64d 100644 --- a/packages/frontend/src/pages/settings/instance-mute.vue +++ b/packages/frontend/src/pages/settings/instance-mute.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/migration.vue b/packages/frontend/src/pages/settings/migration.vue index ba27b7cf45..3762326d6a 100644 --- a/packages/frontend/src/pages/settings/migration.vue +++ b/packages/frontend/src/pages/settings/migration.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/mute-block.vue b/packages/frontend/src/pages/settings/mute-block.vue index 8e08bc7fe5..dcfd8b1e2e 100644 --- a/packages/frontend/src/pages/settings/mute-block.vue +++ b/packages/frontend/src/pages/settings/mute-block.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/navbar.vue b/packages/frontend/src/pages/settings/navbar.vue index 698e515888..8dcca7e91c 100644 --- a/packages/frontend/src/pages/settings/navbar.vue +++ b/packages/frontend/src/pages/settings/navbar.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/notifications.vue b/packages/frontend/src/pages/settings/notifications.vue index ac3791943b..b9e4c58f79 100644 --- a/packages/frontend/src/pages/settings/notifications.vue +++ b/packages/frontend/src/pages/settings/notifications.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/other.vue b/packages/frontend/src/pages/settings/other.vue index d72863748f..44b12099c0 100644 --- a/packages/frontend/src/pages/settings/other.vue +++ b/packages/frontend/src/pages/settings/other.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/plugin.install.vue b/packages/frontend/src/pages/settings/plugin.install.vue index 55acdb8e6d..dd070dcb1d 100644 --- a/packages/frontend/src/pages/settings/plugin.install.vue +++ b/packages/frontend/src/pages/settings/plugin.install.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/plugin.vue b/packages/frontend/src/pages/settings/plugin.vue index e325259d32..015d2f877d 100644 --- a/packages/frontend/src/pages/settings/plugin.vue +++ b/packages/frontend/src/pages/settings/plugin.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/preferences-backups.vue b/packages/frontend/src/pages/settings/preferences-backups.vue index 44a7468fb4..eb33cbd3a4 100644 --- a/packages/frontend/src/pages/settings/preferences-backups.vue +++ b/packages/frontend/src/pages/settings/preferences-backups.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/privacy.vue b/packages/frontend/src/pages/settings/privacy.vue index 3a8ccc6281..a2031f60dc 100644 --- a/packages/frontend/src/pages/settings/privacy.vue +++ b/packages/frontend/src/pages/settings/privacy.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/profile.vue b/packages/frontend/src/pages/settings/profile.vue index b729f024ac..b5c26e161e 100644 --- a/packages/frontend/src/pages/settings/profile.vue +++ b/packages/frontend/src/pages/settings/profile.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/reaction.vue b/packages/frontend/src/pages/settings/reaction.vue index ef2f9a534d..d0148ac1ab 100644 --- a/packages/frontend/src/pages/settings/reaction.vue +++ b/packages/frontend/src/pages/settings/reaction.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/roles.vue b/packages/frontend/src/pages/settings/roles.vue index fc1324f6d9..30d5315709 100644 --- a/packages/frontend/src/pages/settings/roles.vue +++ b/packages/frontend/src/pages/settings/roles.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/security.vue b/packages/frontend/src/pages/settings/security.vue index ab52225192..a42b632b15 100644 --- a/packages/frontend/src/pages/settings/security.vue +++ b/packages/frontend/src/pages/settings/security.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/sounds.sound.vue b/packages/frontend/src/pages/settings/sounds.sound.vue index a900539259..a5f90f3e21 100644 --- a/packages/frontend/src/pages/settings/sounds.sound.vue +++ b/packages/frontend/src/pages/settings/sounds.sound.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/sounds.vue b/packages/frontend/src/pages/settings/sounds.vue index eed228da65..de909db7e4 100644 --- a/packages/frontend/src/pages/settings/sounds.vue +++ b/packages/frontend/src/pages/settings/sounds.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/statusbar.statusbar.vue b/packages/frontend/src/pages/settings/statusbar.statusbar.vue index 3e5a648009..8e3beb8a73 100644 --- a/packages/frontend/src/pages/settings/statusbar.statusbar.vue +++ b/packages/frontend/src/pages/settings/statusbar.statusbar.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/statusbar.vue b/packages/frontend/src/pages/settings/statusbar.vue index ff9ca09e39..748579bb2a 100644 --- a/packages/frontend/src/pages/settings/statusbar.vue +++ b/packages/frontend/src/pages/settings/statusbar.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/theme.install.vue b/packages/frontend/src/pages/settings/theme.install.vue index fdcc85d96b..55367054d3 100644 --- a/packages/frontend/src/pages/settings/theme.install.vue +++ b/packages/frontend/src/pages/settings/theme.install.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/theme.manage.vue b/packages/frontend/src/pages/settings/theme.manage.vue index c0fca9f9ce..b39b7721ff 100644 --- a/packages/frontend/src/pages/settings/theme.manage.vue +++ b/packages/frontend/src/pages/settings/theme.manage.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/theme.vue b/packages/frontend/src/pages/settings/theme.vue index 9b5c93ccc6..6517f24acb 100644 --- a/packages/frontend/src/pages/settings/theme.vue +++ b/packages/frontend/src/pages/settings/theme.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/webhook.edit.vue b/packages/frontend/src/pages/settings/webhook.edit.vue index 46ada487d2..cfb8121130 100644 --- a/packages/frontend/src/pages/settings/webhook.edit.vue +++ b/packages/frontend/src/pages/settings/webhook.edit.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/webhook.new.vue b/packages/frontend/src/pages/settings/webhook.new.vue index 3bf2f371c7..185151835b 100644 --- a/packages/frontend/src/pages/settings/webhook.new.vue +++ b/packages/frontend/src/pages/settings/webhook.new.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/webhook.vue b/packages/frontend/src/pages/settings/webhook.vue index 396499ca14..a6ce4e46cd 100644 --- a/packages/frontend/src/pages/settings/webhook.vue +++ b/packages/frontend/src/pages/settings/webhook.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/settings/word-mute.vue b/packages/frontend/src/pages/settings/word-mute.vue index c9fbae4315..e4218952bb 100644 --- a/packages/frontend/src/pages/settings/word-mute.vue +++ b/packages/frontend/src/pages/settings/word-mute.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/share.vue b/packages/frontend/src/pages/share.vue index c9f0f05828..b9e1e952a8 100644 --- a/packages/frontend/src/pages/share.vue +++ b/packages/frontend/src/pages/share.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/signup-complete.vue b/packages/frontend/src/pages/signup-complete.vue index 1c5fbbdb64..205b763791 100644 --- a/packages/frontend/src/pages/signup-complete.vue +++ b/packages/frontend/src/pages/signup-complete.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/tag.vue b/packages/frontend/src/pages/tag.vue index b5f4bb35be..58722fd4de 100644 --- a/packages/frontend/src/pages/tag.vue +++ b/packages/frontend/src/pages/tag.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/theme-editor.vue b/packages/frontend/src/pages/theme-editor.vue index 5354ee0937..e6065b7eda 100644 --- a/packages/frontend/src/pages/theme-editor.vue +++ b/packages/frontend/src/pages/theme-editor.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/timeline.tutorial.vue b/packages/frontend/src/pages/timeline.tutorial.vue index e6b3d9584d..c642558c35 100644 --- a/packages/frontend/src/pages/timeline.tutorial.vue +++ b/packages/frontend/src/pages/timeline.tutorial.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/timeline.vue b/packages/frontend/src/pages/timeline.vue index c476366331..f5fadb3899 100644 --- a/packages/frontend/src/pages/timeline.vue +++ b/packages/frontend/src/pages/timeline.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/user-info.vue b/packages/frontend/src/pages/user-info.vue index d656e30cf6..42b561cfe2 100644 --- a/packages/frontend/src/pages/user-info.vue +++ b/packages/frontend/src/pages/user-info.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/user-list-timeline.vue b/packages/frontend/src/pages/user-list-timeline.vue index 63643b208a..4d28ab6b5b 100644 --- a/packages/frontend/src/pages/user-list-timeline.vue +++ b/packages/frontend/src/pages/user-list-timeline.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/user-tag.vue b/packages/frontend/src/pages/user-tag.vue index 29c90999d4..d74bd5c9e5 100644 --- a/packages/frontend/src/pages/user-tag.vue +++ b/packages/frontend/src/pages/user-tag.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/user/achievements.vue b/packages/frontend/src/pages/user/achievements.vue index f3341a44ec..a23aacf2df 100644 --- a/packages/frontend/src/pages/user/achievements.vue +++ b/packages/frontend/src/pages/user/achievements.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/user/activity.following.vue b/packages/frontend/src/pages/user/activity.following.vue index 2a4cde7c1e..e61b7e3ead 100644 --- a/packages/frontend/src/pages/user/activity.following.vue +++ b/packages/frontend/src/pages/user/activity.following.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/user/activity.heatmap.vue b/packages/frontend/src/pages/user/activity.heatmap.vue index 86931bde92..b0188d9153 100644 --- a/packages/frontend/src/pages/user/activity.heatmap.vue +++ b/packages/frontend/src/pages/user/activity.heatmap.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/user/activity.notes.vue b/packages/frontend/src/pages/user/activity.notes.vue index 7d82fbb608..a91f7bda2c 100644 --- a/packages/frontend/src/pages/user/activity.notes.vue +++ b/packages/frontend/src/pages/user/activity.notes.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/user/activity.pv.vue b/packages/frontend/src/pages/user/activity.pv.vue index 9f071e4046..60764a099f 100644 --- a/packages/frontend/src/pages/user/activity.pv.vue +++ b/packages/frontend/src/pages/user/activity.pv.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/user/activity.vue b/packages/frontend/src/pages/user/activity.vue index 58e8aaea6e..0ecf4e0dad 100644 --- a/packages/frontend/src/pages/user/activity.vue +++ b/packages/frontend/src/pages/user/activity.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/user/clips.vue b/packages/frontend/src/pages/user/clips.vue index 249ce7420a..753662843e 100644 --- a/packages/frontend/src/pages/user/clips.vue +++ b/packages/frontend/src/pages/user/clips.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/user/follow-list.vue b/packages/frontend/src/pages/user/follow-list.vue index 48b82d63d2..f8b9d70e8e 100644 --- a/packages/frontend/src/pages/user/follow-list.vue +++ b/packages/frontend/src/pages/user/follow-list.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/user/followers.vue b/packages/frontend/src/pages/user/followers.vue index c4cde44c6c..ed0f75fd37 100644 --- a/packages/frontend/src/pages/user/followers.vue +++ b/packages/frontend/src/pages/user/followers.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/user/following.vue b/packages/frontend/src/pages/user/following.vue index 5d3afd7d14..cee56c29e2 100644 --- a/packages/frontend/src/pages/user/following.vue +++ b/packages/frontend/src/pages/user/following.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/user/gallery.vue b/packages/frontend/src/pages/user/gallery.vue index e494da5e53..62b549cde1 100644 --- a/packages/frontend/src/pages/user/gallery.vue +++ b/packages/frontend/src/pages/user/gallery.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/user/home.stories.impl.ts b/packages/frontend/src/pages/user/home.stories.impl.ts index 516ab7f123..80b4f1a9e9 100644 --- a/packages/frontend/src/pages/user/home.stories.impl.ts +++ b/packages/frontend/src/pages/user/home.stories.impl.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import { StoryObj } from '@storybook/vue3'; diff --git a/packages/frontend/src/pages/user/home.vue b/packages/frontend/src/pages/user/home.vue index 8ab9e721bf..b32717c64e 100644 --- a/packages/frontend/src/pages/user/home.vue +++ b/packages/frontend/src/pages/user/home.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/user/index.activity.vue b/packages/frontend/src/pages/user/index.activity.vue index 4f40de6a5e..072022873d 100644 --- a/packages/frontend/src/pages/user/index.activity.vue +++ b/packages/frontend/src/pages/user/index.activity.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/user/index.photos.vue b/packages/frontend/src/pages/user/index.photos.vue index f24d9debed..d470a4cc68 100644 --- a/packages/frontend/src/pages/user/index.photos.vue +++ b/packages/frontend/src/pages/user/index.photos.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/user/index.timeline.vue b/packages/frontend/src/pages/user/index.timeline.vue index 65504fddba..bbb66436cd 100644 --- a/packages/frontend/src/pages/user/index.timeline.vue +++ b/packages/frontend/src/pages/user/index.timeline.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/user/index.vue b/packages/frontend/src/pages/user/index.vue index e3260ead69..314548fee3 100644 --- a/packages/frontend/src/pages/user/index.vue +++ b/packages/frontend/src/pages/user/index.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/user/lists.vue b/packages/frontend/src/pages/user/lists.vue index 35d413cd32..99572c828b 100644 --- a/packages/frontend/src/pages/user/lists.vue +++ b/packages/frontend/src/pages/user/lists.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/user/pages.vue b/packages/frontend/src/pages/user/pages.vue index e7158a3164..af20279223 100644 --- a/packages/frontend/src/pages/user/pages.vue +++ b/packages/frontend/src/pages/user/pages.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/user/reactions.vue b/packages/frontend/src/pages/user/reactions.vue index 0be6863dd4..761dba1d26 100644 --- a/packages/frontend/src/pages/user/reactions.vue +++ b/packages/frontend/src/pages/user/reactions.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/welcome.entrance.a.vue b/packages/frontend/src/pages/welcome.entrance.a.vue index ff7c5ad0cc..06457ebc6a 100644 --- a/packages/frontend/src/pages/welcome.entrance.a.vue +++ b/packages/frontend/src/pages/welcome.entrance.a.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/welcome.setup.vue b/packages/frontend/src/pages/welcome.setup.vue index 8572b24b15..1fc624a55c 100644 --- a/packages/frontend/src/pages/welcome.setup.vue +++ b/packages/frontend/src/pages/welcome.setup.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/welcome.timeline.vue b/packages/frontend/src/pages/welcome.timeline.vue index 073425ac5d..a280f1b926 100644 --- a/packages/frontend/src/pages/welcome.timeline.vue +++ b/packages/frontend/src/pages/welcome.timeline.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pages/welcome.vue b/packages/frontend/src/pages/welcome.vue index cbddcec4f1..73bd323024 100644 --- a/packages/frontend/src/pages/welcome.vue +++ b/packages/frontend/src/pages/welcome.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/pizzax.ts b/packages/frontend/src/pizzax.ts index 4f3c4b16bd..23b744a081 100644 --- a/packages/frontend/src/pizzax.ts +++ b/packages/frontend/src/pizzax.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ // PIZZAX --- A lightweight store diff --git a/packages/frontend/src/plugin.ts b/packages/frontend/src/plugin.ts index eb67bdfb70..f9b57bfbee 100644 --- a/packages/frontend/src/plugin.ts +++ b/packages/frontend/src/plugin.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Interpreter, Parser, utils, values } from '@syuilo/aiscript'; import { createAiScriptEnv } from '@/scripts/aiscript/api'; diff --git a/packages/frontend/src/router.ts b/packages/frontend/src/router.ts index fb4d0a3493..52ca09be8b 100644 --- a/packages/frontend/src/router.ts +++ b/packages/frontend/src/router.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { AsyncComponentLoader, defineAsyncComponent, inject } from 'vue'; import { Router } from '@/nirax'; diff --git a/packages/frontend/src/scripts/2fa.ts b/packages/frontend/src/scripts/2fa.ts index 10ad33c692..2d0498522a 100644 --- a/packages/frontend/src/scripts/2fa.ts +++ b/packages/frontend/src/scripts/2fa.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export function byteify(string: string, encoding: 'ascii' | 'base64' | 'hex') { switch (encoding) { diff --git a/packages/frontend/src/scripts/achievements.ts b/packages/frontend/src/scripts/achievements.ts index 6164c101ac..8b3a518830 100644 --- a/packages/frontend/src/scripts/achievements.ts +++ b/packages/frontend/src/scripts/achievements.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as os from '@/os'; import { $i } from '@/account'; diff --git a/packages/frontend/src/scripts/aiscript/api.ts b/packages/frontend/src/scripts/aiscript/api.ts index 24e17ad8da..f69c631198 100644 --- a/packages/frontend/src/scripts/aiscript/api.ts +++ b/packages/frontend/src/scripts/aiscript/api.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { utils, values } from '@syuilo/aiscript'; import * as os from '@/os'; diff --git a/packages/frontend/src/scripts/aiscript/ui.ts b/packages/frontend/src/scripts/aiscript/ui.ts index 5de28a4ea7..3d059b04de 100644 --- a/packages/frontend/src/scripts/aiscript/ui.ts +++ b/packages/frontend/src/scripts/aiscript/ui.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { utils, values } from '@syuilo/aiscript'; import { v4 as uuid } from 'uuid'; diff --git a/packages/frontend/src/scripts/api.ts b/packages/frontend/src/scripts/api.ts index 51d9745ac6..aac953b644 100644 --- a/packages/frontend/src/scripts/api.ts +++ b/packages/frontend/src/scripts/api.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Endpoints } from 'misskey-js/built/api.types'; import { ref } from 'vue'; diff --git a/packages/frontend/src/scripts/array.ts b/packages/frontend/src/scripts/array.ts index d3340b81f7..eeadcb8794 100644 --- a/packages/frontend/src/scripts/array.ts +++ b/packages/frontend/src/scripts/array.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { EndoRelation, Predicate } from './relation'; diff --git a/packages/frontend/src/scripts/autocomplete.ts b/packages/frontend/src/scripts/autocomplete.ts index 4f54870855..a1184fb9d4 100644 --- a/packages/frontend/src/scripts/autocomplete.ts +++ b/packages/frontend/src/scripts/autocomplete.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { nextTick, Ref, ref, defineAsyncComponent } from 'vue'; import getCaretCoordinates from 'textarea-caret'; diff --git a/packages/frontend/src/scripts/cache.ts b/packages/frontend/src/scripts/cache.ts index 77a6ca4631..0dda203ef0 100644 --- a/packages/frontend/src/scripts/cache.ts +++ b/packages/frontend/src/scripts/cache.ts @@ -1,8 +1,9 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ -import { ref } from "vue"; +import { ref } from 'vue'; export class Cache { private cachedAt: number | null = null; diff --git a/packages/frontend/src/scripts/chart-legend.ts b/packages/frontend/src/scripts/chart-legend.ts index f3237a9e13..e91908e0cb 100644 --- a/packages/frontend/src/scripts/chart-legend.ts +++ b/packages/frontend/src/scripts/chart-legend.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Plugin } from 'chart.js'; import MkChartLegend from '@/components/MkChartLegend.vue'; diff --git a/packages/frontend/src/scripts/chart-vline.ts b/packages/frontend/src/scripts/chart-vline.ts index d7b7fe01cb..336ec6cfbb 100644 --- a/packages/frontend/src/scripts/chart-vline.ts +++ b/packages/frontend/src/scripts/chart-vline.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Plugin } from 'chart.js'; diff --git a/packages/frontend/src/scripts/check-word-mute.ts b/packages/frontend/src/scripts/check-word-mute.ts index b7cce393e5..5ac19c8d5b 100644 --- a/packages/frontend/src/scripts/check-word-mute.ts +++ b/packages/frontend/src/scripts/check-word-mute.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export function checkWordMute(note: Record, me: Record | null | undefined, mutedWords: Array): boolean { // 自分自身 diff --git a/packages/frontend/src/scripts/clicker-game.ts b/packages/frontend/src/scripts/clicker-game.ts index c011d69e6e..7d8804b4af 100644 --- a/packages/frontend/src/scripts/clicker-game.ts +++ b/packages/frontend/src/scripts/clicker-game.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { ref, computed } from 'vue'; import * as os from '@/os'; diff --git a/packages/frontend/src/scripts/clone.ts b/packages/frontend/src/scripts/clone.ts index 1c8ed00ffb..96b53684f3 100644 --- a/packages/frontend/src/scripts/clone.ts +++ b/packages/frontend/src/scripts/clone.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ // structredCloneが遅いため // SEE: http://var.blog.jp/archives/86038606.html diff --git a/packages/frontend/src/scripts/collapsed.ts b/packages/frontend/src/scripts/collapsed.ts index e64b48d991..f21bf3cacf 100644 --- a/packages/frontend/src/scripts/collapsed.ts +++ b/packages/frontend/src/scripts/collapsed.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as mfm from 'mfm-js'; import * as misskey from 'misskey-js'; diff --git a/packages/frontend/src/scripts/collect-page-vars.ts b/packages/frontend/src/scripts/collect-page-vars.ts index 7bbacf201a..79356e60eb 100644 --- a/packages/frontend/src/scripts/collect-page-vars.ts +++ b/packages/frontend/src/scripts/collect-page-vars.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ interface StringPageVar { name: string, diff --git a/packages/frontend/src/scripts/color.ts b/packages/frontend/src/scripts/color.ts index f6fd4e4e07..25ef41d9b7 100644 --- a/packages/frontend/src/scripts/color.ts +++ b/packages/frontend/src/scripts/color.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export const alpha = (hex: string, a: number): string => { const result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex)!; diff --git a/packages/frontend/src/scripts/confetti.ts b/packages/frontend/src/scripts/confetti.ts index 56118dabed..efc369ff56 100644 --- a/packages/frontend/src/scripts/confetti.ts +++ b/packages/frontend/src/scripts/confetti.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import _confetti from 'canvas-confetti'; import * as os from '@/os'; diff --git a/packages/frontend/src/scripts/contains.ts b/packages/frontend/src/scripts/contains.ts index 93041c11a8..b50ce4128c 100644 --- a/packages/frontend/src/scripts/contains.ts +++ b/packages/frontend/src/scripts/contains.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export default (parent, child, checkSame = true) => { if (checkSame && parent === child) return true; diff --git a/packages/frontend/src/scripts/copy-to-clipboard.ts b/packages/frontend/src/scripts/copy-to-clipboard.ts index ed9fa70476..3884d4a20a 100644 --- a/packages/frontend/src/scripts/copy-to-clipboard.ts +++ b/packages/frontend/src/scripts/copy-to-clipboard.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /** * Clipboardに値をコピー(TODO: 文字列以外も対応) diff --git a/packages/frontend/src/scripts/device-kind.ts b/packages/frontend/src/scripts/device-kind.ts index 69ee346a0f..4a47ebf8f2 100644 --- a/packages/frontend/src/scripts/device-kind.ts +++ b/packages/frontend/src/scripts/device-kind.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { defaultStore } from '@/store'; diff --git a/packages/frontend/src/scripts/emoji-base.ts b/packages/frontend/src/scripts/emoji-base.ts index acdae53898..46a13462a1 100644 --- a/packages/frontend/src/scripts/emoji-base.ts +++ b/packages/frontend/src/scripts/emoji-base.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ const twemojiSvgBase = '/twemoji'; const fluentEmojiPngBase = '/fluent-emoji'; diff --git a/packages/frontend/src/scripts/emojilist.ts b/packages/frontend/src/scripts/emojilist.ts index 366f8be200..4159da84c8 100644 --- a/packages/frontend/src/scripts/emojilist.ts +++ b/packages/frontend/src/scripts/emojilist.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export const unicodeEmojiCategories = ['face', 'people', 'animals_and_nature', 'food_and_drink', 'activity', 'travel_and_places', 'objects', 'symbols', 'flags'] as const; diff --git a/packages/frontend/src/scripts/extract-avg-color-from-blurhash.ts b/packages/frontend/src/scripts/extract-avg-color-from-blurhash.ts index adb9435d74..57b296ab2a 100644 --- a/packages/frontend/src/scripts/extract-avg-color-from-blurhash.ts +++ b/packages/frontend/src/scripts/extract-avg-color-from-blurhash.ts @@ -1,13 +1,14 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export function extractAvgColorFromBlurhash(hash: string) { return typeof hash === 'string' ? '#' + [...hash.slice(2, 6)] - .map(x => '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz#$%*+,-.:;=?@[]^_{|}~'.indexOf(x)) - .reduce((a, c) => a * 83 + c, 0) - .toString(16) - .padStart(6, '0') + .map(x => '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz#$%*+,-.:;=?@[]^_{|}~'.indexOf(x)) + .reduce((a, c) => a * 83 + c, 0) + .toString(16) + .padStart(6, '0') : undefined; } diff --git a/packages/frontend/src/scripts/extract-mentions.ts b/packages/frontend/src/scripts/extract-mentions.ts index 1be04df663..74ce45d324 100644 --- a/packages/frontend/src/scripts/extract-mentions.ts +++ b/packages/frontend/src/scripts/extract-mentions.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ // test is located in test/extract-mentions diff --git a/packages/frontend/src/scripts/extract-url-from-mfm.ts b/packages/frontend/src/scripts/extract-url-from-mfm.ts index 3a5f004aa0..e72de784f8 100644 --- a/packages/frontend/src/scripts/extract-url-from-mfm.ts +++ b/packages/frontend/src/scripts/extract-url-from-mfm.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as mfm from 'mfm-js'; import { unique } from '@/scripts/array'; diff --git a/packages/frontend/src/scripts/focus.ts b/packages/frontend/src/scripts/focus.ts index 52054a1b6b..6a31ebd431 100644 --- a/packages/frontend/src/scripts/focus.ts +++ b/packages/frontend/src/scripts/focus.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export function focusPrev(el: Element | null, self = false, scroll = true) { if (el == null) return; diff --git a/packages/frontend/src/scripts/form.ts b/packages/frontend/src/scripts/form.ts index c00e88581b..222fd9b0b7 100644 --- a/packages/frontend/src/scripts/form.ts +++ b/packages/frontend/src/scripts/form.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ type EnumItem = string | {label: string; value: string;}; export type FormItem = { diff --git a/packages/frontend/src/scripts/format-time-string.ts b/packages/frontend/src/scripts/format-time-string.ts index c7e3155565..918996dd10 100644 --- a/packages/frontend/src/scripts/format-time-string.ts +++ b/packages/frontend/src/scripts/format-time-string.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ const defaultLocaleStringFormats: {[index: string]: string} = { 'weekday': 'narrow', diff --git a/packages/frontend/src/scripts/gen-search-query.ts b/packages/frontend/src/scripts/gen-search-query.ts index db1319025b..97462f3f09 100644 --- a/packages/frontend/src/scripts/gen-search-query.ts +++ b/packages/frontend/src/scripts/gen-search-query.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as Acct from 'misskey-js/built/acct'; import { host as localHost } from '@/config'; diff --git a/packages/frontend/src/scripts/get-account-from-id.ts b/packages/frontend/src/scripts/get-account-from-id.ts index 8cc3cd0555..60bd778f3e 100644 --- a/packages/frontend/src/scripts/get-account-from-id.ts +++ b/packages/frontend/src/scripts/get-account-from-id.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { get } from '@/scripts/idb-proxy'; diff --git a/packages/frontend/src/scripts/get-drive-file-menu.ts b/packages/frontend/src/scripts/get-drive-file-menu.ts index 9c75641253..e3a95b5d8e 100644 --- a/packages/frontend/src/scripts/get-drive-file-menu.ts +++ b/packages/frontend/src/scripts/get-drive-file-menu.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as Misskey from 'misskey-js'; import { defineAsyncComponent } from 'vue'; @@ -92,7 +93,7 @@ export function getDriveFileMenu(file: Misskey.entities.DriveFile, folder?: Miss icon: 'ti ti-crop', action: () => os.cropImage(file, { aspectRatio: NaN, - uploadFolder: folder ? folder.id : folder + uploadFolder: folder ? folder.id : folder, }), }] : [], null, { text: i18n.ts.createNoteFromTheFile, diff --git a/packages/frontend/src/scripts/get-note-menu.ts b/packages/frontend/src/scripts/get-note-menu.ts index 2b984ca90b..b63c797503 100644 --- a/packages/frontend/src/scripts/get-note-menu.ts +++ b/packages/frontend/src/scripts/get-note-menu.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { defineAsyncComponent, Ref } from 'vue'; import * as misskey from 'misskey-js'; diff --git a/packages/frontend/src/scripts/get-note-summary.ts b/packages/frontend/src/scripts/get-note-summary.ts index b40a9632d6..67d6485760 100644 --- a/packages/frontend/src/scripts/get-note-summary.ts +++ b/packages/frontend/src/scripts/get-note-summary.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as misskey from 'misskey-js'; import { i18n } from '@/i18n'; diff --git a/packages/frontend/src/scripts/get-user-menu.ts b/packages/frontend/src/scripts/get-user-menu.ts index d27e8e32f8..7f2111be4c 100644 --- a/packages/frontend/src/scripts/get-user-menu.ts +++ b/packages/frontend/src/scripts/get-user-menu.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { toUnicode } from 'punycode'; import { defineAsyncComponent } from 'vue'; diff --git a/packages/frontend/src/scripts/get-user-name.ts b/packages/frontend/src/scripts/get-user-name.ts index b091b27db7..3ae80d7fc3 100644 --- a/packages/frontend/src/scripts/get-user-name.ts +++ b/packages/frontend/src/scripts/get-user-name.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export default function(user: { name?: string | null, username: string }): string { return user.name === '' ? user.username : user.name ?? user.username; diff --git a/packages/frontend/src/scripts/hotkey.ts b/packages/frontend/src/scripts/hotkey.ts index ae906e8aea..09ffb405e7 100644 --- a/packages/frontend/src/scripts/hotkey.ts +++ b/packages/frontend/src/scripts/hotkey.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import keyCode from './keycode'; diff --git a/packages/frontend/src/scripts/i18n.ts b/packages/frontend/src/scripts/i18n.ts index d26b165fea..8e5f17f38a 100644 --- a/packages/frontend/src/scripts/i18n.ts +++ b/packages/frontend/src/scripts/i18n.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class I18n> { public ts: T; diff --git a/packages/frontend/src/scripts/idb-proxy.ts b/packages/frontend/src/scripts/idb-proxy.ts index 6f7ffdabb0..a20cfcb1d0 100644 --- a/packages/frontend/src/scripts/idb-proxy.ts +++ b/packages/frontend/src/scripts/idb-proxy.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ // FirefoxのプライベートモードなどではindexedDBが使用不可能なので、 // indexedDBが使えない環境ではlocalStorageを使う diff --git a/packages/frontend/src/scripts/idle-render.ts b/packages/frontend/src/scripts/idle-render.ts index d1fc5d2e3a..ac1be50c73 100644 --- a/packages/frontend/src/scripts/idle-render.ts +++ b/packages/frontend/src/scripts/idle-render.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ const requestIdleCallback: typeof globalThis.requestIdleCallback = globalThis.requestIdleCallback ?? ((callback) => { const start = performance.now(); diff --git a/packages/frontend/src/scripts/init-chart.ts b/packages/frontend/src/scripts/init-chart.ts index 12ba36d893..c9d3a7ca37 100644 --- a/packages/frontend/src/scripts/init-chart.ts +++ b/packages/frontend/src/scripts/init-chart.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Chart, diff --git a/packages/frontend/src/scripts/initialize-sw.ts b/packages/frontend/src/scripts/initialize-sw.ts index 20c05d5a9f..538554fa64 100644 --- a/packages/frontend/src/scripts/initialize-sw.ts +++ b/packages/frontend/src/scripts/initialize-sw.ts @@ -1,13 +1,14 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { lang } from '@/config'; export async function initializeSw() { if (!('serviceWorker' in navigator)) return; - navigator.serviceWorker.register(`/sw.js`, { scope: '/', type: 'classic' }); + navigator.serviceWorker.register('/sw.js', { scope: '/', type: 'classic' }); navigator.serviceWorker.ready.then(registration => { registration.active?.postMessage({ msg: 'initialize', diff --git a/packages/frontend/src/scripts/intl-const.ts b/packages/frontend/src/scripts/intl-const.ts index c2b7e421f7..31aa9b99b8 100644 --- a/packages/frontend/src/scripts/intl-const.ts +++ b/packages/frontend/src/scripts/intl-const.ts @@ -1,16 +1,17 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { lang } from '@/config'; export const versatileLang = (lang ?? 'ja-JP').replace('ja-KS', 'ja-JP'); export const dateTimeFormat = new Intl.DateTimeFormat(versatileLang, { - year: 'numeric', - month: 'numeric', - day: 'numeric', - hour: 'numeric', - minute: 'numeric', - second: 'numeric', + year: 'numeric', + month: 'numeric', + day: 'numeric', + hour: 'numeric', + minute: 'numeric', + second: 'numeric', }); export const numberFormat = new Intl.NumberFormat(versatileLang); diff --git a/packages/frontend/src/scripts/is-device-darkmode.ts b/packages/frontend/src/scripts/is-device-darkmode.ts index 17e4158a32..badc295726 100644 --- a/packages/frontend/src/scripts/is-device-darkmode.ts +++ b/packages/frontend/src/scripts/is-device-darkmode.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export function isDeviceDarkmode() { return window.matchMedia('(prefers-color-scheme: dark)').matches; diff --git a/packages/frontend/src/scripts/isFfVisibleForMe.ts b/packages/frontend/src/scripts/isFfVisibleForMe.ts index aac229d3ee..eb21abb24c 100644 --- a/packages/frontend/src/scripts/isFfVisibleForMe.ts +++ b/packages/frontend/src/scripts/isFfVisibleForMe.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as misskey from 'misskey-js'; import { $i } from '@/account'; diff --git a/packages/frontend/src/scripts/keycode.ts b/packages/frontend/src/scripts/keycode.ts index a90edda5ab..57bc4d19ba 100644 --- a/packages/frontend/src/scripts/keycode.ts +++ b/packages/frontend/src/scripts/keycode.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export default (input: string): string[] => { if (Object.keys(aliases).some(a => a.toLowerCase() === input.toLowerCase())) { diff --git a/packages/frontend/src/scripts/langmap.ts b/packages/frontend/src/scripts/langmap.ts index ee89ab1c60..3912d58d82 100644 --- a/packages/frontend/src/scripts/langmap.ts +++ b/packages/frontend/src/scripts/langmap.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ // TODO: sharedに置いてバックエンドのと統合したい export const langmap = { diff --git a/packages/frontend/src/scripts/login-id.ts b/packages/frontend/src/scripts/login-id.ts index c4b7941238..fe0e17e66e 100644 --- a/packages/frontend/src/scripts/login-id.ts +++ b/packages/frontend/src/scripts/login-id.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export function getUrlWithLoginId(url: string, loginId: string) { const u = new URL(url, origin); diff --git a/packages/frontend/src/scripts/lookup-user.ts b/packages/frontend/src/scripts/lookup-user.ts index e6aa77c052..83d7914fb1 100644 --- a/packages/frontend/src/scripts/lookup-user.ts +++ b/packages/frontend/src/scripts/lookup-user.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as Acct from 'misskey-js/built/acct'; import { i18n } from '@/i18n'; diff --git a/packages/frontend/src/scripts/lookup.ts b/packages/frontend/src/scripts/lookup.ts index b7ba39e69a..f3192aac11 100644 --- a/packages/frontend/src/scripts/lookup.ts +++ b/packages/frontend/src/scripts/lookup.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as os from '@/os'; import { i18n } from '@/i18n'; diff --git a/packages/frontend/src/scripts/media-proxy.ts b/packages/frontend/src/scripts/media-proxy.ts index dac36667c7..81fef3fdb6 100644 --- a/packages/frontend/src/scripts/media-proxy.ts +++ b/packages/frontend/src/scripts/media-proxy.ts @@ -1,12 +1,13 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { query } from '@/scripts/url'; import { url } from '@/config'; import { instance } from '@/instance'; -export function getProxiedImageUrl(imageUrl: string, type?: 'preview' | 'emoji' | 'avatar', mustOrigin: boolean = false, noFallback: boolean = false): string { +export function getProxiedImageUrl(imageUrl: string, type?: 'preview' | 'emoji' | 'avatar', mustOrigin = false, noFallback = false): string { const localProxy = `${url}/proxy`; if (imageUrl.startsWith(instance.mediaProxy + '/') || imageUrl.startsWith('/proxy/') || imageUrl.startsWith(localProxy + '/')) { diff --git a/packages/frontend/src/scripts/mfm-tags.ts b/packages/frontend/src/scripts/mfm-tags.ts index f8cfa6d849..dc78e42238 100644 --- a/packages/frontend/src/scripts/mfm-tags.ts +++ b/packages/frontend/src/scripts/mfm-tags.ts @@ -1,5 +1,6 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export const MFM_TAGS = ['tada', 'jelly', 'twitch', 'shake', 'spin', 'jump', 'bounce', 'flip', 'x2', 'x3', 'x4', 'scale', 'position', 'fg', 'bg', 'font', 'blur', 'rainbow', 'sparkle', 'rotate']; diff --git a/packages/frontend/src/scripts/page-metadata.ts b/packages/frontend/src/scripts/page-metadata.ts index d58782b004..0b483c3042 100644 --- a/packages/frontend/src/scripts/page-metadata.ts +++ b/packages/frontend/src/scripts/page-metadata.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as misskey from 'misskey-js'; import { ComputedRef, inject, isRef, onActivated, onMounted, provide, ref, Ref } from 'vue'; diff --git a/packages/frontend/src/scripts/physics.ts b/packages/frontend/src/scripts/physics.ts index fd691f617d..cf9fad70eb 100644 --- a/packages/frontend/src/scripts/physics.ts +++ b/packages/frontend/src/scripts/physics.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as Matter from 'matter-js'; diff --git a/packages/frontend/src/scripts/please-login.ts b/packages/frontend/src/scripts/please-login.ts index d1fa19dae6..f0eebf2242 100644 --- a/packages/frontend/src/scripts/please-login.ts +++ b/packages/frontend/src/scripts/please-login.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { defineAsyncComponent } from 'vue'; import { $i } from '@/account'; diff --git a/packages/frontend/src/scripts/popout.ts b/packages/frontend/src/scripts/popout.ts index cfdce60956..c0974ff589 100644 --- a/packages/frontend/src/scripts/popout.ts +++ b/packages/frontend/src/scripts/popout.ts @@ -1,9 +1,10 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ -import * as config from '@/config'; import { appendQuery } from './url'; +import * as config from '@/config'; export function popout(path: string, w?: HTMLElement) { let url = path.startsWith('http://') || path.startsWith('https://') ? path : config.url + path; diff --git a/packages/frontend/src/scripts/popup-position.ts b/packages/frontend/src/scripts/popup-position.ts index 767371112e..0a799c5665 100644 --- a/packages/frontend/src/scripts/popup-position.ts +++ b/packages/frontend/src/scripts/popup-position.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export function calcPopupPosition(el: HTMLElement, props: { anchorElement: HTMLElement | null; diff --git a/packages/frontend/src/scripts/reaction-picker.ts b/packages/frontend/src/scripts/reaction-picker.ts index 37595f05aa..919c566e3f 100644 --- a/packages/frontend/src/scripts/reaction-picker.ts +++ b/packages/frontend/src/scripts/reaction-picker.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { defineAsyncComponent, Ref, ref } from 'vue'; import { popup } from '@/os'; diff --git a/packages/frontend/src/scripts/safe-uri-decode.ts b/packages/frontend/src/scripts/safe-uri-decode.ts index 53f441a69a..625d8c34a7 100644 --- a/packages/frontend/src/scripts/safe-uri-decode.ts +++ b/packages/frontend/src/scripts/safe-uri-decode.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export function safeURIDecode(str: string): string { try { diff --git a/packages/frontend/src/scripts/scroll.ts b/packages/frontend/src/scripts/scroll.ts index bb207ecbdb..b2b2c41dcf 100644 --- a/packages/frontend/src/scripts/scroll.ts +++ b/packages/frontend/src/scripts/scroll.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ type ScrollBehavior = 'auto' | 'smooth' | 'instant'; diff --git a/packages/frontend/src/scripts/select-file.ts b/packages/frontend/src/scripts/select-file.ts index 8832fd6cbd..b3fd52a9de 100644 --- a/packages/frontend/src/scripts/select-file.ts +++ b/packages/frontend/src/scripts/select-file.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { ref } from 'vue'; import { DriveFile } from 'misskey-js/built/entities'; diff --git a/packages/frontend/src/scripts/show-moved-dialog.ts b/packages/frontend/src/scripts/show-moved-dialog.ts index 0e53c70d2a..9e3e4ee7ff 100644 --- a/packages/frontend/src/scripts/show-moved-dialog.ts +++ b/packages/frontend/src/scripts/show-moved-dialog.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as os from '@/os'; import { $i } from '@/account'; diff --git a/packages/frontend/src/scripts/show-suspended-dialog.ts b/packages/frontend/src/scripts/show-suspended-dialog.ts index 9b9b94cc3d..9f0d69af79 100644 --- a/packages/frontend/src/scripts/show-suspended-dialog.ts +++ b/packages/frontend/src/scripts/show-suspended-dialog.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as os from '@/os'; import { i18n } from '@/i18n'; diff --git a/packages/frontend/src/scripts/shuffle.ts b/packages/frontend/src/scripts/shuffle.ts index 9ebd3b567f..d9d5bb1037 100644 --- a/packages/frontend/src/scripts/shuffle.ts +++ b/packages/frontend/src/scripts/shuffle.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /** * 配列をシャッフル (破壊的) diff --git a/packages/frontend/src/scripts/sound.ts b/packages/frontend/src/scripts/sound.ts index b4ad514dca..7e64cafcf9 100644 --- a/packages/frontend/src/scripts/sound.ts +++ b/packages/frontend/src/scripts/sound.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { markRaw } from 'vue'; import { Storage } from '@/pizzax'; @@ -8,39 +9,39 @@ import { Storage } from '@/pizzax'; export const soundConfigStore = markRaw(new Storage('sound', { mediaVolume: { where: 'device', - default: 0.5 + default: 0.5, }, sound_masterVolume: { where: 'device', - default: 0.3 + default: 0.3, }, sound_note: { where: 'account', - default: { type: 'syuilo/n-aec', volume: 1 } + default: { type: 'syuilo/n-aec', volume: 1 }, }, sound_noteMy: { where: 'account', - default: { type: 'syuilo/n-cea-4va', volume: 1 } + default: { type: 'syuilo/n-cea-4va', volume: 1 }, }, sound_notification: { where: 'account', - default: { type: 'syuilo/n-ea', volume: 1 } + default: { type: 'syuilo/n-ea', volume: 1 }, }, sound_chat: { where: 'account', - default: { type: 'syuilo/pope1', volume: 1 } + default: { type: 'syuilo/pope1', volume: 1 }, }, sound_chatBg: { where: 'account', - default: { type: 'syuilo/waon', volume: 1 } + default: { type: 'syuilo/waon', volume: 1 }, }, sound_antenna: { where: 'account', - default: { type: 'syuilo/triple', volume: 1 } + default: { type: 'syuilo/triple', volume: 1 }, }, sound_channel: { where: 'account', - default: { type: 'syuilo/square-pico', volume: 1 } + default: { type: 'syuilo/square-pico', volume: 1 }, }, })); diff --git a/packages/frontend/src/scripts/sticky-sidebar.ts b/packages/frontend/src/scripts/sticky-sidebar.ts index 8a86140587..f233c3648e 100644 --- a/packages/frontend/src/scripts/sticky-sidebar.ts +++ b/packages/frontend/src/scripts/sticky-sidebar.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export class StickySidebar { private lastScrollTop = 0; diff --git a/packages/frontend/src/scripts/test-utils.ts b/packages/frontend/src/scripts/test-utils.ts index 619e165a8c..8ffea08649 100644 --- a/packages/frontend/src/scripts/test-utils.ts +++ b/packages/frontend/src/scripts/test-utils.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /// diff --git a/packages/frontend/src/scripts/theme-editor.ts b/packages/frontend/src/scripts/theme-editor.ts index 4cbf27d7f4..69fd41255c 100644 --- a/packages/frontend/src/scripts/theme-editor.ts +++ b/packages/frontend/src/scripts/theme-editor.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { v4 as uuid } from 'uuid'; @@ -80,6 +81,6 @@ export const convertToViewModel = (theme: Theme): ThemeViewModel => { .filter(k => k.startsWith('$')) .map(k => [k, fromThemeString(theme.props[k])] as [ string, ThemeValue ]); - vm.push(...consts); + vm.push(...consts); return vm; }; diff --git a/packages/frontend/src/scripts/theme.ts b/packages/frontend/src/scripts/theme.ts index 5486cf4b64..b8faa469b6 100644 --- a/packages/frontend/src/scripts/theme.ts +++ b/packages/frontend/src/scripts/theme.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { ref } from 'vue'; import tinycolor from 'tinycolor2'; diff --git a/packages/frontend/src/scripts/time.ts b/packages/frontend/src/scripts/time.ts index cdc3f68485..4479db1081 100644 --- a/packages/frontend/src/scripts/time.ts +++ b/packages/frontend/src/scripts/time.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ const dateTimeIntervals = { 'day': 86400000, diff --git a/packages/frontend/src/scripts/timezones.ts b/packages/frontend/src/scripts/timezones.ts index 66748a685a..55f9be393f 100644 --- a/packages/frontend/src/scripts/timezones.ts +++ b/packages/frontend/src/scripts/timezones.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export const timezones = [{ name: 'UTC', diff --git a/packages/frontend/src/scripts/touch.ts b/packages/frontend/src/scripts/touch.ts index 7b67fa0838..0695913298 100644 --- a/packages/frontend/src/scripts/touch.ts +++ b/packages/frontend/src/scripts/touch.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { deviceKind } from '@/scripts/device-kind'; diff --git a/packages/frontend/src/scripts/unison-reload.ts b/packages/frontend/src/scripts/unison-reload.ts index 4bb93cb577..65fc090888 100644 --- a/packages/frontend/src/scripts/unison-reload.ts +++ b/packages/frontend/src/scripts/unison-reload.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ // SafariがBroadcastChannel未実装なのでライブラリを使う import { BroadcastChannel } from 'broadcast-channel'; diff --git a/packages/frontend/src/scripts/upload.ts b/packages/frontend/src/scripts/upload.ts index 31cd964b57..f5ec4b60b4 100644 --- a/packages/frontend/src/scripts/upload.ts +++ b/packages/frontend/src/scripts/upload.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { reactive, ref } from 'vue'; import * as Misskey from 'misskey-js'; diff --git a/packages/frontend/src/scripts/upload/compress-config.ts b/packages/frontend/src/scripts/upload/compress-config.ts index 80186dbe82..8fe64c8b76 100644 --- a/packages/frontend/src/scripts/upload/compress-config.ts +++ b/packages/frontend/src/scripts/upload/compress-config.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import isAnimated from 'is-file-animated'; import { isWebpSupported } from './isWebpSupported'; diff --git a/packages/frontend/src/scripts/upload/isWebpSupported.ts b/packages/frontend/src/scripts/upload/isWebpSupported.ts index 32fa885410..185c3e6b40 100644 --- a/packages/frontend/src/scripts/upload/isWebpSupported.ts +++ b/packages/frontend/src/scripts/upload/isWebpSupported.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ let isWebpSupportedCache: boolean | undefined; export function isWebpSupported() { diff --git a/packages/frontend/src/scripts/url.ts b/packages/frontend/src/scripts/url.ts index 15e6c9fc45..625f4ce057 100644 --- a/packages/frontend/src/scripts/url.ts +++ b/packages/frontend/src/scripts/url.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* objを検査して * 1. 配列に何も入っていない時はクエリを付けない diff --git a/packages/frontend/src/scripts/use-chart-tooltip.ts b/packages/frontend/src/scripts/use-chart-tooltip.ts index 3111f37498..507fa4deca 100644 --- a/packages/frontend/src/scripts/use-chart-tooltip.ts +++ b/packages/frontend/src/scripts/use-chart-tooltip.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { onUnmounted, onDeactivated, ref } from 'vue'; import * as os from '@/os'; diff --git a/packages/frontend/src/scripts/use-document-visibility.ts b/packages/frontend/src/scripts/use-document-visibility.ts index c6ae7ba5b2..a9e2512eb3 100644 --- a/packages/frontend/src/scripts/use-document-visibility.ts +++ b/packages/frontend/src/scripts/use-document-visibility.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { onMounted, onUnmounted, ref, Ref } from 'vue'; diff --git a/packages/frontend/src/scripts/use-interval.ts b/packages/frontend/src/scripts/use-interval.ts index 4edb4b9595..b8c5431fb6 100644 --- a/packages/frontend/src/scripts/use-interval.ts +++ b/packages/frontend/src/scripts/use-interval.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { onMounted, onUnmounted } from 'vue'; diff --git a/packages/frontend/src/scripts/use-leave-guard.ts b/packages/frontend/src/scripts/use-leave-guard.ts index 8634131148..c9750c3923 100644 --- a/packages/frontend/src/scripts/use-leave-guard.ts +++ b/packages/frontend/src/scripts/use-leave-guard.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Ref } from 'vue'; diff --git a/packages/frontend/src/scripts/use-note-capture.ts b/packages/frontend/src/scripts/use-note-capture.ts index 8de0f5add5..c96cf7165b 100644 --- a/packages/frontend/src/scripts/use-note-capture.ts +++ b/packages/frontend/src/scripts/use-note-capture.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { onUnmounted, Ref } from 'vue'; import * as misskey from 'misskey-js'; diff --git a/packages/frontend/src/scripts/use-tooltip.ts b/packages/frontend/src/scripts/use-tooltip.ts index c0992618bc..0a82997728 100644 --- a/packages/frontend/src/scripts/use-tooltip.ts +++ b/packages/frontend/src/scripts/use-tooltip.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Ref, ref, watch, onUnmounted } from 'vue'; diff --git a/packages/frontend/src/scripts/worker-multi-dispatch.ts b/packages/frontend/src/scripts/worker-multi-dispatch.ts index ab39bb788b..1d184e99a1 100644 --- a/packages/frontend/src/scripts/worker-multi-dispatch.ts +++ b/packages/frontend/src/scripts/worker-multi-dispatch.ts @@ -1,79 +1,80 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ function defaultUseWorkerNumber(prev: number, totalWorkers: number) { - return prev + 1; + return prev + 1; } export class WorkerMultiDispatch { - private symbol = Symbol('WorkerMultiDispatch'); - private workers: Worker[] = []; - private terminated = false; - private prevWorkerNumber = 0; - private getUseWorkerNumber = defaultUseWorkerNumber; - private finalizationRegistry: FinalizationRegistry; + private symbol = Symbol('WorkerMultiDispatch'); + private workers: Worker[] = []; + private terminated = false; + private prevWorkerNumber = 0; + private getUseWorkerNumber = defaultUseWorkerNumber; + private finalizationRegistry: FinalizationRegistry; - constructor(workerConstructor: () => Worker, concurrency: number, getUseWorkerNumber = defaultUseWorkerNumber) { - this.getUseWorkerNumber = getUseWorkerNumber; - for (let i = 0; i < concurrency; i++) { - this.workers.push(workerConstructor()); - } + constructor(workerConstructor: () => Worker, concurrency: number, getUseWorkerNumber = defaultUseWorkerNumber) { + this.getUseWorkerNumber = getUseWorkerNumber; + for (let i = 0; i < concurrency; i++) { + this.workers.push(workerConstructor()); + } - this.finalizationRegistry = new FinalizationRegistry(() => { - this.terminate(); - }); - this.finalizationRegistry.register(this, this.symbol); + this.finalizationRegistry = new FinalizationRegistry(() => { + this.terminate(); + }); + this.finalizationRegistry.register(this, this.symbol); - if (_DEV_) console.log('WorkerMultiDispatch: Created', this); - } + if (_DEV_) console.log('WorkerMultiDispatch: Created', this); + } - public postMessage(message: POST, options?: Transferable[] | StructuredSerializeOptions, useWorkerNumber: typeof defaultUseWorkerNumber = this.getUseWorkerNumber) { - let workerNumber = useWorkerNumber(this.prevWorkerNumber, this.workers.length); - workerNumber = Math.abs(Math.round(workerNumber)) % this.workers.length; - if (_DEV_) console.log('WorkerMultiDispatch: Posting message to worker', workerNumber, useWorkerNumber); - this.prevWorkerNumber = workerNumber; + public postMessage(message: POST, options?: Transferable[] | StructuredSerializeOptions, useWorkerNumber: typeof defaultUseWorkerNumber = this.getUseWorkerNumber) { + let workerNumber = useWorkerNumber(this.prevWorkerNumber, this.workers.length); + workerNumber = Math.abs(Math.round(workerNumber)) % this.workers.length; + if (_DEV_) console.log('WorkerMultiDispatch: Posting message to worker', workerNumber, useWorkerNumber); + this.prevWorkerNumber = workerNumber; - // 不毛だがunionをoverloadに突っ込めない - // https://stackoverflow.com/questions/66507585/overload-signatures-union-types-and-no-overload-matches-this-call-error - // https://github.com/microsoft/TypeScript/issues/14107 - if (Array.isArray(options)) { - this.workers[workerNumber].postMessage(message, options); - } else { - this.workers[workerNumber].postMessage(message, options); - } - return workerNumber; - } + // 不毛だがunionをoverloadに突っ込めない + // https://stackoverflow.com/questions/66507585/overload-signatures-union-types-and-no-overload-matches-this-call-error + // https://github.com/microsoft/TypeScript/issues/14107 + if (Array.isArray(options)) { + this.workers[workerNumber].postMessage(message, options); + } else { + this.workers[workerNumber].postMessage(message, options); + } + return workerNumber; + } - public addListener(callback: (this: Worker, ev: MessageEvent) => any, options?: boolean | AddEventListenerOptions) { - this.workers.forEach(worker => { - worker.addEventListener('message', callback, options); - }); - } + public addListener(callback: (this: Worker, ev: MessageEvent) => any, options?: boolean | AddEventListenerOptions) { + this.workers.forEach(worker => { + worker.addEventListener('message', callback, options); + }); + } - public removeListener(callback: (this: Worker, ev: MessageEvent) => any, options?: boolean | AddEventListenerOptions) { - this.workers.forEach(worker => { - worker.removeEventListener('message', callback, options); - }); - } + public removeListener(callback: (this: Worker, ev: MessageEvent) => any, options?: boolean | AddEventListenerOptions) { + this.workers.forEach(worker => { + worker.removeEventListener('message', callback, options); + }); + } - public terminate() { - this.terminated = true; - if (_DEV_) console.log('WorkerMultiDispatch: Terminating', this); - this.workers.forEach(worker => { - worker.terminate(); - }); - this.workers = []; - this.finalizationRegistry.unregister(this); - } + public terminate() { + this.terminated = true; + if (_DEV_) console.log('WorkerMultiDispatch: Terminating', this); + this.workers.forEach(worker => { + worker.terminate(); + }); + this.workers = []; + this.finalizationRegistry.unregister(this); + } - public isTerminated() { - return this.terminated; - } - public getWorkers() { - return this.workers; - } - public getSymbol() { - return this.symbol; - } + public isTerminated() { + return this.terminated; + } + public getWorkers() { + return this.workers; + } + public getSymbol() { + return this.symbol; + } } diff --git a/packages/frontend/src/store.ts b/packages/frontend/src/store.ts index 3b068bb0a4..1cb3486f74 100644 --- a/packages/frontend/src/store.ts +++ b/packages/frontend/src/store.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { markRaw, ref } from 'vue'; import { Storage } from './pizzax'; diff --git a/packages/frontend/src/stream.ts b/packages/frontend/src/stream.ts index 08197db8c0..b241316648 100644 --- a/packages/frontend/src/stream.ts +++ b/packages/frontend/src/stream.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as Misskey from 'misskey-js'; import { markRaw } from 'vue'; diff --git a/packages/frontend/src/theme-store.ts b/packages/frontend/src/theme-store.ts index dd8ca4cbb5..e71b4354f3 100644 --- a/packages/frontend/src/theme-store.ts +++ b/packages/frontend/src/theme-store.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { Theme } from './scripts/theme'; import { miLocalStorage } from './local-storage'; diff --git a/packages/frontend/src/types/date-separated-list.ts b/packages/frontend/src/types/date-separated-list.ts index 404265cb57..678193ca98 100644 --- a/packages/frontend/src/types/date-separated-list.ts +++ b/packages/frontend/src/types/date-separated-list.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export type MisskeyEntity = { id: string; diff --git a/packages/frontend/src/types/menu.ts b/packages/frontend/src/types/menu.ts index d680f4f50b..edeabe4285 100644 --- a/packages/frontend/src/types/menu.ts +++ b/packages/frontend/src/types/menu.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as Misskey from 'misskey-js'; import { Ref } from 'vue'; diff --git a/packages/frontend/src/ui/_common_/common.ts b/packages/frontend/src/ui/_common_/common.ts index 9ded21928b..b2fdba1ece 100644 --- a/packages/frontend/src/ui/_common_/common.ts +++ b/packages/frontend/src/ui/_common_/common.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import * as os from '@/os'; import { instance } from '@/instance'; diff --git a/packages/frontend/src/ui/_common_/common.vue b/packages/frontend/src/ui/_common_/common.vue index 6f981864c3..e1c7688ea8 100644 --- a/packages/frontend/src/ui/_common_/common.vue +++ b/packages/frontend/src/ui/_common_/common.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/ui/_common_/navbar-for-mobile.vue b/packages/frontend/src/ui/_common_/navbar-for-mobile.vue index fcec121cd4..f2783ebb77 100644 --- a/packages/frontend/src/ui/_common_/navbar-for-mobile.vue +++ b/packages/frontend/src/ui/_common_/navbar-for-mobile.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/ui/_common_/navbar.vue b/packages/frontend/src/ui/_common_/navbar.vue index 921dd30f87..d0162c8330 100644 --- a/packages/frontend/src/ui/_common_/navbar.vue +++ b/packages/frontend/src/ui/_common_/navbar.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/ui/_common_/notification.vue b/packages/frontend/src/ui/_common_/notification.vue index 979fe992bb..100773b026 100644 --- a/packages/frontend/src/ui/_common_/notification.vue +++ b/packages/frontend/src/ui/_common_/notification.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/ui/_common_/statusbar-federation.vue b/packages/frontend/src/ui/_common_/statusbar-federation.vue index 65b223c19e..5f3feb039d 100644 --- a/packages/frontend/src/ui/_common_/statusbar-federation.vue +++ b/packages/frontend/src/ui/_common_/statusbar-federation.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/ui/_common_/statusbar-rss.vue b/packages/frontend/src/ui/_common_/statusbar-rss.vue index d269234605..63150e2d07 100644 --- a/packages/frontend/src/ui/_common_/statusbar-rss.vue +++ b/packages/frontend/src/ui/_common_/statusbar-rss.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/ui/_common_/statusbar-user-list.vue b/packages/frontend/src/ui/_common_/statusbar-user-list.vue index 65d74affc4..c4c87cd3ba 100644 --- a/packages/frontend/src/ui/_common_/statusbar-user-list.vue +++ b/packages/frontend/src/ui/_common_/statusbar-user-list.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/ui/_common_/statusbars.vue b/packages/frontend/src/ui/_common_/statusbars.vue index a38430fee4..3d6557be11 100644 --- a/packages/frontend/src/ui/_common_/statusbars.vue +++ b/packages/frontend/src/ui/_common_/statusbars.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/ui/_common_/stream-indicator.vue b/packages/frontend/src/ui/_common_/stream-indicator.vue index 8229b7bd1c..abeb66c326 100644 --- a/packages/frontend/src/ui/_common_/stream-indicator.vue +++ b/packages/frontend/src/ui/_common_/stream-indicator.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/ui/_common_/sw-inject.ts b/packages/frontend/src/ui/_common_/sw-inject.ts index 3911bd1389..678a2a9eea 100644 --- a/packages/frontend/src/ui/_common_/sw-inject.ts +++ b/packages/frontend/src/ui/_common_/sw-inject.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { api, post } from '@/os'; import { $i, login } from '@/account'; diff --git a/packages/frontend/src/ui/_common_/upload.vue b/packages/frontend/src/ui/_common_/upload.vue index dc3ccfa56d..353cf36f8d 100644 --- a/packages/frontend/src/ui/_common_/upload.vue +++ b/packages/frontend/src/ui/_common_/upload.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/ui/classic.header.vue b/packages/frontend/src/ui/classic.header.vue index 3efde3d819..c288308add 100644 --- a/packages/frontend/src/ui/classic.header.vue +++ b/packages/frontend/src/ui/classic.header.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/ui/classic.sidebar.vue b/packages/frontend/src/ui/classic.sidebar.vue index 23b25f9ad7..86f0464ee1 100644 --- a/packages/frontend/src/ui/classic.sidebar.vue +++ b/packages/frontend/src/ui/classic.sidebar.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/ui/classic.vue b/packages/frontend/src/ui/classic.vue index a35860cbc6..53420aa6de 100644 --- a/packages/frontend/src/ui/classic.vue +++ b/packages/frontend/src/ui/classic.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/ui/deck.vue b/packages/frontend/src/ui/deck.vue index 6aa83fefa2..f047474741 100644 --- a/packages/frontend/src/ui/deck.vue +++ b/packages/frontend/src/ui/deck.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/ui/deck/antenna-column.vue b/packages/frontend/src/ui/deck/antenna-column.vue index a9ce291f9b..dfddb1bd05 100644 --- a/packages/frontend/src/ui/deck/antenna-column.vue +++ b/packages/frontend/src/ui/deck/antenna-column.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/ui/deck/channel-column.vue b/packages/frontend/src/ui/deck/channel-column.vue index 4554e70d11..de6d7f505b 100644 --- a/packages/frontend/src/ui/deck/channel-column.vue +++ b/packages/frontend/src/ui/deck/channel-column.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/ui/deck/column.vue b/packages/frontend/src/ui/deck/column.vue index 138550ae66..d2eef4bea6 100644 --- a/packages/frontend/src/ui/deck/column.vue +++ b/packages/frontend/src/ui/deck/column.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/ui/deck/deck-store.ts b/packages/frontend/src/ui/deck/deck-store.ts index fcc99b7530..8aaf6c73d3 100644 --- a/packages/frontend/src/ui/deck/deck-store.ts +++ b/packages/frontend/src/ui/deck/deck-store.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { throttle } from 'throttle-debounce'; import { markRaw } from 'vue'; diff --git a/packages/frontend/src/ui/deck/direct-column.vue b/packages/frontend/src/ui/deck/direct-column.vue index 37a48bd71c..228db37345 100644 --- a/packages/frontend/src/ui/deck/direct-column.vue +++ b/packages/frontend/src/ui/deck/direct-column.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/ui/deck/list-column.vue b/packages/frontend/src/ui/deck/list-column.vue index ba4c8f9a5c..225c4948b1 100644 --- a/packages/frontend/src/ui/deck/list-column.vue +++ b/packages/frontend/src/ui/deck/list-column.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/ui/deck/main-column.vue b/packages/frontend/src/ui/deck/main-column.vue index d30cb96121..08d55b8ee1 100644 --- a/packages/frontend/src/ui/deck/main-column.vue +++ b/packages/frontend/src/ui/deck/main-column.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/ui/deck/mentions-column.vue b/packages/frontend/src/ui/deck/mentions-column.vue index 230ab81f24..c8d0d21a02 100644 --- a/packages/frontend/src/ui/deck/mentions-column.vue +++ b/packages/frontend/src/ui/deck/mentions-column.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/ui/deck/notifications-column.vue b/packages/frontend/src/ui/deck/notifications-column.vue index 1f62df581e..3308197c5e 100644 --- a/packages/frontend/src/ui/deck/notifications-column.vue +++ b/packages/frontend/src/ui/deck/notifications-column.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/ui/deck/role-timeline-column.vue b/packages/frontend/src/ui/deck/role-timeline-column.vue index 86a89b0af5..5406865f68 100644 --- a/packages/frontend/src/ui/deck/role-timeline-column.vue +++ b/packages/frontend/src/ui/deck/role-timeline-column.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/ui/deck/tl-column.vue b/packages/frontend/src/ui/deck/tl-column.vue index c7dae2cb8c..22e69d8788 100644 --- a/packages/frontend/src/ui/deck/tl-column.vue +++ b/packages/frontend/src/ui/deck/tl-column.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/ui/deck/widgets-column.vue b/packages/frontend/src/ui/deck/widgets-column.vue index 6b6838727a..5569e3d64c 100644 --- a/packages/frontend/src/ui/deck/widgets-column.vue +++ b/packages/frontend/src/ui/deck/widgets-column.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/ui/minimum.vue b/packages/frontend/src/ui/minimum.vue index 5a5f99f6a7..24a7a55a13 100644 --- a/packages/frontend/src/ui/minimum.vue +++ b/packages/frontend/src/ui/minimum.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/ui/universal.vue b/packages/frontend/src/ui/universal.vue index 34d4b53772..1c09df8394 100644 --- a/packages/frontend/src/ui/universal.vue +++ b/packages/frontend/src/ui/universal.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/ui/universal.widgets.vue b/packages/frontend/src/ui/universal.widgets.vue index f90e0098e3..76ac000429 100644 --- a/packages/frontend/src/ui/universal.widgets.vue +++ b/packages/frontend/src/ui/universal.widgets.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/ui/visitor.vue b/packages/frontend/src/ui/visitor.vue index 94fa8842b9..010c5b210e 100644 --- a/packages/frontend/src/ui/visitor.vue +++ b/packages/frontend/src/ui/visitor.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/ui/zen.vue b/packages/frontend/src/ui/zen.vue index 9b3875255d..18582d9465 100644 --- a/packages/frontend/src/ui/zen.vue +++ b/packages/frontend/src/ui/zen.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/widgets/WidgetActivity.calendar.vue b/packages/frontend/src/widgets/WidgetActivity.calendar.vue index ffe32dc3d6..aa9fb0a106 100644 --- a/packages/frontend/src/widgets/WidgetActivity.calendar.vue +++ b/packages/frontend/src/widgets/WidgetActivity.calendar.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/widgets/WidgetActivity.chart.vue b/packages/frontend/src/widgets/WidgetActivity.chart.vue index 57fa0037e5..9cfd845ace 100644 --- a/packages/frontend/src/widgets/WidgetActivity.chart.vue +++ b/packages/frontend/src/widgets/WidgetActivity.chart.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/widgets/WidgetActivity.vue b/packages/frontend/src/widgets/WidgetActivity.vue index bf30ba8a79..1c4a396b2e 100644 --- a/packages/frontend/src/widgets/WidgetActivity.vue +++ b/packages/frontend/src/widgets/WidgetActivity.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/widgets/WidgetAichan.vue b/packages/frontend/src/widgets/WidgetAichan.vue index 8b224346c8..dfd5164f7a 100644 --- a/packages/frontend/src/widgets/WidgetAichan.vue +++ b/packages/frontend/src/widgets/WidgetAichan.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/widgets/WidgetAiscript.vue b/packages/frontend/src/widgets/WidgetAiscript.vue index 3582f549ef..5bd5f90769 100644 --- a/packages/frontend/src/widgets/WidgetAiscript.vue +++ b/packages/frontend/src/widgets/WidgetAiscript.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/widgets/WidgetAiscriptApp.vue b/packages/frontend/src/widgets/WidgetAiscriptApp.vue index 5bbfee8322..df9ae95ee1 100644 --- a/packages/frontend/src/widgets/WidgetAiscriptApp.vue +++ b/packages/frontend/src/widgets/WidgetAiscriptApp.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/widgets/WidgetButton.vue b/packages/frontend/src/widgets/WidgetButton.vue index 3b410815e6..d7df6bc715 100644 --- a/packages/frontend/src/widgets/WidgetButton.vue +++ b/packages/frontend/src/widgets/WidgetButton.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/widgets/WidgetCalendar.vue b/packages/frontend/src/widgets/WidgetCalendar.vue index a9d8f97079..18e16cd5b7 100644 --- a/packages/frontend/src/widgets/WidgetCalendar.vue +++ b/packages/frontend/src/widgets/WidgetCalendar.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/widgets/WidgetClicker.vue b/packages/frontend/src/widgets/WidgetClicker.vue index 9d5745a2dc..96600b5fab 100644 --- a/packages/frontend/src/widgets/WidgetClicker.vue +++ b/packages/frontend/src/widgets/WidgetClicker.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/widgets/WidgetClock.vue b/packages/frontend/src/widgets/WidgetClock.vue index b717d27ae9..ada1fd815a 100644 --- a/packages/frontend/src/widgets/WidgetClock.vue +++ b/packages/frontend/src/widgets/WidgetClock.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/widgets/WidgetDigitalClock.vue b/packages/frontend/src/widgets/WidgetDigitalClock.vue index a1f3b381ef..051ed4714b 100644 --- a/packages/frontend/src/widgets/WidgetDigitalClock.vue +++ b/packages/frontend/src/widgets/WidgetDigitalClock.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/widgets/WidgetFederation.vue b/packages/frontend/src/widgets/WidgetFederation.vue index 867211d308..8fbd1c6ff5 100644 --- a/packages/frontend/src/widgets/WidgetFederation.vue +++ b/packages/frontend/src/widgets/WidgetFederation.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/widgets/WidgetInstanceCloud.vue b/packages/frontend/src/widgets/WidgetInstanceCloud.vue index 78055cdd49..72b12720da 100644 --- a/packages/frontend/src/widgets/WidgetInstanceCloud.vue +++ b/packages/frontend/src/widgets/WidgetInstanceCloud.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/widgets/WidgetInstanceInfo.vue b/packages/frontend/src/widgets/WidgetInstanceInfo.vue index df9b259e32..a7413d4b6a 100644 --- a/packages/frontend/src/widgets/WidgetInstanceInfo.vue +++ b/packages/frontend/src/widgets/WidgetInstanceInfo.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/widgets/WidgetJobQueue.vue b/packages/frontend/src/widgets/WidgetJobQueue.vue index f9968219ca..eeb9265048 100644 --- a/packages/frontend/src/widgets/WidgetJobQueue.vue +++ b/packages/frontend/src/widgets/WidgetJobQueue.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/widgets/WidgetMemo.vue b/packages/frontend/src/widgets/WidgetMemo.vue index c9d0da0cdf..305a48f35b 100644 --- a/packages/frontend/src/widgets/WidgetMemo.vue +++ b/packages/frontend/src/widgets/WidgetMemo.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/widgets/WidgetNotifications.vue b/packages/frontend/src/widgets/WidgetNotifications.vue index 7449dc3e18..c4ea3c530c 100644 --- a/packages/frontend/src/widgets/WidgetNotifications.vue +++ b/packages/frontend/src/widgets/WidgetNotifications.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/widgets/WidgetOnlineUsers.vue b/packages/frontend/src/widgets/WidgetOnlineUsers.vue index c2bad34dc6..f0447bb8b0 100644 --- a/packages/frontend/src/widgets/WidgetOnlineUsers.vue +++ b/packages/frontend/src/widgets/WidgetOnlineUsers.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/widgets/WidgetPhotos.vue b/packages/frontend/src/widgets/WidgetPhotos.vue index 17555c649f..c2e3140f84 100644 --- a/packages/frontend/src/widgets/WidgetPhotos.vue +++ b/packages/frontend/src/widgets/WidgetPhotos.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/widgets/WidgetPostForm.vue b/packages/frontend/src/widgets/WidgetPostForm.vue index 7d148d7876..0714a34d6b 100644 --- a/packages/frontend/src/widgets/WidgetPostForm.vue +++ b/packages/frontend/src/widgets/WidgetPostForm.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/widgets/WidgetProfile.vue b/packages/frontend/src/widgets/WidgetProfile.vue index b4c3e180ad..8d20127470 100644 --- a/packages/frontend/src/widgets/WidgetProfile.vue +++ b/packages/frontend/src/widgets/WidgetProfile.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/widgets/WidgetRss.vue b/packages/frontend/src/widgets/WidgetRss.vue index 4a813d397e..de655c1982 100644 --- a/packages/frontend/src/widgets/WidgetRss.vue +++ b/packages/frontend/src/widgets/WidgetRss.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/widgets/WidgetRssTicker.vue b/packages/frontend/src/widgets/WidgetRssTicker.vue index c0407f0cfb..ec790eef67 100644 --- a/packages/frontend/src/widgets/WidgetRssTicker.vue +++ b/packages/frontend/src/widgets/WidgetRssTicker.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/widgets/WidgetSlideshow.vue b/packages/frontend/src/widgets/WidgetSlideshow.vue index 4e83040a8a..f7b4d5b32e 100644 --- a/packages/frontend/src/widgets/WidgetSlideshow.vue +++ b/packages/frontend/src/widgets/WidgetSlideshow.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/widgets/WidgetTimeline.vue b/packages/frontend/src/widgets/WidgetTimeline.vue index 0f5d9c07df..56bb7f0b9e 100644 --- a/packages/frontend/src/widgets/WidgetTimeline.vue +++ b/packages/frontend/src/widgets/WidgetTimeline.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/widgets/WidgetTrends.vue b/packages/frontend/src/widgets/WidgetTrends.vue index 515973f29a..846b02ec1f 100644 --- a/packages/frontend/src/widgets/WidgetTrends.vue +++ b/packages/frontend/src/widgets/WidgetTrends.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/widgets/WidgetUnixClock.vue b/packages/frontend/src/widgets/WidgetUnixClock.vue index 8693686ba4..bebec705ee 100644 --- a/packages/frontend/src/widgets/WidgetUnixClock.vue +++ b/packages/frontend/src/widgets/WidgetUnixClock.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/widgets/WidgetUserList.vue b/packages/frontend/src/widgets/WidgetUserList.vue index 4acea20035..7be3331414 100644 --- a/packages/frontend/src/widgets/WidgetUserList.vue +++ b/packages/frontend/src/widgets/WidgetUserList.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/widgets/index.ts b/packages/frontend/src/widgets/index.ts index 7cf275e8a2..405c49ab06 100644 --- a/packages/frontend/src/widgets/index.ts +++ b/packages/frontend/src/widgets/index.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { App, defineAsyncComponent } from 'vue'; diff --git a/packages/frontend/src/widgets/server-metric/cpu-mem.vue b/packages/frontend/src/widgets/server-metric/cpu-mem.vue index 1a14c75cd4..c656d75429 100644 --- a/packages/frontend/src/widgets/server-metric/cpu-mem.vue +++ b/packages/frontend/src/widgets/server-metric/cpu-mem.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/widgets/server-metric/cpu.vue b/packages/frontend/src/widgets/server-metric/cpu.vue index e729a24802..1c9cce8598 100644 --- a/packages/frontend/src/widgets/server-metric/cpu.vue +++ b/packages/frontend/src/widgets/server-metric/cpu.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/widgets/server-metric/disk.vue b/packages/frontend/src/widgets/server-metric/disk.vue index e815c25437..4faa6870cf 100644 --- a/packages/frontend/src/widgets/server-metric/disk.vue +++ b/packages/frontend/src/widgets/server-metric/disk.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/widgets/server-metric/index.vue b/packages/frontend/src/widgets/server-metric/index.vue index 6981468f10..d1d94ad88d 100644 --- a/packages/frontend/src/widgets/server-metric/index.vue +++ b/packages/frontend/src/widgets/server-metric/index.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/widgets/server-metric/mem.vue b/packages/frontend/src/widgets/server-metric/mem.vue index 8d3ffbb286..96ca2d9156 100644 --- a/packages/frontend/src/widgets/server-metric/mem.vue +++ b/packages/frontend/src/widgets/server-metric/mem.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/widgets/server-metric/net.vue b/packages/frontend/src/widgets/server-metric/net.vue index c28982a8d2..661ac4bfb0 100644 --- a/packages/frontend/src/widgets/server-metric/net.vue +++ b/packages/frontend/src/widgets/server-metric/net.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/widgets/server-metric/pie.vue b/packages/frontend/src/widgets/server-metric/pie.vue index aa1ef71e66..c8a1496101 100644 --- a/packages/frontend/src/widgets/server-metric/pie.vue +++ b/packages/frontend/src/widgets/server-metric/pie.vue @@ -1,6 +1,5 @@ diff --git a/packages/frontend/src/widgets/widget.ts b/packages/frontend/src/widgets/widget.ts index 562c7b2800..ecb5c0c92d 100644 --- a/packages/frontend/src/widgets/widget.ts +++ b/packages/frontend/src/widgets/widget.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { reactive, watch } from 'vue'; import { throttle } from 'throttle-debounce'; diff --git a/packages/frontend/src/workers/draw-blurhash.ts b/packages/frontend/src/workers/draw-blurhash.ts index 4be03ae66b..b919092223 100644 --- a/packages/frontend/src/workers/draw-blurhash.ts +++ b/packages/frontend/src/workers/draw-blurhash.ts @@ -1,21 +1,22 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { render } from 'buraha'; const canvas = new OffscreenCanvas(64, 64); onmessage = (event) => { - // console.log(event.data); - if (!('id' in event.data && typeof event.data.id === 'string')) { - return; - } - if (!('hash' in event.data && typeof event.data.hash === 'string')) { - return; - } + // console.log(event.data); + if (!('id' in event.data && typeof event.data.id === 'string')) { + return; + } + if (!('hash' in event.data && typeof event.data.hash === 'string')) { + return; + } - render(event.data.hash, canvas); - const bitmap = canvas.transferToImageBitmap(); - postMessage({ id: event.data.id, bitmap }); + render(event.data.hash, canvas); + const bitmap = canvas.transferToImageBitmap(); + postMessage({ id: event.data.id, bitmap }); }; diff --git a/packages/frontend/src/workers/test-webgl2.ts b/packages/frontend/src/workers/test-webgl2.ts index 608316c04e..b3501cfe50 100644 --- a/packages/frontend/src/workers/test-webgl2.ts +++ b/packages/frontend/src/workers/test-webgl2.ts @@ -1,11 +1,12 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ const canvas = globalThis.OffscreenCanvas && new OffscreenCanvas(1, 1); -const gl = canvas?.getContext('webgl2'); +const gl = canvas.getContext('webgl2'); if (gl) { - postMessage({ result: true }); + postMessage({ result: true }); } else { - postMessage({ result: false }); + postMessage({ result: false }); } diff --git a/packages/frontend/test/home.test.ts b/packages/frontend/test/home.test.ts index c12a2b2ddb..53bdd6a5c2 100644 --- a/packages/frontend/test/home.test.ts +++ b/packages/frontend/test/home.test.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { describe, test, assert, afterEach } from 'vitest'; import { render, cleanup, type RenderResult } from '@testing-library/vue'; diff --git a/packages/frontend/test/init.ts b/packages/frontend/test/init.ts index c94a3f89c4..80967034f2 100644 --- a/packages/frontend/test/init.ts +++ b/packages/frontend/test/init.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { vi } from 'vitest'; import createFetchMock from 'vitest-fetch-mock'; diff --git a/packages/frontend/test/note.test.ts b/packages/frontend/test/note.test.ts index f8a862d790..5d75623a49 100644 --- a/packages/frontend/test/note.test.ts +++ b/packages/frontend/test/note.test.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { describe, test, assert, afterEach } from 'vitest'; import { render, cleanup, type RenderResult } from '@testing-library/vue'; diff --git a/packages/frontend/test/url-preview.test.ts b/packages/frontend/test/url-preview.test.ts index 8d9aa90151..1d43a628f2 100644 --- a/packages/frontend/test/url-preview.test.ts +++ b/packages/frontend/test/url-preview.test.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { describe, test, assert, afterEach } from 'vitest'; import { render, cleanup, type RenderResult } from '@testing-library/vue'; diff --git a/packages/sw/build.js b/packages/sw/build.js index 5e017730a2..ee190079b9 100644 --- a/packages/sw/build.js +++ b/packages/sw/build.js @@ -1,8 +1,9 @@ // @ts-check -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { fileURLToPath } from 'node:url'; import * as esbuild from 'esbuild'; diff --git a/packages/sw/src/@types/global.d.ts b/packages/sw/src/@types/global.d.ts index 2709df0d86..80d7b02fe5 100644 --- a/packages/sw/src/@types/global.d.ts +++ b/packages/sw/src/@types/global.d.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ // eslint-disable-next-line @typescript-eslint/no-explicit-any type FIXME = any; diff --git a/packages/sw/src/scripts/create-notification.ts b/packages/sw/src/scripts/create-notification.ts index 48b20859b5..97ff8a3101 100644 --- a/packages/sw/src/scripts/create-notification.ts +++ b/packages/sw/src/scripts/create-notification.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* * Notification manager for SW diff --git a/packages/sw/src/scripts/get-account-from-id.ts b/packages/sw/src/scripts/get-account-from-id.ts index 2713c8db40..bbd306374e 100644 --- a/packages/sw/src/scripts/get-account-from-id.ts +++ b/packages/sw/src/scripts/get-account-from-id.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { get } from 'idb-keyval'; diff --git a/packages/sw/src/scripts/get-user-name.ts b/packages/sw/src/scripts/get-user-name.ts index 664970046c..2acdb91159 100644 --- a/packages/sw/src/scripts/get-user-name.ts +++ b/packages/sw/src/scripts/get-user-name.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export function getUserName(user: { name?: string | null; username: string }): string { return user.name === '' ? user.username : user.name ?? user.username; diff --git a/packages/sw/src/scripts/i18n.ts b/packages/sw/src/scripts/i18n.ts index 32b845add8..2c7feccc44 100644 --- a/packages/sw/src/scripts/i18n.ts +++ b/packages/sw/src/scripts/i18n.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export type Locale = { [key: string]: string | Locale }; diff --git a/packages/sw/src/scripts/lang.ts b/packages/sw/src/scripts/lang.ts index 09db5a8889..dbe25130b4 100644 --- a/packages/sw/src/scripts/lang.ts +++ b/packages/sw/src/scripts/lang.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* * Language manager for SW diff --git a/packages/sw/src/scripts/login-id.ts b/packages/sw/src/scripts/login-id.ts index c1b391509b..7002485925 100644 --- a/packages/sw/src/scripts/login-id.ts +++ b/packages/sw/src/scripts/login-id.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export function getUrlWithLoginId(url: string, loginId: string): string { const u = new URL(url, origin); diff --git a/packages/sw/src/scripts/operations.ts b/packages/sw/src/scripts/operations.ts index daa8e40d82..a849505bc3 100644 --- a/packages/sw/src/scripts/operations.ts +++ b/packages/sw/src/scripts/operations.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ /* * Operations diff --git a/packages/sw/src/scripts/twemoji-base.ts b/packages/sw/src/scripts/twemoji-base.ts index 8381db0c9e..32c5172131 100644 --- a/packages/sw/src/scripts/twemoji-base.ts +++ b/packages/sw/src/scripts/twemoji-base.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ export function char2fileName(char: string): string { let codes = Array.from(char) diff --git a/packages/sw/src/sw.ts b/packages/sw/src/sw.ts index 0d2cacda76..f153b7291f 100644 --- a/packages/sw/src/sw.ts +++ b/packages/sw/src/sw.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import { get } from 'idb-keyval'; import * as Acct from 'misskey-js/built/acct'; @@ -26,7 +27,7 @@ globalThis.addEventListener('activate', ev => { }); function offlineContentHTML(): string { - return `Offline. Service Worker @${_VERSION_} ` + return `Offline. Service Worker @${_VERSION_} `; } globalThis.addEventListener('fetch', ev => { diff --git a/packages/sw/src/types.ts b/packages/sw/src/types.ts index 40d6580311..fa1ed15ed6 100644 --- a/packages/sw/src/types.ts +++ b/packages/sw/src/types.ts @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import type * as Misskey from 'misskey-js'; diff --git a/scripts/build-pre.js b/scripts/build-pre.js index 686469053b..bf3e355b5b 100644 --- a/scripts/build-pre.js +++ b/scripts/build-pre.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ const fs = require('fs'); const meta = require('../package.json'); diff --git a/scripts/clean-all.js b/scripts/clean-all.js index 27ae3b5797..4735eed760 100644 --- a/scripts/clean-all.js +++ b/scripts/clean-all.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ const { execSync } = require('child_process'); const fs = require('fs'); diff --git a/scripts/clean.js b/scripts/clean.js index b1c027376e..812553e17b 100644 --- a/scripts/clean.js +++ b/scripts/clean.js @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ const fs = require('fs'); diff --git a/scripts/dev.mjs b/scripts/dev.mjs index fbb23328c6..5240a5c4a8 100644 --- a/scripts/dev.mjs +++ b/scripts/dev.mjs @@ -1,6 +1,7 @@ -// SPDX-FileCopyrightText: syuilo and other misskey contributors -// -// SPDX-License-Identifier: AGPL-3.0-only +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * SPDX-License-Identifier: AGPL-3.0-only + */ import fs from 'node:fs'; import { dirname } from 'node:path';