From 6d115ba38bcdfee44051fe9711def19c6917e3ec Mon Sep 17 00:00:00 2001 From: Shun Sakai Date: Tue, 25 Jul 2023 18:28:57 +0900 Subject: [PATCH] chore: Add the SPDX information to each file Add copyright and licensing information as defined in version 3.0 of the REUSE Specification. --- healthcheck.sh | 4 ++++ packages/backend/check_connect.js | 4 ++++ packages/backend/migration/1000000000000-Init.js | 4 +++- packages/backend/migration/1556348509290-Pages.js | 4 +++- packages/backend/migration/1556746559567-UserProfile.js | 4 +++- packages/backend/migration/1557476068003-PinnedUsers.js | 4 +++- packages/backend/migration/1557761316509-AddSomeUrls.js | 4 +++- .../backend/migration/1557932705754-ObjectStorageSetting.js | 4 +++- packages/backend/migration/1558072954435-PageLike.js | 4 +++- packages/backend/migration/1558103093633-UserGroup.js | 4 +++- packages/backend/migration/1558257926829-UserGroupInvite.js | 4 +++- packages/backend/migration/1558266512381-UserListJoining.js | 4 +++- packages/backend/migration/1561706992953-webauthn.js | 4 +++- packages/backend/migration/1561873850023-ChartIndexes.js | 4 +++- .../backend/migration/1562422242907-PasswordLessLogin.js | 4 +++- packages/backend/migration/1562444565093-PinnedPage.js | 4 +++- .../backend/migration/1562448332510-PageTitleHideOption.js | 4 +++- packages/backend/migration/1562869971568-ModerationLog.js | 4 +++- packages/backend/migration/1563757595828-UsedUsername.js | 4 +++- packages/backend/migration/1565634203341-room.js | 4 +++- .../backend/migration/1571220798684-CustomEmojiCategory.js | 4 +++- packages/backend/migration/1572760203493-nodeinfo.js | 4 +++- .../backend/migration/1576269851876-TalkFederationId.js | 4 +++- .../backend/migration/1576869585998-ProxyRemoteFiles.js | 4 +++- packages/backend/migration/1579267006611-v12.js | 4 +++- packages/backend/migration/1579270193251-v12-2.js | 4 +++- packages/backend/migration/1579282808087-v12-3.js | 4 +++- packages/backend/migration/1579544426412-v12-4.js | 4 +++- packages/backend/migration/1579977526288-v12-5.js | 4 +++- packages/backend/migration/1579993013959-v12-6.js | 4 +++- packages/backend/migration/1580069531114-v12-7.js | 4 +++- packages/backend/migration/1580148575182-v12-8.js | 4 +++- packages/backend/migration/1580154400017-v12-9.js | 4 +++- packages/backend/migration/1580276619901-v12-10.js | 4 +++- packages/backend/migration/1580331224276-v12-11.js | 4 +++- packages/backend/migration/1580508795118-v12-12.js | 4 +++- packages/backend/migration/1580543501339-v12-13.js | 4 +++- packages/backend/migration/1580864313253-v12-14.js | 4 +++- .../migration/1581526429287-user-group-invitation.js | 4 +++- .../backend/migration/1581695816408-user-group-antenna.js | 4 +++- .../migration/1581708415836-drive-user-folder-id-index.js | 4 +++- packages/backend/migration/1581979837262-promo.js | 4 +++- .../backend/migration/1582019042083-featured-injecttion.js | 4 +++- packages/backend/migration/1582210532752-antenna-exclude.js | 4 +++- .../backend/migration/1582875306439-note-reaction-length.js | 4 +++- packages/backend/migration/1585361548360-miauth.js | 4 +++- .../backend/migration/1585385921215-custom-notification.js | 4 +++- packages/backend/migration/1585772678853-ap-url.js | 4 +++- .../migration/1586624197029-AddObjectStorageUseProxy.js | 4 +++- packages/backend/migration/1586641139527-remote-reaction.js | 4 +++- packages/backend/migration/1586708940386-pageAiScript.js | 4 +++- packages/backend/migration/1588044505511-hCaptcha.js | 4 +++- packages/backend/migration/1589023282116-pubRelay.js | 4 +++- packages/backend/migration/1595075960584-blurhash.js | 4 +++- .../migration/1595077605646-blurhash-for-avatar-banner.js | 4 +++- .../backend/migration/1595676934834-instance-icon-url.js | 4 +++- packages/backend/migration/1595771249699-word-mute.js | 4 +++- packages/backend/migration/1595782306083-word-mute2.js | 4 +++- packages/backend/migration/1596548170836-channel.js | 4 +++- packages/backend/migration/1596786425167-channel2.js | 4 +++- .../migration/1597230137744-objectStorageSetPublicRead.js | 4 +++- .../migration/1597236229720-IncludingNotificationTypes.js | 4 +++- .../backend/migration/1597385880794-add-sensitive-index.js | 4 +++- packages/backend/migration/1597459042300-channel-unread.js | 4 +++- .../migration/1597893996136-ChannelNoteIdDescIndex.js | 4 +++- .../migration/1600353287890-mutingNotificationTypes.js | 4 +++- .../migration/1603094348345-refine-abuse-user-report.js | 4 +++- .../migration/1603095701770-refine-abuse-user-report2.js | 4 +++- .../backend/migration/1603776877564-instance-theme-color.js | 4 +++- .../backend/migration/1603781553011-instance-favicon.js | 4 +++- .../backend/migration/1604821689616-delete-auto-watch.js | 4 +++- .../backend/migration/1605408848373-clip-description.js | 4 +++- packages/backend/migration/1605408971051-comments.js | 4 +++- .../migration/1605585339718-instance-pinned-pages.js | 4 +++- packages/backend/migration/1605965516823-instance-images.js | 4 +++- packages/backend/migration/1606191203881-no-crawle.js | 4 +++- .../backend/migration/1607151207216-instance-pinned-clip.js | 4 +++- packages/backend/migration/1607353487793-isExplorable.js | 4 +++- packages/backend/migration/1610277136869-registry.js | 4 +++- packages/backend/migration/1610277585759-registry2.js | 4 +++- packages/backend/migration/1610283021566-registry3.js | 4 +++- packages/backend/migration/1611354329133-followersUri.js | 4 +++- packages/backend/migration/1611397665007-gallery.js | 4 +++- .../1611547387175-objectStorageS3ForcePathStyle.js | 4 +++- .../backend/migration/1612619156584-announcement-email.js | 4 +++- .../migration/1613155914446-emailNotificationTypes.js | 4 +++- packages/backend/migration/1613181457597-user-lang.js | 4 +++- .../migration/1613503367223-use-bigint-for-driveUsage.js | 4 +++- packages/backend/migration/1615965918224-chart-v2.js | 4 +++- packages/backend/migration/1615966519402-chart-v2-2.js | 4 +++- .../migration/1618637372000-user-last-active-date.js | 4 +++- .../migration/1618639857000-user-hide-online-status.js | 4 +++- packages/backend/migration/1619942102890-password-reset.js | 4 +++- packages/backend/migration/1620019354680-ad.js | 4 +++- packages/backend/migration/1620364649428-ad2.js | 4 +++- .../backend/migration/1621479946000-add-note-indexes.js | 4 +++- .../1622679304522-user-profile-description-length.js | 4 +++- .../backend/migration/1622681548499-log-message-length.js | 4 +++- .../migration/1626509500668-fix-remote-file-proxy.js | 4 +++- packages/backend/migration/1629004542760-chart-reindex.js | 4 +++- .../backend/migration/1629024377804-deepl-integration.js | 4 +++- .../backend/migration/1629288472000-fix-channel-userId.js | 4 +++- packages/backend/migration/1629512953000-user-is-deleted.js | 4 +++- .../backend/migration/1629778475000-deepl-integration2.js | 4 +++- .../backend/migration/1629833361000-AddShowTLReplies.js | 4 +++- .../backend/migration/1629968054000_userInstanceBlocks.js | 4 +++- .../migration/1633068642000-email-required-for-signup.js | 4 +++- packages/backend/migration/1633071909016-user-pending.js | 4 +++- .../migration/1634486652000-user-public-reactions.js | 4 +++- packages/backend/migration/1634902659689-delete-log.js | 4 +++- .../backend/migration/1635500777168-note-thread-mute.js | 4 +++- packages/backend/migration/1636197624383-ff-visibility.js | 4 +++- .../backend/migration/1636697408073-remove-via-mobile.js | 4 +++- .../backend/migration/1637320813000-forwarded-report.js | 4 +++- packages/backend/migration/1639325650583-chart-v3.js | 4 +++- packages/backend/migration/1642611822809-emoji-url.js | 4 +++- .../migration/1642613870898-drive-file-webpublic-type.js | 4 +++- packages/backend/migration/1643963705770-chart-v4.js | 4 +++- packages/backend/migration/1643966656277-chart-v5.js | 4 +++- packages/backend/migration/1643967331284-chart-v6.js | 4 +++- .../backend/migration/1644010796173-convert-hard-mutes.js | 5 ++++- packages/backend/migration/1644058404077-chart-v7.js | 4 +++- packages/backend/migration/1644059847460-chart-v8.js | 4 +++- packages/backend/migration/1644060125705-chart-v9.js | 4 +++- packages/backend/migration/1644073149413-chart-v10.js | 4 +++- packages/backend/migration/1644095659741-chart-v11.js | 4 +++- packages/backend/migration/1644328606241-chart-v12.js | 4 +++- packages/backend/migration/1644331238153-chart-v13.js | 4 +++- packages/backend/migration/1644344266289-chart-v14.js | 4 +++- .../backend/migration/1644395759931-instance-theme-color.js | 4 +++- packages/backend/migration/1644481657998-chart-v15.js | 4 +++- .../backend/migration/1644551208096-following-indexes.js | 4 +++- .../migration/1645340161439-remove-max-note-text-length.js | 4 +++- .../migration/1645599900873-federation-chart-pubsub.js | 4 +++- .../migration/1646143552768-instance-default-theme.js | 4 ++++ packages/backend/migration/1646387162108-mute-expires-at.js | 4 ++++ .../migration/1646549089451-poll-ended-notification.js | 3 +++ .../migration/1646633030285-chart-federation-active.js | 4 ++++ .../1646655454495-remove-instance-drive-columns.js | 4 ++++ .../1646732390560-chart-federation-active-sub-pub.js | 4 ++++ packages/backend/migration/1648548247382-webhook.js | 4 ++++ packages/backend/migration/1648816172177-webhook-2.js | 3 +++ packages/backend/migration/1651224615271-foreign-key.js | 4 ++++ .../backend/migration/1652859567549-uniform-themecolor.js | 4 ++++ packages/backend/migration/1655368940105-nsfw-detection.js | 4 ++++ .../backend/migration/1655371960534-nsfw-detection-2.js | 4 ++++ .../backend/migration/1655388169582-nsfw-detection-3.js | 4 ++++ .../backend/migration/1655393015659-nsfw-detection-4.js | 4 ++++ .../migration/1655813815729-driveCapacityOverrideMb.js | 4 ++++ packages/backend/migration/1655918165614-user-ip.js | 4 ++++ packages/backend/migration/1656122560740-file-ip.js | 4 ++++ .../backend/migration/1656251734807-nsfw-detection-5.js | 4 ++++ packages/backend/migration/1656328812281-ip-2.js | 4 ++++ .../backend/migration/1656408772602-nsfw-detection-6.js | 4 ++++ .../backend/migration/1656772790599-user-moderation-note.js | 4 ++++ .../migration/1657346559800-active-email-validation.js | 4 ++++ packages/backend/migration/1664694635394-turnstile.js | 4 ++++ .../backend/migration/1665091090561-add-renote-muting.js | 3 +++ .../1669138716634-whetherPushNotifyToSendReadMessage.js | 4 ++++ .../backend/migration/1671924750884-RetentionAggregation.js | 4 ++++ .../migration/1671926422832-RetentionAggregation2.js | 4 ++++ packages/backend/migration/1672562400597-PerUserPvChart.js | 4 ++++ .../migration/1672703171386-remove-latestRequestSentAt.js | 4 ++++ .../migration/1672704017999-remove-lastCommunicatedAt.js | 4 ++++ .../backend/migration/1672704136584-remove-latestStatus.js | 4 ++++ packages/backend/migration/1672822262496-Flash.js | 4 ++++ .../backend/migration/1673336077243-PollChoiceLength.js | 4 ++++ packages/backend/migration/1673500412259-Role.js | 4 ++++ packages/backend/migration/1673515526953-RoleColor.js | 4 ++++ packages/backend/migration/1673522856499-RoleIroiro.js | 4 ++++ packages/backend/migration/1673524604156-RoleLastUsedAt.js | 4 ++++ packages/backend/migration/1673570377815-RoleConditional.js | 4 ++++ packages/backend/migration/1673575973645-MetaClean.js | 4 ++++ packages/backend/migration/1673783015567-Policies.js | 4 ++++ .../backend/migration/1673812883772-firstRetrievedAt.js | 4 ++++ .../backend/migration/1674086433654-flashScriptLength.js | 4 ++++ packages/backend/migration/1674118260469-achievement.js | 4 ++++ packages/backend/migration/1674255666603-loggedInDates.js | 4 ++++ .../backend/migration/1675053125067-fixforeignkeyreports.js | 4 ++++ packages/backend/migration/1675404035646-cleanup.js | 4 ++++ packages/backend/migration/1675557528704-role-icon-badge.js | 4 ++++ packages/backend/migration/1676434944993-drop-group.js | 4 ++++ packages/backend/migration/1676438468213-ad3.js | 4 ++++ packages/backend/migration/1677054292210-ad4.js | 4 ++++ .../migration/1677570181236-role-assignment-expires-at.js | 4 ++++ .../migration/1678164627293-per-note-reaction-acceptance.js | 4 ++++ .../backend/migration/1678426061773-tweak-varchar-length.js | 4 ++++ packages/backend/migration/1678427401214-remove-unused.js | 4 ++++ .../backend/migration/1678602320354-role-display-order.js | 4 ++++ packages/backend/migration/1678694614599-sensitive-words.js | 4 ++++ .../backend/migration/1678869617549-retention-date-key.js | 4 ++++ .../migration/1678945242650-add-props-for-custom-emoji.js | 4 ++++ packages/backend/migration/1678953978856-clip-favorite.js | 4 ++++ packages/backend/migration/1679309757174-antenna-active.js | 4 ++++ .../migration/1679639483253-enableChartsForRemoteUser.js | 4 ++++ packages/backend/migration/1679651580149-cleanup.js | 4 ++++ .../1679652081809-enableChartsForFederatedInstances.js | 4 ++++ packages/backend/migration/1680228513388-channelFavorite.js | 4 ++++ .../backend/migration/1680238118084-channelNotePining.js | 4 ++++ packages/backend/migration/1680491187535-cleanup.js | 4 ++++ packages/backend/migration/1680582195041-cleanup.js | 4 ++++ packages/backend/migration/1680702787050-UserMemo.js | 4 ++++ .../migration/1680775031481-avatar-url-and-banner-url.js | 4 ++++ packages/backend/migration/1680931179228-account-move.js | 4 ++++ packages/backend/migration/1681400427971-serverRules.js | 4 ++++ packages/backend/migration/1681870960239-RoleTLSetting.js | 4 ++++ packages/backend/migration/1682190963894-movedAt.js | 4 ++++ .../backend/migration/1682754135458-preservedUsernames.js | 4 ++++ packages/backend/migration/1682985520254-channelColor.js | 4 ++++ packages/backend/migration/1683328299359-channelArchive.js | 4 ++++ .../backend/migration/1683682889948-prevent-ai-larning.js | 4 ++++ .../1683683083083-public-reactions-default-true.js | 4 ++++ packages/backend/migration/1683789676867-fix-typo.js | 4 ++++ packages/backend/migration/1683847157541-UserList.js | 4 ++++ .../backend/migration/1683869758873-UserListFavorites.js | 4 ++++ .../migration/1684206886988-remove-showTimelineReplies.js | 4 ++++ packages/backend/migration/1684386446061-emoji-improve.js | 4 ++++ packages/backend/migration/1685973839966-errorImageUrl.js | 4 ++++ .../backend/migration/1688280713783-add-meta-options.js | 4 ++++ .../migration/1688720440658-refactor-invite-system.js | 4 ++++ .../migration/1688880985544-add-index-to-relations.js | 4 ++++ packages/backend/migration/1689102832143-nsfw-cache.js | 4 ++++ packages/backend/src/@types/hcaptcha.d.ts | 4 ++++ packages/backend/src/@types/http-signature.d.ts | 4 ++++ packages/backend/src/@types/os-utils.d.ts | 4 ++++ packages/backend/src/@types/package.json.d.ts | 4 ++++ packages/backend/src/@types/probe-image-size.d.ts | 4 ++++ packages/backend/src/@types/redis-lock.d.ts | 4 ++++ packages/backend/src/GlobalModule.ts | 4 ++++ packages/backend/src/MainModule.ts | 4 ++++ packages/backend/src/NestLogger.ts | 4 ++++ packages/backend/src/boot/common.ts | 4 ++++ packages/backend/src/boot/index.ts | 3 +++ packages/backend/src/boot/master.ts | 4 ++++ packages/backend/src/boot/worker.ts | 4 ++++ packages/backend/src/config.ts | 4 ++++ packages/backend/src/const.ts | 4 ++++ packages/backend/src/core/AccountMoveService.ts | 4 ++++ packages/backend/src/core/AccountUpdateService.ts | 4 ++++ packages/backend/src/core/AchievementService.ts | 4 ++++ packages/backend/src/core/AiService.ts | 4 ++++ packages/backend/src/core/AntennaService.ts | 4 ++++ packages/backend/src/core/AppLockService.ts | 4 ++++ packages/backend/src/core/CacheService.ts | 4 ++++ packages/backend/src/core/CaptchaService.ts | 4 ++++ packages/backend/src/core/CoreModule.ts | 4 ++++ packages/backend/src/core/CreateSystemUserService.ts | 4 ++++ packages/backend/src/core/CustomEmojiService.ts | 4 ++++ packages/backend/src/core/DeleteAccountService.ts | 4 ++++ packages/backend/src/core/DownloadService.ts | 4 ++++ packages/backend/src/core/DriveService.ts | 4 ++++ packages/backend/src/core/EmailService.ts | 4 ++++ packages/backend/src/core/FederatedInstanceService.ts | 4 ++++ packages/backend/src/core/FetchInstanceMetadataService.ts | 4 ++++ packages/backend/src/core/FileInfoService.ts | 4 ++++ packages/backend/src/core/GlobalEventService.ts | 4 ++++ packages/backend/src/core/HashtagService.ts | 4 ++++ packages/backend/src/core/HttpRequestService.ts | 4 ++++ packages/backend/src/core/IdService.ts | 4 ++++ packages/backend/src/core/ImageProcessingService.ts | 4 ++++ packages/backend/src/core/InstanceActorService.ts | 4 ++++ packages/backend/src/core/InternalStorageService.ts | 4 ++++ packages/backend/src/core/LoggerService.ts | 4 ++++ packages/backend/src/core/MetaService.ts | 4 ++++ packages/backend/src/core/MfmService.ts | 4 ++++ packages/backend/src/core/ModerationLogService.ts | 4 ++++ packages/backend/src/core/NoteCreateService.ts | 4 ++++ packages/backend/src/core/NoteDeleteService.ts | 4 ++++ packages/backend/src/core/NotePiningService.ts | 4 ++++ packages/backend/src/core/NoteReadService.ts | 4 ++++ packages/backend/src/core/NotificationService.ts | 4 ++++ packages/backend/src/core/PollService.ts | 4 ++++ packages/backend/src/core/ProxyAccountService.ts | 4 ++++ packages/backend/src/core/PushNotificationService.ts | 4 ++++ packages/backend/src/core/QueryService.ts | 4 ++++ packages/backend/src/core/QueueModule.ts | 4 ++++ packages/backend/src/core/QueueService.ts | 4 ++++ packages/backend/src/core/ReactionService.ts | 4 ++++ packages/backend/src/core/RelayService.ts | 4 ++++ packages/backend/src/core/RemoteLoggerService.ts | 4 ++++ packages/backend/src/core/RemoteUserResolveService.ts | 4 ++++ packages/backend/src/core/RoleService.ts | 4 ++++ packages/backend/src/core/S3Service.ts | 4 ++++ packages/backend/src/core/SearchService.ts | 4 ++++ packages/backend/src/core/SignupService.ts | 4 ++++ packages/backend/src/core/TwoFactorAuthenticationService.ts | 4 ++++ packages/backend/src/core/UserBlockingService.ts | 3 +++ packages/backend/src/core/UserFollowingService.ts | 4 ++++ packages/backend/src/core/UserKeypairService.ts | 4 ++++ packages/backend/src/core/UserListService.ts | 4 ++++ packages/backend/src/core/UserMutingService.ts | 4 ++++ packages/backend/src/core/UserSuspendService.ts | 4 ++++ packages/backend/src/core/UtilityService.ts | 4 ++++ packages/backend/src/core/VideoProcessingService.ts | 4 ++++ packages/backend/src/core/WebfingerService.ts | 4 ++++ packages/backend/src/core/WebhookService.ts | 4 ++++ packages/backend/src/core/activitypub/ApAudienceService.ts | 4 ++++ .../backend/src/core/activitypub/ApDbResolverService.ts | 4 ++++ .../backend/src/core/activitypub/ApDeliverManagerService.ts | 4 ++++ packages/backend/src/core/activitypub/ApInboxService.ts | 4 ++++ packages/backend/src/core/activitypub/ApLoggerService.ts | 4 ++++ packages/backend/src/core/activitypub/ApMfmService.ts | 4 ++++ packages/backend/src/core/activitypub/ApRendererService.ts | 4 ++++ packages/backend/src/core/activitypub/ApRequestService.ts | 4 ++++ packages/backend/src/core/activitypub/ApResolverService.ts | 4 ++++ packages/backend/src/core/activitypub/LdSignatureService.ts | 4 ++++ packages/backend/src/core/activitypub/misc/contexts.ts | 4 ++++ .../backend/src/core/activitypub/models/ApImageService.ts | 4 ++++ .../backend/src/core/activitypub/models/ApMentionService.ts | 4 ++++ .../backend/src/core/activitypub/models/ApNoteService.ts | 4 ++++ .../backend/src/core/activitypub/models/ApPersonService.ts | 4 ++++ .../src/core/activitypub/models/ApQuestionService.ts | 4 ++++ packages/backend/src/core/activitypub/models/icon.ts | 4 ++++ packages/backend/src/core/activitypub/models/identifier.ts | 4 ++++ packages/backend/src/core/activitypub/models/tag.ts | 4 ++++ packages/backend/src/core/activitypub/type.ts | 4 ++++ packages/backend/src/core/chart/ChartLoggerService.ts | 4 ++++ packages/backend/src/core/chart/ChartManagementService.ts | 4 ++++ packages/backend/src/core/chart/charts/active-users.ts | 4 ++++ packages/backend/src/core/chart/charts/ap-request.ts | 4 ++++ packages/backend/src/core/chart/charts/drive.ts | 4 ++++ .../backend/src/core/chart/charts/entities/active-users.ts | 4 ++++ .../backend/src/core/chart/charts/entities/ap-request.ts | 4 ++++ packages/backend/src/core/chart/charts/entities/drive.ts | 4 ++++ .../backend/src/core/chart/charts/entities/federation.ts | 4 ++++ packages/backend/src/core/chart/charts/entities/instance.ts | 4 ++++ packages/backend/src/core/chart/charts/entities/notes.ts | 4 ++++ .../src/core/chart/charts/entities/per-user-drive.ts | 4 ++++ .../src/core/chart/charts/entities/per-user-following.ts | 4 ++++ .../src/core/chart/charts/entities/per-user-notes.ts | 4 ++++ .../backend/src/core/chart/charts/entities/per-user-pv.ts | 4 ++++ .../src/core/chart/charts/entities/per-user-reactions.ts | 4 ++++ .../backend/src/core/chart/charts/entities/test-grouped.ts | 4 ++++ .../src/core/chart/charts/entities/test-intersection.ts | 4 ++++ .../backend/src/core/chart/charts/entities/test-unique.ts | 4 ++++ packages/backend/src/core/chart/charts/entities/test.ts | 4 ++++ packages/backend/src/core/chart/charts/entities/users.ts | 4 ++++ packages/backend/src/core/chart/charts/federation.ts | 4 ++++ packages/backend/src/core/chart/charts/instance.ts | 4 ++++ packages/backend/src/core/chart/charts/notes.ts | 4 ++++ packages/backend/src/core/chart/charts/per-user-drive.ts | 4 ++++ .../backend/src/core/chart/charts/per-user-following.ts | 4 ++++ packages/backend/src/core/chart/charts/per-user-notes.ts | 4 ++++ packages/backend/src/core/chart/charts/per-user-pv.ts | 4 ++++ .../backend/src/core/chart/charts/per-user-reactions.ts | 4 ++++ packages/backend/src/core/chart/charts/test-grouped.ts | 4 ++++ packages/backend/src/core/chart/charts/test-intersection.ts | 4 ++++ packages/backend/src/core/chart/charts/test-unique.ts | 4 ++++ packages/backend/src/core/chart/charts/test.ts | 4 ++++ packages/backend/src/core/chart/charts/users.ts | 4 ++++ packages/backend/src/core/chart/core.ts | 4 ++++ packages/backend/src/core/chart/entities.ts | 4 ++++ .../src/core/entities/AbuseUserReportEntityService.ts | 4 ++++ packages/backend/src/core/entities/AntennaEntityService.ts | 4 ++++ packages/backend/src/core/entities/AppEntityService.ts | 4 ++++ .../backend/src/core/entities/AuthSessionEntityService.ts | 4 ++++ packages/backend/src/core/entities/BlockingEntityService.ts | 4 ++++ packages/backend/src/core/entities/ChannelEntityService.ts | 4 ++++ packages/backend/src/core/entities/ClipEntityService.ts | 4 ++++ .../backend/src/core/entities/DriveFileEntityService.ts | 4 ++++ .../backend/src/core/entities/DriveFolderEntityService.ts | 4 ++++ packages/backend/src/core/entities/EmojiEntityService.ts | 4 ++++ packages/backend/src/core/entities/FlashEntityService.ts | 4 ++++ .../backend/src/core/entities/FlashLikeEntityService.ts | 4 ++++ .../backend/src/core/entities/FollowRequestEntityService.ts | 4 ++++ .../backend/src/core/entities/FollowingEntityService.ts | 4 ++++ .../backend/src/core/entities/GalleryLikeEntityService.ts | 4 ++++ .../backend/src/core/entities/GalleryPostEntityService.ts | 4 ++++ packages/backend/src/core/entities/HashtagEntityService.ts | 4 ++++ packages/backend/src/core/entities/InstanceEntityService.ts | 4 ++++ .../backend/src/core/entities/InviteCodeEntityService.ts | 4 ++++ .../backend/src/core/entities/ModerationLogEntityService.ts | 4 ++++ packages/backend/src/core/entities/MutingEntityService.ts | 4 ++++ packages/backend/src/core/entities/NoteEntityService.ts | 4 ++++ .../backend/src/core/entities/NoteFavoriteEntityService.ts | 4 ++++ .../backend/src/core/entities/NoteReactionEntityService.ts | 4 ++++ .../backend/src/core/entities/NotificationEntityService.ts | 4 ++++ packages/backend/src/core/entities/PageEntityService.ts | 4 ++++ packages/backend/src/core/entities/PageLikeEntityService.ts | 4 ++++ .../backend/src/core/entities/RenoteMutingEntityService.ts | 4 ++++ packages/backend/src/core/entities/RoleEntityService.ts | 4 ++++ packages/backend/src/core/entities/SigninEntityService.ts | 4 ++++ packages/backend/src/core/entities/UserEntityService.ts | 4 ++++ packages/backend/src/core/entities/UserListEntityService.ts | 4 ++++ packages/backend/src/daemons/DaemonModule.ts | 4 ++++ packages/backend/src/daemons/JanitorService.ts | 4 ++++ packages/backend/src/daemons/QueueStatsService.ts | 4 ++++ packages/backend/src/daemons/ServerStatsService.ts | 4 ++++ packages/backend/src/decorators.ts | 4 ++++ packages/backend/src/di-symbols.ts | 4 ++++ packages/backend/src/env.ts | 4 ++++ packages/backend/src/global.d.ts | 4 ++++ packages/backend/src/logger.ts | 4 ++++ packages/backend/src/misc/acct.ts | 4 ++++ packages/backend/src/misc/api-permissions.ts | 4 ++++ packages/backend/src/misc/cache.ts | 4 ++++ packages/backend/src/misc/check-https.ts | 4 ++++ packages/backend/src/misc/check-word-mute.ts | 4 ++++ packages/backend/src/misc/clone.ts | 4 ++++ packages/backend/src/misc/content-disposition.ts | 4 ++++ packages/backend/src/misc/correct-filename.ts | 4 ++++ packages/backend/src/misc/create-temp.ts | 4 ++++ packages/backend/src/misc/dev-null.ts | 4 ++++ packages/backend/src/misc/emoji-regex.ts | 4 ++++ packages/backend/src/misc/extract-custom-emojis-from-mfm.ts | 4 ++++ packages/backend/src/misc/extract-hashtags.ts | 4 ++++ packages/backend/src/misc/extract-mentions.ts | 4 ++++ packages/backend/src/misc/fastify-reply-error.ts | 4 ++++ packages/backend/src/misc/gen-identicon.ts | 4 ++++ packages/backend/src/misc/gen-key-pair.ts | 4 ++++ packages/backend/src/misc/generate-invite-code.ts | 4 ++++ packages/backend/src/misc/generate-native-user-token.ts | 4 ++++ packages/backend/src/misc/get-ip-hash.ts | 4 ++++ packages/backend/src/misc/get-note-summary.ts | 4 ++++ packages/backend/src/misc/get-reaction-emoji.ts | 4 ++++ packages/backend/src/misc/i18n.ts | 4 ++++ packages/backend/src/misc/id/aid.ts | 4 ++++ packages/backend/src/misc/id/meid.ts | 4 ++++ packages/backend/src/misc/id/meidg.ts | 4 ++++ packages/backend/src/misc/id/object-id.ts | 4 ++++ packages/backend/src/misc/id/ulid.ts | 4 ++++ packages/backend/src/misc/identifiable-error.ts | 4 ++++ packages/backend/src/misc/is-duplicate-key-value-error.ts | 4 ++++ packages/backend/src/misc/is-instance-muted.ts | 4 ++++ packages/backend/src/misc/is-mime-image.ts | 4 ++++ packages/backend/src/misc/is-native-token.ts | 4 ++++ packages/backend/src/misc/is-not-null.ts | 4 ++++ packages/backend/src/misc/is-quote.ts | 4 ++++ packages/backend/src/misc/is-user-related.ts | 4 ++++ packages/backend/src/misc/json-schema.ts | 4 ++++ packages/backend/src/misc/langmap.ts | 4 ++++ packages/backend/src/misc/normalize-for-search.ts | 4 ++++ packages/backend/src/misc/nyaize.ts | 4 ++++ packages/backend/src/misc/prelude/array.ts | 4 ++++ packages/backend/src/misc/prelude/await-all.ts | 4 ++++ packages/backend/src/misc/prelude/math.ts | 4 ++++ packages/backend/src/misc/prelude/maybe.ts | 4 ++++ packages/backend/src/misc/prelude/relation.ts | 4 ++++ packages/backend/src/misc/prelude/string.ts | 4 ++++ packages/backend/src/misc/prelude/symbol.ts | 4 ++++ packages/backend/src/misc/prelude/time.ts | 4 ++++ packages/backend/src/misc/prelude/url.ts | 4 ++++ packages/backend/src/misc/prelude/xml.ts | 4 ++++ packages/backend/src/misc/reset-db.ts | 4 ++++ packages/backend/src/misc/safe-for-sql.ts | 4 ++++ packages/backend/src/misc/secure-rndstr.ts | 4 ++++ packages/backend/src/misc/show-machine-info.ts | 4 ++++ packages/backend/src/misc/sql-like-escape.ts | 4 ++++ packages/backend/src/misc/status-error.ts | 4 ++++ packages/backend/src/misc/truncate.ts | 4 ++++ packages/backend/src/models/RepositoryModule.ts | 4 ++++ packages/backend/src/models/entities/AbuseUserReport.ts | 4 ++++ packages/backend/src/models/entities/AccessToken.ts | 4 ++++ packages/backend/src/models/entities/Ad.ts | 4 ++++ packages/backend/src/models/entities/Announcement.ts | 4 ++++ packages/backend/src/models/entities/AnnouncementRead.ts | 4 ++++ packages/backend/src/models/entities/Antenna.ts | 4 ++++ packages/backend/src/models/entities/App.ts | 4 ++++ .../backend/src/models/entities/AttestationChallenge.ts | 4 ++++ packages/backend/src/models/entities/AuthSession.ts | 4 ++++ packages/backend/src/models/entities/Blocking.ts | 4 ++++ packages/backend/src/models/entities/Channel.ts | 4 ++++ packages/backend/src/models/entities/ChannelFavorite.ts | 4 ++++ packages/backend/src/models/entities/ChannelFollowing.ts | 4 ++++ packages/backend/src/models/entities/Clip.ts | 4 ++++ packages/backend/src/models/entities/ClipFavorite.ts | 4 ++++ packages/backend/src/models/entities/ClipNote.ts | 4 ++++ packages/backend/src/models/entities/DriveFile.ts | 4 ++++ packages/backend/src/models/entities/DriveFolder.ts | 4 ++++ packages/backend/src/models/entities/Emoji.ts | 4 ++++ packages/backend/src/models/entities/Flash.ts | 4 ++++ packages/backend/src/models/entities/FlashLike.ts | 4 ++++ packages/backend/src/models/entities/FollowRequest.ts | 4 ++++ packages/backend/src/models/entities/Following.ts | 4 ++++ packages/backend/src/models/entities/GalleryLike.ts | 4 ++++ packages/backend/src/models/entities/GalleryPost.ts | 4 ++++ packages/backend/src/models/entities/Hashtag.ts | 4 ++++ packages/backend/src/models/entities/Instance.ts | 4 ++++ packages/backend/src/models/entities/Meta.ts | 4 ++++ packages/backend/src/models/entities/ModerationLog.ts | 4 ++++ packages/backend/src/models/entities/MutedNote.ts | 4 ++++ packages/backend/src/models/entities/Muting.ts | 4 ++++ packages/backend/src/models/entities/Note.ts | 4 ++++ packages/backend/src/models/entities/NoteFavorite.ts | 4 ++++ packages/backend/src/models/entities/NoteReaction.ts | 4 ++++ packages/backend/src/models/entities/NoteThreadMuting.ts | 4 ++++ packages/backend/src/models/entities/NoteUnread.ts | 4 ++++ packages/backend/src/models/entities/Notification.ts | 4 ++++ packages/backend/src/models/entities/Page.ts | 4 ++++ packages/backend/src/models/entities/PageLike.ts | 4 ++++ .../backend/src/models/entities/PasswordResetRequest.ts | 4 ++++ packages/backend/src/models/entities/Poll.ts | 4 ++++ packages/backend/src/models/entities/PollVote.ts | 4 ++++ packages/backend/src/models/entities/PromoNote.ts | 4 ++++ packages/backend/src/models/entities/PromoRead.ts | 4 ++++ packages/backend/src/models/entities/RegistrationTicket.ts | 4 ++++ packages/backend/src/models/entities/RegistryItem.ts | 4 ++++ packages/backend/src/models/entities/Relay.ts | 4 ++++ packages/backend/src/models/entities/RenoteMuting.ts | 4 ++++ .../backend/src/models/entities/RetentionAggregation.ts | 4 ++++ packages/backend/src/models/entities/Role.ts | 4 ++++ packages/backend/src/models/entities/RoleAssignment.ts | 4 ++++ packages/backend/src/models/entities/Signin.ts | 4 ++++ packages/backend/src/models/entities/SwSubscription.ts | 4 ++++ packages/backend/src/models/entities/UsedUsername.ts | 4 ++++ packages/backend/src/models/entities/User.ts | 4 ++++ packages/backend/src/models/entities/UserIp.ts | 4 ++++ packages/backend/src/models/entities/UserKeypair.ts | 4 ++++ packages/backend/src/models/entities/UserList.ts | 4 ++++ packages/backend/src/models/entities/UserListFavorite.ts | 4 ++++ packages/backend/src/models/entities/UserListJoining.ts | 4 ++++ packages/backend/src/models/entities/UserMemo.ts | 4 ++++ packages/backend/src/models/entities/UserNotePining.ts | 4 ++++ packages/backend/src/models/entities/UserPending.ts | 4 ++++ packages/backend/src/models/entities/UserProfile.ts | 4 ++++ packages/backend/src/models/entities/UserPublickey.ts | 4 ++++ packages/backend/src/models/entities/UserSecurityKey.ts | 4 ++++ packages/backend/src/models/entities/Webhook.ts | 4 ++++ packages/backend/src/models/id.ts | 4 ++++ packages/backend/src/models/index.ts | 4 ++++ packages/backend/src/models/json-schema/antenna.ts | 4 ++++ packages/backend/src/models/json-schema/app.ts | 4 ++++ packages/backend/src/models/json-schema/blocking.ts | 4 ++++ packages/backend/src/models/json-schema/channel.ts | 4 ++++ packages/backend/src/models/json-schema/clip.ts | 4 ++++ packages/backend/src/models/json-schema/drive-file.ts | 4 ++++ packages/backend/src/models/json-schema/drive-folder.ts | 4 ++++ packages/backend/src/models/json-schema/emoji.ts | 4 ++++ .../backend/src/models/json-schema/federation-instance.ts | 4 ++++ packages/backend/src/models/json-schema/flash.ts | 4 ++++ packages/backend/src/models/json-schema/following.ts | 4 ++++ packages/backend/src/models/json-schema/gallery-post.ts | 4 ++++ packages/backend/src/models/json-schema/hashtag.ts | 4 ++++ packages/backend/src/models/json-schema/invite-code.ts | 4 ++++ packages/backend/src/models/json-schema/muting.ts | 4 ++++ packages/backend/src/models/json-schema/note-favorite.ts | 4 ++++ packages/backend/src/models/json-schema/note-reaction.ts | 4 ++++ packages/backend/src/models/json-schema/note.ts | 4 ++++ packages/backend/src/models/json-schema/notification.ts | 4 ++++ packages/backend/src/models/json-schema/page.ts | 4 ++++ packages/backend/src/models/json-schema/queue.ts | 4 ++++ packages/backend/src/models/json-schema/renote-muting.ts | 4 ++++ packages/backend/src/models/json-schema/user-list.ts | 4 ++++ packages/backend/src/models/json-schema/user.ts | 4 ++++ packages/backend/src/postgres.ts | 4 ++++ packages/backend/src/queue/QueueLoggerService.ts | 4 ++++ packages/backend/src/queue/QueueProcessorModule.ts | 4 ++++ packages/backend/src/queue/QueueProcessorService.ts | 4 ++++ packages/backend/src/queue/const.ts | 4 ++++ .../queue/processors/AggregateRetentionProcessorService.ts | 4 ++++ .../queue/processors/CheckExpiredMutingsProcessorService.ts | 4 ++++ .../src/queue/processors/CleanChartsProcessorService.ts | 4 ++++ .../backend/src/queue/processors/CleanProcessorService.ts | 4 ++++ .../queue/processors/CleanRemoteFilesProcessorService.ts | 4 ++++ .../src/queue/processors/DeleteAccountProcessorService.ts | 4 ++++ .../queue/processors/DeleteDriveFilesProcessorService.ts | 4 ++++ .../src/queue/processors/DeleteFileProcessorService.ts | 4 ++++ .../backend/src/queue/processors/DeliverProcessorService.ts | 4 ++++ .../processors/EndedPollNotificationProcessorService.ts | 4 ++++ .../src/queue/processors/ExportAntennasProcessorService.ts | 4 ++++ .../src/queue/processors/ExportBlockingProcessorService.ts | 4 ++++ .../queue/processors/ExportCustomEmojisProcessorService.ts | 4 ++++ .../src/queue/processors/ExportFavoritesProcessorService.ts | 4 ++++ .../src/queue/processors/ExportFollowingProcessorService.ts | 4 ++++ .../src/queue/processors/ExportMutingProcessorService.ts | 4 ++++ .../src/queue/processors/ExportNotesProcessorService.ts | 4 ++++ .../src/queue/processors/ExportUserListsProcessorService.ts | 4 ++++ .../src/queue/processors/ImportAntennasProcessorService.ts | 4 ++++ .../src/queue/processors/ImportBlockingProcessorService.ts | 4 ++++ .../queue/processors/ImportCustomEmojisProcessorService.ts | 4 ++++ .../src/queue/processors/ImportFollowingProcessorService.ts | 4 ++++ .../src/queue/processors/ImportMutingProcessorService.ts | 4 ++++ .../src/queue/processors/ImportUserListsProcessorService.ts | 4 ++++ .../backend/src/queue/processors/InboxProcessorService.ts | 4 ++++ .../src/queue/processors/RelationshipProcessorService.ts | 4 ++++ .../src/queue/processors/ResyncChartsProcessorService.ts | 4 ++++ .../src/queue/processors/TickChartsProcessorService.ts | 4 ++++ .../src/queue/processors/WebhookDeliverProcessorService.ts | 4 ++++ packages/backend/src/queue/types.ts | 4 ++++ packages/backend/src/server/ActivityPubServerService.ts | 4 ++++ packages/backend/src/server/FileServerService.ts | 4 ++++ packages/backend/src/server/NodeinfoServerService.ts | 4 ++++ packages/backend/src/server/ServerModule.ts | 4 ++++ packages/backend/src/server/ServerService.ts | 4 ++++ packages/backend/src/server/WellKnownServerService.ts | 4 ++++ packages/backend/src/server/api/ApiCallService.ts | 4 ++++ packages/backend/src/server/api/ApiLoggerService.ts | 4 ++++ packages/backend/src/server/api/ApiServerService.ts | 4 ++++ packages/backend/src/server/api/AuthenticateService.ts | 4 ++++ packages/backend/src/server/api/EndpointsModule.ts | 4 ++++ packages/backend/src/server/api/GetterService.ts | 4 ++++ packages/backend/src/server/api/RateLimiterService.ts | 4 ++++ packages/backend/src/server/api/SigninApiService.ts | 4 ++++ packages/backend/src/server/api/SigninService.ts | 4 ++++ packages/backend/src/server/api/SignupApiService.ts | 4 ++++ .../backend/src/server/api/StreamingApiServerService.ts | 4 ++++ packages/backend/src/server/api/endpoint-base.ts | 4 ++++ packages/backend/src/server/api/endpoints.ts | 4 ++++ .../src/server/api/endpoints/admin/abuse-user-reports.ts | 4 ++++ .../src/server/api/endpoints/admin/accounts/create.ts | 4 ++++ .../src/server/api/endpoints/admin/accounts/delete.ts | 4 ++++ .../backend/src/server/api/endpoints/admin/ad/create.ts | 4 ++++ .../backend/src/server/api/endpoints/admin/ad/delete.ts | 4 ++++ packages/backend/src/server/api/endpoints/admin/ad/list.ts | 4 ++++ .../backend/src/server/api/endpoints/admin/ad/update.ts | 4 ++++ .../src/server/api/endpoints/admin/announcements/create.ts | 4 ++++ .../src/server/api/endpoints/admin/announcements/delete.ts | 4 ++++ .../src/server/api/endpoints/admin/announcements/list.ts | 4 ++++ .../src/server/api/endpoints/admin/announcements/update.ts | 4 ++++ .../src/server/api/endpoints/admin/delete-account.ts | 4 ++++ .../api/endpoints/admin/delete-all-files-of-a-user.ts | 4 ++++ .../server/api/endpoints/admin/drive/clean-remote-files.ts | 4 ++++ .../backend/src/server/api/endpoints/admin/drive/cleanup.ts | 4 ++++ .../backend/src/server/api/endpoints/admin/drive/files.ts | 4 ++++ .../src/server/api/endpoints/admin/drive/show-file.ts | 4 ++++ .../server/api/endpoints/admin/emoji/add-aliases-bulk.ts | 4 ++++ .../backend/src/server/api/endpoints/admin/emoji/add.ts | 4 ++++ .../backend/src/server/api/endpoints/admin/emoji/copy.ts | 4 ++++ .../src/server/api/endpoints/admin/emoji/delete-bulk.ts | 4 ++++ .../backend/src/server/api/endpoints/admin/emoji/delete.ts | 4 ++++ .../src/server/api/endpoints/admin/emoji/import-zip.ts | 4 ++++ .../src/server/api/endpoints/admin/emoji/list-remote.ts | 4 ++++ .../backend/src/server/api/endpoints/admin/emoji/list.ts | 4 ++++ .../server/api/endpoints/admin/emoji/remove-aliases-bulk.ts | 4 ++++ .../server/api/endpoints/admin/emoji/set-aliases-bulk.ts | 4 ++++ .../server/api/endpoints/admin/emoji/set-category-bulk.ts | 4 ++++ .../server/api/endpoints/admin/emoji/set-license-bulk.ts | 4 ++++ .../backend/src/server/api/endpoints/admin/emoji/update.ts | 4 ++++ .../api/endpoints/admin/federation/delete-all-files.ts | 4 ++++ .../admin/federation/refresh-remote-instance-metadata.ts | 4 ++++ .../api/endpoints/admin/federation/remove-all-following.ts | 4 ++++ .../api/endpoints/admin/federation/update-instance.ts | 4 ++++ .../src/server/api/endpoints/admin/get-index-stats.ts | 4 ++++ .../src/server/api/endpoints/admin/get-table-stats.ts | 4 ++++ .../backend/src/server/api/endpoints/admin/get-user-ips.ts | 4 ++++ .../backend/src/server/api/endpoints/admin/invite/create.ts | 4 ++++ .../backend/src/server/api/endpoints/admin/invite/list.ts | 4 ++++ packages/backend/src/server/api/endpoints/admin/meta.ts | 4 ++++ .../backend/src/server/api/endpoints/admin/promo/create.ts | 4 ++++ .../backend/src/server/api/endpoints/admin/queue/clear.ts | 4 ++++ .../src/server/api/endpoints/admin/queue/deliver-delayed.ts | 4 ++++ .../src/server/api/endpoints/admin/queue/inbox-delayed.ts | 4 ++++ .../backend/src/server/api/endpoints/admin/queue/promote.ts | 4 ++++ .../backend/src/server/api/endpoints/admin/queue/stats.ts | 4 ++++ .../backend/src/server/api/endpoints/admin/relays/add.ts | 4 ++++ .../backend/src/server/api/endpoints/admin/relays/list.ts | 4 ++++ .../backend/src/server/api/endpoints/admin/relays/remove.ts | 4 ++++ .../src/server/api/endpoints/admin/reset-password.ts | 4 ++++ .../server/api/endpoints/admin/resolve-abuse-user-report.ts | 4 ++++ .../backend/src/server/api/endpoints/admin/roles/assign.ts | 4 ++++ .../backend/src/server/api/endpoints/admin/roles/create.ts | 4 ++++ .../backend/src/server/api/endpoints/admin/roles/delete.ts | 4 ++++ .../backend/src/server/api/endpoints/admin/roles/list.ts | 4 ++++ .../backend/src/server/api/endpoints/admin/roles/show.ts | 4 ++++ .../src/server/api/endpoints/admin/roles/unassign.ts | 4 ++++ .../api/endpoints/admin/roles/update-default-policies.ts | 4 ++++ .../backend/src/server/api/endpoints/admin/roles/update.ts | 4 ++++ .../backend/src/server/api/endpoints/admin/roles/users.ts | 4 ++++ .../backend/src/server/api/endpoints/admin/send-email.ts | 4 ++++ .../backend/src/server/api/endpoints/admin/server-info.ts | 4 ++++ .../src/server/api/endpoints/admin/show-moderation-logs.ts | 4 ++++ .../backend/src/server/api/endpoints/admin/show-user.ts | 4 ++++ .../backend/src/server/api/endpoints/admin/show-users.ts | 4 ++++ .../backend/src/server/api/endpoints/admin/suspend-user.ts | 4 ++++ .../src/server/api/endpoints/admin/unsuspend-user.ts | 4 ++++ .../backend/src/server/api/endpoints/admin/update-meta.ts | 4 ++++ .../src/server/api/endpoints/admin/update-user-note.ts | 4 ++++ packages/backend/src/server/api/endpoints/announcements.ts | 4 ++++ .../backend/src/server/api/endpoints/antennas/create.ts | 4 ++++ .../backend/src/server/api/endpoints/antennas/delete.ts | 4 ++++ packages/backend/src/server/api/endpoints/antennas/list.ts | 4 ++++ packages/backend/src/server/api/endpoints/antennas/notes.ts | 4 ++++ packages/backend/src/server/api/endpoints/antennas/show.ts | 4 ++++ .../backend/src/server/api/endpoints/antennas/update.ts | 4 ++++ packages/backend/src/server/api/endpoints/ap/get.ts | 4 ++++ packages/backend/src/server/api/endpoints/ap/show.ts | 4 ++++ packages/backend/src/server/api/endpoints/app/create.ts | 4 ++++ packages/backend/src/server/api/endpoints/app/show.ts | 4 ++++ packages/backend/src/server/api/endpoints/auth/accept.ts | 4 ++++ .../src/server/api/endpoints/auth/session/generate.ts | 4 ++++ .../backend/src/server/api/endpoints/auth/session/show.ts | 4 ++++ .../src/server/api/endpoints/auth/session/userkey.ts | 4 ++++ .../backend/src/server/api/endpoints/blocking/create.ts | 4 ++++ .../backend/src/server/api/endpoints/blocking/delete.ts | 4 ++++ packages/backend/src/server/api/endpoints/blocking/list.ts | 4 ++++ .../backend/src/server/api/endpoints/channels/create.ts | 4 ++++ .../backend/src/server/api/endpoints/channels/favorite.ts | 4 ++++ .../backend/src/server/api/endpoints/channels/featured.ts | 4 ++++ .../backend/src/server/api/endpoints/channels/follow.ts | 4 ++++ .../backend/src/server/api/endpoints/channels/followed.ts | 4 ++++ .../src/server/api/endpoints/channels/my-favorites.ts | 4 ++++ packages/backend/src/server/api/endpoints/channels/owned.ts | 4 ++++ .../backend/src/server/api/endpoints/channels/search.ts | 4 ++++ packages/backend/src/server/api/endpoints/channels/show.ts | 4 ++++ .../backend/src/server/api/endpoints/channels/timeline.ts | 4 ++++ .../backend/src/server/api/endpoints/channels/unfavorite.ts | 4 ++++ .../backend/src/server/api/endpoints/channels/unfollow.ts | 4 ++++ .../backend/src/server/api/endpoints/channels/update.ts | 4 ++++ .../backend/src/server/api/endpoints/charts/active-users.ts | 4 ++++ .../backend/src/server/api/endpoints/charts/ap-request.ts | 4 ++++ packages/backend/src/server/api/endpoints/charts/drive.ts | 4 ++++ .../backend/src/server/api/endpoints/charts/federation.ts | 4 ++++ .../backend/src/server/api/endpoints/charts/instance.ts | 4 ++++ packages/backend/src/server/api/endpoints/charts/notes.ts | 4 ++++ .../backend/src/server/api/endpoints/charts/user/drive.ts | 4 ++++ .../src/server/api/endpoints/charts/user/following.ts | 4 ++++ .../backend/src/server/api/endpoints/charts/user/notes.ts | 4 ++++ packages/backend/src/server/api/endpoints/charts/user/pv.ts | 4 ++++ .../src/server/api/endpoints/charts/user/reactions.ts | 4 ++++ packages/backend/src/server/api/endpoints/charts/users.ts | 4 ++++ packages/backend/src/server/api/endpoints/clips/add-note.ts | 4 ++++ packages/backend/src/server/api/endpoints/clips/create.ts | 4 ++++ packages/backend/src/server/api/endpoints/clips/delete.ts | 4 ++++ packages/backend/src/server/api/endpoints/clips/favorite.ts | 4 ++++ packages/backend/src/server/api/endpoints/clips/list.ts | 4 ++++ .../backend/src/server/api/endpoints/clips/my-favorites.ts | 4 ++++ packages/backend/src/server/api/endpoints/clips/notes.ts | 4 ++++ .../backend/src/server/api/endpoints/clips/remove-note.ts | 4 ++++ packages/backend/src/server/api/endpoints/clips/show.ts | 4 ++++ .../backend/src/server/api/endpoints/clips/unfavorite.ts | 4 ++++ packages/backend/src/server/api/endpoints/clips/update.ts | 4 ++++ packages/backend/src/server/api/endpoints/drive.ts | 4 ++++ packages/backend/src/server/api/endpoints/drive/files.ts | 4 ++++ .../src/server/api/endpoints/drive/files/attached-notes.ts | 4 ++++ .../src/server/api/endpoints/drive/files/check-existence.ts | 4 ++++ .../backend/src/server/api/endpoints/drive/files/create.ts | 4 ++++ .../backend/src/server/api/endpoints/drive/files/delete.ts | 4 ++++ .../src/server/api/endpoints/drive/files/find-by-hash.ts | 4 ++++ .../backend/src/server/api/endpoints/drive/files/find.ts | 4 ++++ .../backend/src/server/api/endpoints/drive/files/show.ts | 4 ++++ .../backend/src/server/api/endpoints/drive/files/update.ts | 4 ++++ .../src/server/api/endpoints/drive/files/upload-from-url.ts | 4 ++++ packages/backend/src/server/api/endpoints/drive/folders.ts | 4 ++++ .../src/server/api/endpoints/drive/folders/create.ts | 4 ++++ .../src/server/api/endpoints/drive/folders/delete.ts | 4 ++++ .../backend/src/server/api/endpoints/drive/folders/find.ts | 4 ++++ .../backend/src/server/api/endpoints/drive/folders/show.ts | 4 ++++ .../src/server/api/endpoints/drive/folders/update.ts | 4 ++++ packages/backend/src/server/api/endpoints/drive/stream.ts | 4 ++++ .../src/server/api/endpoints/email-address/available.ts | 4 ++++ packages/backend/src/server/api/endpoints/emoji.ts | 4 ++++ packages/backend/src/server/api/endpoints/emojis.ts | 4 ++++ packages/backend/src/server/api/endpoints/endpoint.ts | 4 ++++ packages/backend/src/server/api/endpoints/endpoints.ts | 4 ++++ .../src/server/api/endpoints/export-custom-emojis.ts | 4 ++++ .../src/server/api/endpoints/federation/followers.ts | 4 ++++ .../src/server/api/endpoints/federation/following.ts | 4 ++++ .../src/server/api/endpoints/federation/instances.ts | 4 ++++ .../src/server/api/endpoints/federation/show-instance.ts | 4 ++++ .../backend/src/server/api/endpoints/federation/stats.ts | 4 ++++ .../server/api/endpoints/federation/update-remote-user.ts | 4 ++++ .../backend/src/server/api/endpoints/federation/users.ts | 4 ++++ packages/backend/src/server/api/endpoints/fetch-rss.ts | 4 ++++ packages/backend/src/server/api/endpoints/flash/create.ts | 4 ++++ packages/backend/src/server/api/endpoints/flash/delete.ts | 4 ++++ packages/backend/src/server/api/endpoints/flash/featured.ts | 4 ++++ packages/backend/src/server/api/endpoints/flash/like.ts | 4 ++++ packages/backend/src/server/api/endpoints/flash/my-likes.ts | 4 ++++ packages/backend/src/server/api/endpoints/flash/my.ts | 4 ++++ packages/backend/src/server/api/endpoints/flash/show.ts | 4 ++++ packages/backend/src/server/api/endpoints/flash/unlike.ts | 4 ++++ packages/backend/src/server/api/endpoints/flash/update.ts | 4 ++++ .../backend/src/server/api/endpoints/following/create.ts | 4 ++++ .../backend/src/server/api/endpoints/following/delete.ts | 4 ++++ .../src/server/api/endpoints/following/invalidate.ts | 4 ++++ .../src/server/api/endpoints/following/requests/accept.ts | 4 ++++ .../src/server/api/endpoints/following/requests/cancel.ts | 4 ++++ .../src/server/api/endpoints/following/requests/list.ts | 4 ++++ .../src/server/api/endpoints/following/requests/reject.ts | 4 ++++ .../backend/src/server/api/endpoints/gallery/featured.ts | 4 ++++ .../backend/src/server/api/endpoints/gallery/popular.ts | 4 ++++ packages/backend/src/server/api/endpoints/gallery/posts.ts | 4 ++++ .../src/server/api/endpoints/gallery/posts/create.ts | 4 ++++ .../src/server/api/endpoints/gallery/posts/delete.ts | 4 ++++ .../backend/src/server/api/endpoints/gallery/posts/like.ts | 4 ++++ .../backend/src/server/api/endpoints/gallery/posts/show.ts | 4 ++++ .../src/server/api/endpoints/gallery/posts/unlike.ts | 4 ++++ .../src/server/api/endpoints/gallery/posts/update.ts | 4 ++++ .../src/server/api/endpoints/get-online-users-count.ts | 4 ++++ packages/backend/src/server/api/endpoints/hashtags/list.ts | 4 ++++ .../backend/src/server/api/endpoints/hashtags/search.ts | 4 ++++ packages/backend/src/server/api/endpoints/hashtags/show.ts | 4 ++++ packages/backend/src/server/api/endpoints/hashtags/trend.ts | 4 ++++ packages/backend/src/server/api/endpoints/hashtags/users.ts | 4 ++++ packages/backend/src/server/api/endpoints/i.ts | 4 ++++ packages/backend/src/server/api/endpoints/i/2fa/done.ts | 4 ++++ packages/backend/src/server/api/endpoints/i/2fa/key-done.ts | 4 ++++ .../backend/src/server/api/endpoints/i/2fa/password-less.ts | 4 ++++ .../backend/src/server/api/endpoints/i/2fa/register-key.ts | 4 ++++ packages/backend/src/server/api/endpoints/i/2fa/register.ts | 4 ++++ .../backend/src/server/api/endpoints/i/2fa/remove-key.ts | 4 ++++ .../backend/src/server/api/endpoints/i/2fa/unregister.ts | 4 ++++ .../backend/src/server/api/endpoints/i/2fa/update-key.ts | 4 ++++ packages/backend/src/server/api/endpoints/i/apps.ts | 4 ++++ .../backend/src/server/api/endpoints/i/authorized-apps.ts | 4 ++++ .../backend/src/server/api/endpoints/i/change-password.ts | 4 ++++ .../backend/src/server/api/endpoints/i/claim-achievement.ts | 4 ++++ .../backend/src/server/api/endpoints/i/delete-account.ts | 4 ++++ .../backend/src/server/api/endpoints/i/export-antennas.ts | 4 ++++ .../backend/src/server/api/endpoints/i/export-blocking.ts | 4 ++++ .../backend/src/server/api/endpoints/i/export-favorites.ts | 4 ++++ .../backend/src/server/api/endpoints/i/export-following.ts | 4 ++++ packages/backend/src/server/api/endpoints/i/export-mute.ts | 4 ++++ packages/backend/src/server/api/endpoints/i/export-notes.ts | 4 ++++ .../backend/src/server/api/endpoints/i/export-user-lists.ts | 4 ++++ packages/backend/src/server/api/endpoints/i/favorites.ts | 4 ++++ .../backend/src/server/api/endpoints/i/gallery/likes.ts | 4 ++++ .../backend/src/server/api/endpoints/i/gallery/posts.ts | 4 ++++ .../server/api/endpoints/i/get-word-muted-notes-count.ts | 4 ++++ .../backend/src/server/api/endpoints/i/import-antennas.ts | 4 ++++ .../backend/src/server/api/endpoints/i/import-blocking.ts | 4 ++++ .../backend/src/server/api/endpoints/i/import-following.ts | 4 ++++ .../backend/src/server/api/endpoints/i/import-muting.ts | 4 ++++ .../backend/src/server/api/endpoints/i/import-user-lists.ts | 4 ++++ packages/backend/src/server/api/endpoints/i/move.ts | 4 ++++ .../backend/src/server/api/endpoints/i/notifications.ts | 4 ++++ packages/backend/src/server/api/endpoints/i/page-likes.ts | 4 ++++ packages/backend/src/server/api/endpoints/i/pages.ts | 4 ++++ packages/backend/src/server/api/endpoints/i/pin.ts | 4 ++++ .../src/server/api/endpoints/i/read-all-unread-notes.ts | 4 ++++ .../backend/src/server/api/endpoints/i/read-announcement.ts | 4 ++++ .../backend/src/server/api/endpoints/i/regenerate-token.ts | 4 ++++ .../backend/src/server/api/endpoints/i/registry/get-all.ts | 4 ++++ .../src/server/api/endpoints/i/registry/get-detail.ts | 4 ++++ packages/backend/src/server/api/endpoints/i/registry/get.ts | 4 ++++ .../src/server/api/endpoints/i/registry/keys-with-type.ts | 4 ++++ .../backend/src/server/api/endpoints/i/registry/keys.ts | 4 ++++ .../backend/src/server/api/endpoints/i/registry/remove.ts | 4 ++++ .../backend/src/server/api/endpoints/i/registry/scopes.ts | 4 ++++ packages/backend/src/server/api/endpoints/i/registry/set.ts | 4 ++++ packages/backend/src/server/api/endpoints/i/revoke-token.ts | 4 ++++ .../backend/src/server/api/endpoints/i/signin-history.ts | 4 ++++ packages/backend/src/server/api/endpoints/i/unpin.ts | 4 ++++ packages/backend/src/server/api/endpoints/i/update-email.ts | 4 ++++ packages/backend/src/server/api/endpoints/i/update.ts | 4 ++++ .../backend/src/server/api/endpoints/i/webhooks/create.ts | 4 ++++ .../backend/src/server/api/endpoints/i/webhooks/delete.ts | 4 ++++ .../backend/src/server/api/endpoints/i/webhooks/list.ts | 4 ++++ .../backend/src/server/api/endpoints/i/webhooks/show.ts | 4 ++++ .../backend/src/server/api/endpoints/i/webhooks/update.ts | 4 ++++ packages/backend/src/server/api/endpoints/invite/create.ts | 4 ++++ packages/backend/src/server/api/endpoints/invite/delete.ts | 4 ++++ packages/backend/src/server/api/endpoints/invite/limit.ts | 4 ++++ packages/backend/src/server/api/endpoints/invite/list.ts | 4 ++++ packages/backend/src/server/api/endpoints/meta.ts | 4 ++++ .../backend/src/server/api/endpoints/miauth/gen-token.ts | 4 ++++ packages/backend/src/server/api/endpoints/mute/create.ts | 4 ++++ packages/backend/src/server/api/endpoints/mute/delete.ts | 4 ++++ packages/backend/src/server/api/endpoints/mute/list.ts | 4 ++++ packages/backend/src/server/api/endpoints/my/apps.ts | 4 ++++ packages/backend/src/server/api/endpoints/notes.ts | 4 ++++ packages/backend/src/server/api/endpoints/notes/children.ts | 4 ++++ packages/backend/src/server/api/endpoints/notes/clips.ts | 4 ++++ .../backend/src/server/api/endpoints/notes/conversation.ts | 4 ++++ .../backend/src/server/api/endpoints/notes/create.test.ts | 4 ++++ packages/backend/src/server/api/endpoints/notes/create.ts | 4 ++++ packages/backend/src/server/api/endpoints/notes/delete.ts | 4 ++++ .../src/server/api/endpoints/notes/favorites/create.ts | 4 ++++ .../src/server/api/endpoints/notes/favorites/delete.ts | 4 ++++ packages/backend/src/server/api/endpoints/notes/featured.ts | 4 ++++ .../src/server/api/endpoints/notes/global-timeline.ts | 4 ++++ .../src/server/api/endpoints/notes/hybrid-timeline.ts | 4 ++++ .../src/server/api/endpoints/notes/local-timeline.ts | 4 ++++ packages/backend/src/server/api/endpoints/notes/mentions.ts | 4 ++++ .../src/server/api/endpoints/notes/polls/recommendation.ts | 4 ++++ .../backend/src/server/api/endpoints/notes/polls/vote.ts | 4 ++++ .../backend/src/server/api/endpoints/notes/reactions.ts | 4 ++++ .../src/server/api/endpoints/notes/reactions/create.ts | 4 ++++ .../src/server/api/endpoints/notes/reactions/delete.ts | 4 ++++ packages/backend/src/server/api/endpoints/notes/renotes.ts | 4 ++++ packages/backend/src/server/api/endpoints/notes/replies.ts | 4 ++++ .../backend/src/server/api/endpoints/notes/search-by-tag.ts | 4 ++++ packages/backend/src/server/api/endpoints/notes/search.ts | 4 ++++ packages/backend/src/server/api/endpoints/notes/show.ts | 4 ++++ packages/backend/src/server/api/endpoints/notes/state.ts | 4 ++++ .../src/server/api/endpoints/notes/thread-muting/create.ts | 4 ++++ .../src/server/api/endpoints/notes/thread-muting/delete.ts | 4 ++++ packages/backend/src/server/api/endpoints/notes/timeline.ts | 4 ++++ .../backend/src/server/api/endpoints/notes/translate.ts | 4 ++++ packages/backend/src/server/api/endpoints/notes/unrenote.ts | 4 ++++ .../src/server/api/endpoints/notes/user-list-timeline.ts | 4 ++++ .../src/server/api/endpoints/notifications/create.ts | 4 ++++ .../server/api/endpoints/notifications/mark-all-as-read.ts | 4 ++++ packages/backend/src/server/api/endpoints/page-push.ts | 4 ++++ packages/backend/src/server/api/endpoints/pages/create.ts | 4 ++++ packages/backend/src/server/api/endpoints/pages/delete.ts | 4 ++++ packages/backend/src/server/api/endpoints/pages/featured.ts | 4 ++++ packages/backend/src/server/api/endpoints/pages/like.ts | 4 ++++ packages/backend/src/server/api/endpoints/pages/show.ts | 4 ++++ packages/backend/src/server/api/endpoints/pages/unlike.ts | 4 ++++ packages/backend/src/server/api/endpoints/pages/update.ts | 4 ++++ packages/backend/src/server/api/endpoints/ping.ts | 4 ++++ packages/backend/src/server/api/endpoints/pinned-users.ts | 4 ++++ packages/backend/src/server/api/endpoints/promo/read.ts | 4 ++++ .../backend/src/server/api/endpoints/renote-mute/create.ts | 4 ++++ .../backend/src/server/api/endpoints/renote-mute/delete.ts | 4 ++++ .../backend/src/server/api/endpoints/renote-mute/list.ts | 4 ++++ .../src/server/api/endpoints/request-reset-password.ts | 4 ++++ packages/backend/src/server/api/endpoints/reset-db.ts | 4 ++++ packages/backend/src/server/api/endpoints/reset-password.ts | 4 ++++ packages/backend/src/server/api/endpoints/retention.ts | 4 ++++ packages/backend/src/server/api/endpoints/roles/list.ts | 4 ++++ packages/backend/src/server/api/endpoints/roles/notes.ts | 4 ++++ packages/backend/src/server/api/endpoints/roles/show.ts | 4 ++++ packages/backend/src/server/api/endpoints/roles/users.ts | 4 ++++ packages/backend/src/server/api/endpoints/server-info.ts | 4 ++++ packages/backend/src/server/api/endpoints/stats.ts | 4 ++++ packages/backend/src/server/api/endpoints/sw/register.ts | 4 ++++ .../src/server/api/endpoints/sw/show-registration.ts | 4 ++++ packages/backend/src/server/api/endpoints/sw/unregister.ts | 4 ++++ .../src/server/api/endpoints/sw/update-registration.ts | 4 ++++ packages/backend/src/server/api/endpoints/test.ts | 4 ++++ .../backend/src/server/api/endpoints/username/available.ts | 4 ++++ packages/backend/src/server/api/endpoints/users.ts | 4 ++++ .../backend/src/server/api/endpoints/users/achievements.ts | 4 ++++ packages/backend/src/server/api/endpoints/users/clips.ts | 4 ++++ .../backend/src/server/api/endpoints/users/followers.ts | 4 ++++ .../backend/src/server/api/endpoints/users/following.ts | 4 ++++ .../backend/src/server/api/endpoints/users/gallery/posts.ts | 4 ++++ .../api/endpoints/users/get-frequently-replied-users.ts | 4 ++++ .../server/api/endpoints/users/lists/create-from-public.ts | 4 ++++ .../backend/src/server/api/endpoints/users/lists/create.ts | 4 ++++ .../backend/src/server/api/endpoints/users/lists/delete.ts | 4 ++++ .../src/server/api/endpoints/users/lists/favorite.ts | 4 ++++ .../backend/src/server/api/endpoints/users/lists/list.ts | 4 ++++ .../backend/src/server/api/endpoints/users/lists/pull.ts | 4 ++++ .../backend/src/server/api/endpoints/users/lists/push.ts | 4 ++++ .../backend/src/server/api/endpoints/users/lists/show.ts | 4 ++++ .../src/server/api/endpoints/users/lists/unfavorite.ts | 4 ++++ .../backend/src/server/api/endpoints/users/lists/update.ts | 4 ++++ packages/backend/src/server/api/endpoints/users/notes.ts | 4 ++++ packages/backend/src/server/api/endpoints/users/pages.ts | 4 ++++ .../backend/src/server/api/endpoints/users/reactions.ts | 4 ++++ .../src/server/api/endpoints/users/recommendation.ts | 4 ++++ packages/backend/src/server/api/endpoints/users/relation.ts | 4 ++++ .../backend/src/server/api/endpoints/users/report-abuse.ts | 4 ++++ .../api/endpoints/users/search-by-username-and-host.ts | 4 ++++ packages/backend/src/server/api/endpoints/users/search.ts | 4 ++++ packages/backend/src/server/api/endpoints/users/show.ts | 4 ++++ .../backend/src/server/api/endpoints/users/update-memo.ts | 4 ++++ packages/backend/src/server/api/error.ts | 4 ++++ .../backend/src/server/api/openapi/OpenApiServerService.ts | 4 ++++ packages/backend/src/server/api/openapi/errors.ts | 3 +++ packages/backend/src/server/api/openapi/gen-spec.ts | 4 ++++ packages/backend/src/server/api/openapi/schemas.ts | 4 ++++ packages/backend/src/server/api/stream/ChannelsService.ts | 4 ++++ packages/backend/src/server/api/stream/channel.ts | 4 ++++ packages/backend/src/server/api/stream/channels/admin.ts | 4 ++++ packages/backend/src/server/api/stream/channels/antenna.ts | 4 ++++ packages/backend/src/server/api/stream/channels/channel.ts | 4 ++++ packages/backend/src/server/api/stream/channels/drive.ts | 4 ++++ .../src/server/api/stream/channels/global-timeline.ts | 4 ++++ packages/backend/src/server/api/stream/channels/hashtag.ts | 4 ++++ .../backend/src/server/api/stream/channels/home-timeline.ts | 4 ++++ .../src/server/api/stream/channels/hybrid-timeline.ts | 4 ++++ .../src/server/api/stream/channels/local-timeline.ts | 4 ++++ packages/backend/src/server/api/stream/channels/main.ts | 4 ++++ .../backend/src/server/api/stream/channels/queue-stats.ts | 4 ++++ .../backend/src/server/api/stream/channels/role-timeline.ts | 4 ++++ .../backend/src/server/api/stream/channels/server-stats.ts | 4 ++++ .../backend/src/server/api/stream/channels/user-list.ts | 4 ++++ packages/backend/src/server/api/stream/index.ts | 4 ++++ packages/backend/src/server/api/stream/types.ts | 4 ++++ packages/backend/src/server/web/ClientLoggerService.ts | 4 ++++ packages/backend/src/server/web/ClientServerService.ts | 4 ++++ packages/backend/src/server/web/FeedService.ts | 4 ++++ packages/backend/src/server/web/UrlPreviewService.ts | 4 ++++ packages/backend/src/server/web/bios.css | 6 ++++++ packages/backend/src/server/web/bios.js | 4 ++++ packages/backend/src/server/web/boot.js | 4 ++++ packages/backend/src/server/web/cli.css | 6 ++++++ packages/backend/src/server/web/cli.js | 4 ++++ packages/backend/src/server/web/error.css | 6 ++++++ packages/backend/src/server/web/style.css | 6 ++++++ packages/backend/src/types.ts | 4 ++++ packages/backend/test/e2e/2fa.ts | 4 ++++ packages/backend/test/e2e/antennas.ts | 4 ++++ packages/backend/test/e2e/api-visibility.ts | 4 ++++ packages/backend/test/e2e/api.ts | 4 ++++ packages/backend/test/e2e/block.ts | 4 ++++ packages/backend/test/e2e/clips.ts | 4 ++++ packages/backend/test/e2e/endpoints.ts | 4 ++++ packages/backend/test/e2e/fetch-resource.ts | 4 ++++ packages/backend/test/e2e/ff-visibility.ts | 4 ++++ packages/backend/test/e2e/move.ts | 4 ++++ packages/backend/test/e2e/mute.ts | 4 ++++ packages/backend/test/e2e/note.ts | 4 ++++ packages/backend/test/e2e/renote-mute.ts | 4 ++++ packages/backend/test/e2e/streaming.ts | 4 ++++ packages/backend/test/e2e/thread-mute.ts | 4 ++++ packages/backend/test/e2e/user-notes.ts | 4 ++++ packages/backend/test/e2e/users.ts | 4 ++++ packages/backend/test/misc/mock-resolver.ts | 4 ++++ packages/backend/test/prelude/get-api-validator.ts | 4 ++++ packages/backend/test/prelude/maybe.ts | 4 ++++ packages/backend/test/prelude/url.ts | 4 ++++ packages/backend/test/unit/DriveService.ts | 4 ++++ packages/backend/test/unit/FetchInstanceMetadataService.ts | 4 ++++ packages/backend/test/unit/FileInfoService.ts | 4 ++++ packages/backend/test/unit/MetaService.ts | 4 ++++ packages/backend/test/unit/MfmService.ts | 4 ++++ packages/backend/test/unit/ReactionService.ts | 4 ++++ packages/backend/test/unit/RelayService.ts | 4 ++++ packages/backend/test/unit/RoleService.ts | 4 ++++ packages/backend/test/unit/S3Service.ts | 4 ++++ packages/backend/test/unit/activitypub.ts | 4 ++++ packages/backend/test/unit/ap-request.ts | 4 ++++ packages/backend/test/unit/chart.ts | 4 ++++ packages/backend/test/unit/extract-mentions.ts | 4 ++++ packages/backend/test/unit/misc/check-word-mute.ts | 4 ++++ packages/backend/test/unit/misc/id.ts | 4 ++++ packages/backend/test/unit/misc/others.ts | 4 ++++ packages/backend/test/utils.ts | 4 ++++ packages/backend/watch.mjs | 4 ++++ packages/frontend/@types/global.d.ts | 4 ++++ packages/frontend/@types/theme.d.ts | 4 ++++ .../lib/rollup-plugin-unwind-css-module-class-name.test.ts | 4 ++++ .../lib/rollup-plugin-unwind-css-module-class-name.ts | 4 ++++ packages/frontend/public/mockServiceWorker.js | 4 ++++ packages/frontend/src/_boot_.ts | 4 ++++ packages/frontend/src/account.ts | 4 ++++ packages/frontend/src/boot/common.ts | 4 ++++ packages/frontend/src/boot/main-boot.ts | 4 ++++ packages/frontend/src/boot/sub-boot.ts | 4 ++++ packages/frontend/src/cache.ts | 4 ++++ .../frontend/src/components/MkAbuseReport.stories.impl.ts | 4 ++++ packages/frontend/src/components/MkAbuseReport.vue | 6 ++++++ .../src/components/MkAbuseReportWindow.stories.impl.ts | 4 ++++ packages/frontend/src/components/MkAbuseReportWindow.vue | 6 ++++++ .../frontend/src/components/MkAccountMoved.stories.impl.ts | 4 ++++ packages/frontend/src/components/MkAccountMoved.vue | 6 ++++++ .../frontend/src/components/MkAchievements.stories.impl.ts | 4 ++++ packages/frontend/src/components/MkAchievements.vue | 6 ++++++ .../frontend/src/components/MkAnalogClock.stories.impl.ts | 4 ++++ packages/frontend/src/components/MkAnalogClock.vue | 6 ++++++ packages/frontend/src/components/MkAnimBg.vue | 6 ++++++ packages/frontend/src/components/MkAsUi.stories.impl.ts | 4 ++++ packages/frontend/src/components/MkAsUi.vue | 6 ++++++ .../frontend/src/components/MkAutocomplete.stories.impl.ts | 4 ++++ packages/frontend/src/components/MkAutocomplete.vue | 6 ++++++ packages/frontend/src/components/MkAvatars.stories.impl.ts | 4 ++++ packages/frontend/src/components/MkAvatars.vue | 6 ++++++ packages/frontend/src/components/MkButton.stories.impl.ts | 4 ++++ packages/frontend/src/components/MkButton.vue | 6 ++++++ packages/frontend/src/components/MkCaptcha.stories.impl.ts | 4 ++++ packages/frontend/src/components/MkCaptcha.vue | 6 ++++++ packages/frontend/src/components/MkChannelFollowButton.vue | 6 ++++++ packages/frontend/src/components/MkChannelList.vue | 6 ++++++ packages/frontend/src/components/MkChannelPreview.vue | 6 ++++++ packages/frontend/src/components/MkChart.vue | 6 ++++++ packages/frontend/src/components/MkChartLegend.vue | 6 ++++++ packages/frontend/src/components/MkChartTooltip.vue | 6 ++++++ packages/frontend/src/components/MkClickerGame.vue | 6 ++++++ packages/frontend/src/components/MkClipPreview.vue | 6 ++++++ packages/frontend/src/components/MkCode.core.vue | 6 ++++++ packages/frontend/src/components/MkCode.vue | 6 ++++++ packages/frontend/src/components/MkColorInput.vue | 6 ++++++ packages/frontend/src/components/MkContainer.vue | 6 ++++++ packages/frontend/src/components/MkContextMenu.vue | 6 ++++++ packages/frontend/src/components/MkCropperDialog.vue | 6 ++++++ packages/frontend/src/components/MkCwButton.vue | 6 ++++++ packages/frontend/src/components/MkDateSeparatedList.vue | 6 ++++++ packages/frontend/src/components/MkDialog.vue | 6 ++++++ .../frontend/src/components/MkDigitalClock.stories.impl.ts | 4 ++++ packages/frontend/src/components/MkDigitalClock.vue | 6 ++++++ packages/frontend/src/components/MkDonation.vue | 6 ++++++ packages/frontend/src/components/MkDrive.file.vue | 6 ++++++ packages/frontend/src/components/MkDrive.folder.vue | 6 ++++++ packages/frontend/src/components/MkDrive.navFolder.vue | 6 ++++++ packages/frontend/src/components/MkDrive.vue | 6 ++++++ packages/frontend/src/components/MkDriveFileThumbnail.vue | 6 ++++++ packages/frontend/src/components/MkDriveSelectDialog.vue | 6 ++++++ packages/frontend/src/components/MkDriveWindow.vue | 6 ++++++ packages/frontend/src/components/MkEmojiPicker.section.vue | 6 ++++++ packages/frontend/src/components/MkEmojiPicker.vue | 6 ++++++ packages/frontend/src/components/MkEmojiPickerDialog.vue | 6 ++++++ packages/frontend/src/components/MkEmojiPickerWindow.vue | 6 ++++++ packages/frontend/src/components/MkFeaturedPhotos.vue | 6 ++++++ .../frontend/src/components/MkFileCaptionEditWindow.vue | 6 ++++++ packages/frontend/src/components/MkFileListForAdmin.vue | 6 ++++++ packages/frontend/src/components/MkFlashPreview.vue | 6 ++++++ packages/frontend/src/components/MkFoldableSection.vue | 6 ++++++ packages/frontend/src/components/MkFolder.vue | 6 ++++++ packages/frontend/src/components/MkFollowButton.vue | 6 ++++++ packages/frontend/src/components/MkForgotPassword.vue | 6 ++++++ packages/frontend/src/components/MkFormDialog.vue | 6 ++++++ .../src/components/MkGalleryPostPreview.stories.impl.ts | 4 ++++ packages/frontend/src/components/MkGalleryPostPreview.vue | 6 ++++++ packages/frontend/src/components/MkGoogle.vue | 6 ++++++ packages/frontend/src/components/MkHeatmap.vue | 6 ++++++ packages/frontend/src/components/MkImgWithBlurhash.vue | 6 ++++++ packages/frontend/src/components/MkInfo.vue | 6 ++++++ packages/frontend/src/components/MkInput.vue | 6 ++++++ packages/frontend/src/components/MkInstanceCardMini.vue | 6 ++++++ packages/frontend/src/components/MkInstanceStats.vue | 6 ++++++ packages/frontend/src/components/MkInstanceTicker.vue | 6 ++++++ .../frontend/src/components/MkInviteCode.stories.impl.ts | 4 ++++ packages/frontend/src/components/MkInviteCode.vue | 6 ++++++ packages/frontend/src/components/MkKeyValue.vue | 6 ++++++ packages/frontend/src/components/MkLaunchPad.vue | 6 ++++++ packages/frontend/src/components/MkLink.vue | 6 ++++++ packages/frontend/src/components/MkMarquee.vue | 6 ++++++ packages/frontend/src/components/MkMediaBanner.vue | 6 ++++++ packages/frontend/src/components/MkMediaImage.vue | 6 ++++++ packages/frontend/src/components/MkMediaList.vue | 6 ++++++ packages/frontend/src/components/MkMediaVideo.vue | 6 ++++++ packages/frontend/src/components/MkMention.vue | 6 ++++++ packages/frontend/src/components/MkMenu.child.vue | 6 ++++++ packages/frontend/src/components/MkMenu.vue | 6 ++++++ packages/frontend/src/components/MkMiniChart.vue | 6 ++++++ packages/frontend/src/components/MkModal.vue | 6 ++++++ packages/frontend/src/components/MkModalWindow.vue | 6 ++++++ packages/frontend/src/components/MkNote.vue | 6 ++++++ packages/frontend/src/components/MkNoteDetailed.vue | 6 ++++++ packages/frontend/src/components/MkNoteHeader.vue | 6 ++++++ packages/frontend/src/components/MkNotePreview.vue | 6 ++++++ packages/frontend/src/components/MkNoteSimple.vue | 6 ++++++ packages/frontend/src/components/MkNoteSub.vue | 6 ++++++ packages/frontend/src/components/MkNotes.vue | 6 ++++++ packages/frontend/src/components/MkNotification.vue | 6 ++++++ .../frontend/src/components/MkNotificationSettingWindow.vue | 6 ++++++ packages/frontend/src/components/MkNotifications.vue | 6 ++++++ packages/frontend/src/components/MkNumber.vue | 6 ++++++ packages/frontend/src/components/MkNumberDiff.vue | 6 ++++++ packages/frontend/src/components/MkObjectView.value.vue | 6 ++++++ packages/frontend/src/components/MkObjectView.vue | 6 ++++++ packages/frontend/src/components/MkOmit.vue | 6 ++++++ packages/frontend/src/components/MkPagePreview.vue | 6 ++++++ packages/frontend/src/components/MkPageWindow.vue | 6 ++++++ packages/frontend/src/components/MkPagination.vue | 6 ++++++ packages/frontend/src/components/MkPlusOneEffect.vue | 6 ++++++ packages/frontend/src/components/MkPoll.vue | 6 ++++++ packages/frontend/src/components/MkPollEditor.vue | 6 ++++++ packages/frontend/src/components/MkPopupMenu.vue | 6 ++++++ packages/frontend/src/components/MkPostForm.vue | 6 ++++++ packages/frontend/src/components/MkPostFormAttaches.vue | 6 ++++++ packages/frontend/src/components/MkPostFormDialog.vue | 6 ++++++ .../src/components/MkPushNotificationAllowButton.vue | 6 ++++++ packages/frontend/src/components/MkRadio.vue | 6 ++++++ packages/frontend/src/components/MkRadios.vue | 6 ++++++ packages/frontend/src/components/MkRange.vue | 6 ++++++ packages/frontend/src/components/MkReactedUsersDialog.vue | 6 ++++++ packages/frontend/src/components/MkReactionEffect.vue | 6 ++++++ packages/frontend/src/components/MkReactionIcon.vue | 6 ++++++ packages/frontend/src/components/MkReactionTooltip.vue | 6 ++++++ .../frontend/src/components/MkReactionsViewer.details.vue | 6 ++++++ .../frontend/src/components/MkReactionsViewer.reaction.vue | 6 ++++++ packages/frontend/src/components/MkReactionsViewer.vue | 6 ++++++ packages/frontend/src/components/MkRemoteCaution.vue | 6 ++++++ packages/frontend/src/components/MkRenotedUsersDialog.vue | 6 ++++++ packages/frontend/src/components/MkRetentionHeatmap.vue | 6 ++++++ packages/frontend/src/components/MkRetentionLineChart.vue | 6 ++++++ packages/frontend/src/components/MkRippleEffect.vue | 6 ++++++ packages/frontend/src/components/MkRolePreview.vue | 6 ++++++ packages/frontend/src/components/MkSelect.vue | 6 ++++++ packages/frontend/src/components/MkSignin.vue | 6 ++++++ packages/frontend/src/components/MkSigninDialog.vue | 6 ++++++ packages/frontend/src/components/MkSignupDialog.form.vue | 6 ++++++ .../src/components/MkSignupDialog.rules.stories.impl.ts | 4 ++++ packages/frontend/src/components/MkSignupDialog.rules.vue | 6 ++++++ packages/frontend/src/components/MkSignupDialog.vue | 6 ++++++ packages/frontend/src/components/MkSparkle.vue | 6 ++++++ packages/frontend/src/components/MkSubNoteContent.vue | 6 ++++++ packages/frontend/src/components/MkSuperMenu.vue | 6 ++++++ packages/frontend/src/components/MkSwitch.vue | 6 ++++++ packages/frontend/src/components/MkTab.vue | 6 ++++++ packages/frontend/src/components/MkTagCloud.vue | 6 ++++++ packages/frontend/src/components/MkTextarea.vue | 6 ++++++ packages/frontend/src/components/MkTimeline.vue | 6 ++++++ packages/frontend/src/components/MkToast.vue | 6 ++++++ packages/frontend/src/components/MkTokenGenerateWindow.vue | 6 ++++++ packages/frontend/src/components/MkTooltip.vue | 6 ++++++ packages/frontend/src/components/MkUpdated.vue | 6 ++++++ packages/frontend/src/components/MkUrlPreview.vue | 6 ++++++ packages/frontend/src/components/MkUrlPreviewPopup.vue | 6 ++++++ packages/frontend/src/components/MkUserCardMini.vue | 6 ++++++ packages/frontend/src/components/MkUserInfo.vue | 6 ++++++ packages/frontend/src/components/MkUserList.vue | 6 ++++++ packages/frontend/src/components/MkUserOnlineIndicator.vue | 6 ++++++ packages/frontend/src/components/MkUserPopup.vue | 6 ++++++ packages/frontend/src/components/MkUserSelectDialog.vue | 6 ++++++ .../src/components/MkUserSetupDialog.Follow.stories.impl.ts | 4 ++++ .../frontend/src/components/MkUserSetupDialog.Follow.vue | 6 ++++++ .../components/MkUserSetupDialog.Privacy.stories.impl.ts | 4 ++++ .../frontend/src/components/MkUserSetupDialog.Privacy.vue | 6 ++++++ .../components/MkUserSetupDialog.Profile.stories.impl.ts | 4 ++++ .../frontend/src/components/MkUserSetupDialog.Profile.vue | 6 ++++++ .../src/components/MkUserSetupDialog.User.stories.impl.ts | 4 ++++ packages/frontend/src/components/MkUserSetupDialog.User.vue | 6 ++++++ .../src/components/MkUserSetupDialog.stories.impl.ts | 4 ++++ packages/frontend/src/components/MkUserSetupDialog.vue | 6 ++++++ packages/frontend/src/components/MkUsersTooltip.vue | 6 ++++++ packages/frontend/src/components/MkVisibilityPicker.vue | 6 ++++++ .../src/components/MkVisitorDashboard.ActiveUsersChart.vue | 6 ++++++ packages/frontend/src/components/MkVisitorDashboard.vue | 6 ++++++ packages/frontend/src/components/MkWaitingDialog.vue | 6 ++++++ packages/frontend/src/components/MkWidgets.vue | 6 ++++++ packages/frontend/src/components/MkWindow.vue | 6 ++++++ packages/frontend/src/components/MkYouTubePlayer.vue | 6 ++++++ packages/frontend/src/components/form/link.vue | 6 ++++++ packages/frontend/src/components/form/section.vue | 6 ++++++ packages/frontend/src/components/form/slot.vue | 6 ++++++ packages/frontend/src/components/form/split.vue | 6 ++++++ packages/frontend/src/components/form/suspense.vue | 6 ++++++ packages/frontend/src/components/global/MkA.stories.impl.ts | 4 ++++ packages/frontend/src/components/global/MkA.vue | 6 ++++++ .../frontend/src/components/global/MkAcct.stories.impl.ts | 4 ++++ packages/frontend/src/components/global/MkAcct.vue | 6 ++++++ .../frontend/src/components/global/MkAd.stories.impl.ts | 4 ++++ packages/frontend/src/components/global/MkAd.vue | 6 ++++++ .../frontend/src/components/global/MkAvatar.stories.impl.ts | 4 ++++ packages/frontend/src/components/global/MkAvatar.vue | 6 ++++++ .../src/components/global/MkCondensedLine.stories.impl.ts | 4 ++++ packages/frontend/src/components/global/MkCondensedLine.vue | 6 ++++++ .../src/components/global/MkCustomEmoji.stories.impl.ts | 4 ++++ packages/frontend/src/components/global/MkCustomEmoji.vue | 6 ++++++ .../src/components/global/MkEllipsis.stories.impl.ts | 4 ++++ packages/frontend/src/components/global/MkEllipsis.vue | 6 ++++++ .../frontend/src/components/global/MkEmoji.stories.impl.ts | 4 ++++ packages/frontend/src/components/global/MkEmoji.vue | 6 ++++++ .../frontend/src/components/global/MkError.stories.impl.ts | 4 ++++ .../frontend/src/components/global/MkError.stories.meta.ts | 4 ++++ packages/frontend/src/components/global/MkError.vue | 6 ++++++ .../src/components/global/MkLoading.stories.impl.ts | 4 ++++ packages/frontend/src/components/global/MkLoading.vue | 6 ++++++ .../global/MkMisskeyFlavoredMarkdown.stories.impl.ts | 4 ++++ .../src/components/global/MkMisskeyFlavoredMarkdown.ts | 4 ++++ .../src/components/global/MkPageHeader.stories.impl.ts | 4 ++++ .../src/components/global/MkPageHeader.tabs.stories.impl.ts | 4 ++++ .../frontend/src/components/global/MkPageHeader.tabs.vue | 6 ++++++ packages/frontend/src/components/global/MkPageHeader.vue | 6 ++++++ packages/frontend/src/components/global/MkSpacer.vue | 6 ++++++ .../src/components/global/MkStickyContainer.stories.impl.ts | 4 ++++ .../frontend/src/components/global/MkStickyContainer.vue | 6 ++++++ .../frontend/src/components/global/MkTime.stories.impl.ts | 4 ++++ packages/frontend/src/components/global/MkTime.vue | 6 ++++++ .../frontend/src/components/global/MkUrl.stories.impl.ts | 4 ++++ packages/frontend/src/components/global/MkUrl.vue | 6 ++++++ .../src/components/global/MkUserName.stories.impl.ts | 4 ++++ packages/frontend/src/components/global/MkUserName.vue | 6 ++++++ .../src/components/global/RouterView.stories.impl.ts | 4 ++++ packages/frontend/src/components/global/RouterView.vue | 6 ++++++ packages/frontend/src/components/global/i18n.ts | 4 ++++ packages/frontend/src/components/index.ts | 4 ++++ packages/frontend/src/components/page/block.type.ts | 4 ++++ packages/frontend/src/components/page/page.block.vue | 6 ++++++ packages/frontend/src/components/page/page.image.vue | 6 ++++++ packages/frontend/src/components/page/page.note.vue | 6 ++++++ packages/frontend/src/components/page/page.section.vue | 6 ++++++ packages/frontend/src/components/page/page.text.vue | 6 ++++++ packages/frontend/src/components/page/page.vue | 6 ++++++ packages/frontend/src/config.ts | 4 ++++ packages/frontend/src/const.ts | 4 ++++ packages/frontend/src/custom-emojis.ts | 4 ++++ packages/frontend/src/debug.ts | 4 ++++ packages/frontend/src/directives/adaptive-bg.ts | 4 ++++ packages/frontend/src/directives/adaptive-border.ts | 4 ++++ packages/frontend/src/directives/anim.ts | 4 ++++ packages/frontend/src/directives/appear.ts | 4 ++++ packages/frontend/src/directives/click-anime.ts | 4 ++++ packages/frontend/src/directives/follow-append.ts | 4 ++++ packages/frontend/src/directives/get-size.ts | 4 ++++ packages/frontend/src/directives/hotkey.ts | 4 ++++ packages/frontend/src/directives/index.ts | 4 ++++ packages/frontend/src/directives/panel.ts | 4 ++++ packages/frontend/src/directives/ripple.ts | 4 ++++ packages/frontend/src/directives/tooltip.ts | 4 ++++ packages/frontend/src/directives/user-preview.ts | 4 ++++ packages/frontend/src/events.ts | 4 ++++ packages/frontend/src/filters/bytes.ts | 4 ++++ packages/frontend/src/filters/date.ts | 4 ++++ packages/frontend/src/filters/note.ts | 4 ++++ packages/frontend/src/filters/number.ts | 4 ++++ packages/frontend/src/filters/user.ts | 4 ++++ packages/frontend/src/i18n.ts | 4 ++++ packages/frontend/src/instance.ts | 4 ++++ packages/frontend/src/local-storage.ts | 4 ++++ packages/frontend/src/navbar.ts | 4 ++++ packages/frontend/src/nirax.ts | 4 ++++ packages/frontend/src/os.ts | 4 ++++ packages/frontend/src/pages/_empty_.vue | 6 ++++++ packages/frontend/src/pages/_error_.vue | 6 ++++++ packages/frontend/src/pages/_loading_.vue | 6 ++++++ packages/frontend/src/pages/about-misskey.vue | 6 ++++++ packages/frontend/src/pages/about.emojis.vue | 6 ++++++ packages/frontend/src/pages/about.federation.vue | 6 ++++++ packages/frontend/src/pages/about.vue | 6 ++++++ packages/frontend/src/pages/achievements.vue | 6 ++++++ packages/frontend/src/pages/admin-file.vue | 6 ++++++ packages/frontend/src/pages/admin/RolesEditorFormula.vue | 6 ++++++ packages/frontend/src/pages/admin/_header_.vue | 6 ++++++ packages/frontend/src/pages/admin/abuses.vue | 6 ++++++ packages/frontend/src/pages/admin/ads.vue | 6 ++++++ packages/frontend/src/pages/admin/announcements.vue | 6 ++++++ packages/frontend/src/pages/admin/bot-protection.vue | 6 ++++++ packages/frontend/src/pages/admin/branding.vue | 6 ++++++ packages/frontend/src/pages/admin/database.vue | 6 ++++++ packages/frontend/src/pages/admin/email-settings.vue | 6 ++++++ packages/frontend/src/pages/admin/federation.vue | 6 ++++++ packages/frontend/src/pages/admin/files.vue | 6 ++++++ packages/frontend/src/pages/admin/index.vue | 6 ++++++ packages/frontend/src/pages/admin/instance-block.vue | 6 ++++++ packages/frontend/src/pages/admin/invites.vue | 6 ++++++ packages/frontend/src/pages/admin/moderation.vue | 6 ++++++ packages/frontend/src/pages/admin/object-storage.vue | 6 ++++++ packages/frontend/src/pages/admin/other-settings.vue | 6 ++++++ packages/frontend/src/pages/admin/overview.active-users.vue | 6 ++++++ packages/frontend/src/pages/admin/overview.ap-requests.vue | 6 ++++++ packages/frontend/src/pages/admin/overview.federation.vue | 6 ++++++ packages/frontend/src/pages/admin/overview.heatmap.vue | 6 ++++++ packages/frontend/src/pages/admin/overview.instances.vue | 6 ++++++ packages/frontend/src/pages/admin/overview.moderators.vue | 6 ++++++ packages/frontend/src/pages/admin/overview.pie.vue | 6 ++++++ packages/frontend/src/pages/admin/overview.queue.chart.vue | 6 ++++++ packages/frontend/src/pages/admin/overview.queue.vue | 6 ++++++ packages/frontend/src/pages/admin/overview.retention.vue | 6 ++++++ packages/frontend/src/pages/admin/overview.stats.vue | 6 ++++++ packages/frontend/src/pages/admin/overview.users.vue | 6 ++++++ packages/frontend/src/pages/admin/overview.vue | 6 ++++++ packages/frontend/src/pages/admin/proxy-account.vue | 6 ++++++ packages/frontend/src/pages/admin/queue.chart.chart.vue | 6 ++++++ packages/frontend/src/pages/admin/queue.chart.vue | 6 ++++++ packages/frontend/src/pages/admin/queue.vue | 6 ++++++ packages/frontend/src/pages/admin/relays.vue | 6 ++++++ packages/frontend/src/pages/admin/roles.edit.vue | 6 ++++++ packages/frontend/src/pages/admin/roles.editor.vue | 6 ++++++ packages/frontend/src/pages/admin/roles.role.vue | 6 ++++++ packages/frontend/src/pages/admin/roles.vue | 6 ++++++ packages/frontend/src/pages/admin/security.vue | 6 ++++++ packages/frontend/src/pages/admin/server-rules.vue | 6 ++++++ packages/frontend/src/pages/admin/settings.vue | 6 ++++++ packages/frontend/src/pages/admin/users.vue | 6 ++++++ packages/frontend/src/pages/ads.vue | 6 ++++++ packages/frontend/src/pages/announcements.vue | 6 ++++++ packages/frontend/src/pages/antenna-timeline.vue | 6 ++++++ packages/frontend/src/pages/api-console.vue | 6 ++++++ packages/frontend/src/pages/auth.form.vue | 6 ++++++ packages/frontend/src/pages/auth.vue | 6 ++++++ packages/frontend/src/pages/channel-editor.vue | 6 ++++++ packages/frontend/src/pages/channel.vue | 6 ++++++ packages/frontend/src/pages/channels.vue | 6 ++++++ packages/frontend/src/pages/clicker.vue | 6 ++++++ packages/frontend/src/pages/clip.vue | 6 ++++++ packages/frontend/src/pages/custom-emojis-manager.vue | 6 ++++++ packages/frontend/src/pages/drive.vue | 6 ++++++ packages/frontend/src/pages/emoji-edit-dialog.vue | 6 ++++++ packages/frontend/src/pages/emojis.emoji.vue | 6 ++++++ packages/frontend/src/pages/explore.featured.vue | 6 ++++++ packages/frontend/src/pages/explore.roles.vue | 6 ++++++ packages/frontend/src/pages/explore.users.vue | 6 ++++++ packages/frontend/src/pages/explore.vue | 6 ++++++ packages/frontend/src/pages/favorites.vue | 6 ++++++ packages/frontend/src/pages/flash/flash-edit.vue | 6 ++++++ packages/frontend/src/pages/flash/flash-index.vue | 6 ++++++ packages/frontend/src/pages/flash/flash.vue | 6 ++++++ packages/frontend/src/pages/follow-requests.vue | 6 ++++++ packages/frontend/src/pages/follow.vue | 6 ++++++ packages/frontend/src/pages/gallery/edit.vue | 6 ++++++ packages/frontend/src/pages/gallery/index.vue | 6 ++++++ packages/frontend/src/pages/gallery/post.vue | 6 ++++++ packages/frontend/src/pages/instance-info.vue | 6 ++++++ packages/frontend/src/pages/invite.vue | 6 ++++++ packages/frontend/src/pages/list.vue | 6 ++++++ packages/frontend/src/pages/miauth.vue | 6 ++++++ packages/frontend/src/pages/my-antennas/create.vue | 6 ++++++ packages/frontend/src/pages/my-antennas/edit.vue | 6 ++++++ packages/frontend/src/pages/my-antennas/editor.vue | 6 ++++++ packages/frontend/src/pages/my-antennas/index.vue | 6 ++++++ packages/frontend/src/pages/my-clips/index.vue | 6 ++++++ packages/frontend/src/pages/my-lists/index.vue | 6 ++++++ packages/frontend/src/pages/my-lists/list.vue | 6 ++++++ packages/frontend/src/pages/not-found.vue | 6 ++++++ packages/frontend/src/pages/note.vue | 6 ++++++ packages/frontend/src/pages/notifications.vue | 6 ++++++ .../src/pages/page-editor/els/page-editor.el.image.vue | 6 ++++++ .../src/pages/page-editor/els/page-editor.el.note.vue | 6 ++++++ .../src/pages/page-editor/els/page-editor.el.section.vue | 6 ++++++ .../src/pages/page-editor/els/page-editor.el.text.vue | 6 ++++++ .../frontend/src/pages/page-editor/page-editor.blocks.vue | 6 ++++++ .../src/pages/page-editor/page-editor.container.vue | 6 ++++++ packages/frontend/src/pages/page-editor/page-editor.vue | 6 ++++++ packages/frontend/src/pages/page.vue | 6 ++++++ packages/frontend/src/pages/pages.vue | 6 ++++++ packages/frontend/src/pages/registry.keys.vue | 6 ++++++ packages/frontend/src/pages/registry.value.vue | 6 ++++++ packages/frontend/src/pages/registry.vue | 6 ++++++ packages/frontend/src/pages/reset-password.vue | 6 ++++++ packages/frontend/src/pages/role.vue | 6 ++++++ packages/frontend/src/pages/scratchpad.vue | 6 ++++++ packages/frontend/src/pages/search.note.vue | 6 ++++++ packages/frontend/src/pages/search.user.vue | 6 ++++++ packages/frontend/src/pages/search.vue | 6 ++++++ packages/frontend/src/pages/settings/2fa.qrdialog.vue | 6 ++++++ packages/frontend/src/pages/settings/2fa.vue | 6 ++++++ packages/frontend/src/pages/settings/accounts.vue | 6 ++++++ packages/frontend/src/pages/settings/api.vue | 6 ++++++ packages/frontend/src/pages/settings/apps.vue | 6 ++++++ packages/frontend/src/pages/settings/custom-css.vue | 6 ++++++ packages/frontend/src/pages/settings/deck.vue | 6 ++++++ packages/frontend/src/pages/settings/drive-cleaner.vue | 6 ++++++ packages/frontend/src/pages/settings/drive.vue | 6 ++++++ packages/frontend/src/pages/settings/email.vue | 6 ++++++ packages/frontend/src/pages/settings/general.vue | 6 ++++++ packages/frontend/src/pages/settings/import-export.vue | 6 ++++++ packages/frontend/src/pages/settings/index.vue | 6 ++++++ packages/frontend/src/pages/settings/instance-mute.vue | 6 ++++++ packages/frontend/src/pages/settings/migration.vue | 6 ++++++ packages/frontend/src/pages/settings/mute-block.vue | 6 ++++++ packages/frontend/src/pages/settings/navbar.vue | 6 ++++++ packages/frontend/src/pages/settings/notifications.vue | 6 ++++++ packages/frontend/src/pages/settings/other.vue | 6 ++++++ packages/frontend/src/pages/settings/plugin.install.vue | 6 ++++++ packages/frontend/src/pages/settings/plugin.vue | 6 ++++++ .../frontend/src/pages/settings/preferences-backups.vue | 6 ++++++ packages/frontend/src/pages/settings/privacy.vue | 6 ++++++ packages/frontend/src/pages/settings/profile.vue | 6 ++++++ packages/frontend/src/pages/settings/reaction.vue | 6 ++++++ packages/frontend/src/pages/settings/roles.vue | 6 ++++++ packages/frontend/src/pages/settings/security.vue | 6 ++++++ packages/frontend/src/pages/settings/sounds.sound.vue | 6 ++++++ packages/frontend/src/pages/settings/sounds.vue | 6 ++++++ .../frontend/src/pages/settings/statusbar.statusbar.vue | 6 ++++++ packages/frontend/src/pages/settings/statusbar.vue | 6 ++++++ packages/frontend/src/pages/settings/theme.install.vue | 6 ++++++ packages/frontend/src/pages/settings/theme.manage.vue | 6 ++++++ packages/frontend/src/pages/settings/theme.vue | 6 ++++++ packages/frontend/src/pages/settings/webhook.edit.vue | 6 ++++++ packages/frontend/src/pages/settings/webhook.new.vue | 6 ++++++ packages/frontend/src/pages/settings/webhook.vue | 6 ++++++ packages/frontend/src/pages/settings/word-mute.vue | 6 ++++++ packages/frontend/src/pages/share.vue | 6 ++++++ packages/frontend/src/pages/signup-complete.vue | 6 ++++++ packages/frontend/src/pages/tag.vue | 6 ++++++ packages/frontend/src/pages/theme-editor.vue | 6 ++++++ packages/frontend/src/pages/timeline.tutorial.vue | 6 ++++++ packages/frontend/src/pages/timeline.vue | 6 ++++++ packages/frontend/src/pages/user-info.vue | 6 ++++++ packages/frontend/src/pages/user-list-timeline.vue | 6 ++++++ packages/frontend/src/pages/user-tag.vue | 6 ++++++ packages/frontend/src/pages/user/achievements.vue | 6 ++++++ packages/frontend/src/pages/user/activity.following.vue | 6 ++++++ packages/frontend/src/pages/user/activity.heatmap.vue | 6 ++++++ packages/frontend/src/pages/user/activity.notes.vue | 6 ++++++ packages/frontend/src/pages/user/activity.pv.vue | 6 ++++++ packages/frontend/src/pages/user/activity.vue | 6 ++++++ packages/frontend/src/pages/user/clips.vue | 6 ++++++ packages/frontend/src/pages/user/follow-list.vue | 6 ++++++ packages/frontend/src/pages/user/followers.vue | 6 ++++++ packages/frontend/src/pages/user/following.vue | 6 ++++++ packages/frontend/src/pages/user/gallery.vue | 6 ++++++ packages/frontend/src/pages/user/home.stories.impl.ts | 4 ++++ packages/frontend/src/pages/user/home.vue | 6 ++++++ packages/frontend/src/pages/user/index.activity.vue | 6 ++++++ packages/frontend/src/pages/user/index.photos.vue | 6 ++++++ packages/frontend/src/pages/user/index.timeline.vue | 6 ++++++ packages/frontend/src/pages/user/index.vue | 6 ++++++ packages/frontend/src/pages/user/lists.vue | 6 ++++++ packages/frontend/src/pages/user/pages.vue | 6 ++++++ packages/frontend/src/pages/user/reactions.vue | 6 ++++++ packages/frontend/src/pages/welcome.entrance.a.vue | 6 ++++++ packages/frontend/src/pages/welcome.setup.vue | 6 ++++++ packages/frontend/src/pages/welcome.timeline.vue | 6 ++++++ packages/frontend/src/pages/welcome.vue | 6 ++++++ packages/frontend/src/pizzax.ts | 4 ++++ packages/frontend/src/plugin.ts | 4 ++++ packages/frontend/src/router.ts | 4 ++++ packages/frontend/src/scripts/2fa.ts | 4 ++++ packages/frontend/src/scripts/achievements.ts | 4 ++++ packages/frontend/src/scripts/aiscript/api.ts | 4 ++++ packages/frontend/src/scripts/aiscript/ui.ts | 4 ++++ packages/frontend/src/scripts/api.ts | 4 ++++ packages/frontend/src/scripts/array.ts | 4 ++++ packages/frontend/src/scripts/autocomplete.ts | 4 ++++ packages/frontend/src/scripts/cache.ts | 4 ++++ packages/frontend/src/scripts/chart-legend.ts | 4 ++++ packages/frontend/src/scripts/chart-vline.ts | 4 ++++ packages/frontend/src/scripts/check-word-mute.ts | 4 ++++ packages/frontend/src/scripts/clicker-game.ts | 4 ++++ packages/frontend/src/scripts/clone.ts | 4 ++++ packages/frontend/src/scripts/collapsed.ts | 4 ++++ packages/frontend/src/scripts/collect-page-vars.ts | 4 ++++ packages/frontend/src/scripts/color.ts | 4 ++++ packages/frontend/src/scripts/confetti.ts | 4 ++++ packages/frontend/src/scripts/contains.ts | 4 ++++ packages/frontend/src/scripts/copy-to-clipboard.ts | 4 ++++ packages/frontend/src/scripts/device-kind.ts | 4 ++++ packages/frontend/src/scripts/emoji-base.ts | 4 ++++ packages/frontend/src/scripts/emojilist.ts | 4 ++++ .../frontend/src/scripts/extract-avg-color-from-blurhash.ts | 4 ++++ packages/frontend/src/scripts/extract-mentions.ts | 4 ++++ packages/frontend/src/scripts/extract-url-from-mfm.ts | 4 ++++ packages/frontend/src/scripts/focus.ts | 4 ++++ packages/frontend/src/scripts/form.ts | 4 ++++ packages/frontend/src/scripts/format-time-string.ts | 4 ++++ packages/frontend/src/scripts/gen-search-query.ts | 4 ++++ packages/frontend/src/scripts/get-account-from-id.ts | 4 ++++ packages/frontend/src/scripts/get-drive-file-menu.ts | 4 ++++ packages/frontend/src/scripts/get-note-menu.ts | 4 ++++ packages/frontend/src/scripts/get-note-summary.ts | 4 ++++ packages/frontend/src/scripts/get-user-menu.ts | 4 ++++ packages/frontend/src/scripts/get-user-name.ts | 4 ++++ packages/frontend/src/scripts/hotkey.ts | 4 ++++ packages/frontend/src/scripts/i18n.ts | 4 ++++ packages/frontend/src/scripts/idb-proxy.ts | 4 ++++ packages/frontend/src/scripts/idle-render.ts | 4 ++++ packages/frontend/src/scripts/init-chart.ts | 4 ++++ packages/frontend/src/scripts/initialize-sw.ts | 4 ++++ packages/frontend/src/scripts/intl-const.ts | 4 ++++ packages/frontend/src/scripts/is-device-darkmode.ts | 4 ++++ packages/frontend/src/scripts/isFfVisibleForMe.ts | 4 ++++ packages/frontend/src/scripts/keycode.ts | 4 ++++ packages/frontend/src/scripts/langmap.ts | 4 ++++ packages/frontend/src/scripts/login-id.ts | 4 ++++ packages/frontend/src/scripts/lookup-user.ts | 4 ++++ packages/frontend/src/scripts/lookup.ts | 4 ++++ packages/frontend/src/scripts/media-proxy.ts | 4 ++++ packages/frontend/src/scripts/mfm-tags.ts | 4 ++++ packages/frontend/src/scripts/page-metadata.ts | 4 ++++ packages/frontend/src/scripts/physics.ts | 4 ++++ packages/frontend/src/scripts/please-login.ts | 4 ++++ packages/frontend/src/scripts/popout.ts | 4 ++++ packages/frontend/src/scripts/popup-position.ts | 3 +++ packages/frontend/src/scripts/reaction-picker.ts | 4 ++++ packages/frontend/src/scripts/safe-uri-decode.ts | 4 ++++ packages/frontend/src/scripts/scroll.ts | 4 ++++ packages/frontend/src/scripts/select-file.ts | 4 ++++ packages/frontend/src/scripts/show-moved-dialog.ts | 4 ++++ packages/frontend/src/scripts/show-suspended-dialog.ts | 4 ++++ packages/frontend/src/scripts/shuffle.ts | 4 ++++ packages/frontend/src/scripts/sound.ts | 4 ++++ packages/frontend/src/scripts/sticky-sidebar.ts | 4 ++++ packages/frontend/src/scripts/test-utils.ts | 4 ++++ packages/frontend/src/scripts/theme-editor.ts | 4 ++++ packages/frontend/src/scripts/theme.ts | 4 ++++ packages/frontend/src/scripts/time.ts | 4 ++++ packages/frontend/src/scripts/timezones.ts | 4 ++++ packages/frontend/src/scripts/touch.ts | 4 ++++ packages/frontend/src/scripts/unison-reload.ts | 4 ++++ packages/frontend/src/scripts/upload.ts | 4 ++++ packages/frontend/src/scripts/upload/compress-config.ts | 4 ++++ packages/frontend/src/scripts/upload/isWebpSupported.ts | 4 ++++ packages/frontend/src/scripts/url.ts | 4 ++++ packages/frontend/src/scripts/use-chart-tooltip.ts | 4 ++++ packages/frontend/src/scripts/use-document-visibility.ts | 4 ++++ packages/frontend/src/scripts/use-interval.ts | 4 ++++ packages/frontend/src/scripts/use-leave-guard.ts | 4 ++++ packages/frontend/src/scripts/use-note-capture.ts | 4 ++++ packages/frontend/src/scripts/use-tooltip.ts | 4 ++++ packages/frontend/src/scripts/worker-multi-dispatch.ts | 4 ++++ packages/frontend/src/store.ts | 4 ++++ packages/frontend/src/stream.ts | 4 ++++ packages/frontend/src/style.scss | 6 ++++++ packages/frontend/src/theme-store.ts | 4 ++++ packages/frontend/src/types/date-separated-list.ts | 4 ++++ packages/frontend/src/types/menu.ts | 4 ++++ packages/frontend/src/ui/_common_/common.ts | 4 ++++ packages/frontend/src/ui/_common_/common.vue | 6 ++++++ packages/frontend/src/ui/_common_/navbar-for-mobile.vue | 6 ++++++ packages/frontend/src/ui/_common_/navbar.vue | 6 ++++++ packages/frontend/src/ui/_common_/notification.vue | 6 ++++++ packages/frontend/src/ui/_common_/statusbar-federation.vue | 6 ++++++ packages/frontend/src/ui/_common_/statusbar-rss.vue | 6 ++++++ packages/frontend/src/ui/_common_/statusbar-user-list.vue | 6 ++++++ packages/frontend/src/ui/_common_/statusbars.vue | 6 ++++++ packages/frontend/src/ui/_common_/stream-indicator.vue | 6 ++++++ packages/frontend/src/ui/_common_/sw-inject.ts | 4 ++++ packages/frontend/src/ui/_common_/upload.vue | 6 ++++++ packages/frontend/src/ui/classic.header.vue | 6 ++++++ packages/frontend/src/ui/classic.sidebar.vue | 6 ++++++ packages/frontend/src/ui/classic.vue | 6 ++++++ packages/frontend/src/ui/deck.vue | 6 ++++++ packages/frontend/src/ui/deck/antenna-column.vue | 6 ++++++ packages/frontend/src/ui/deck/channel-column.vue | 6 ++++++ packages/frontend/src/ui/deck/column.vue | 6 ++++++ packages/frontend/src/ui/deck/deck-store.ts | 4 ++++ packages/frontend/src/ui/deck/direct-column.vue | 6 ++++++ packages/frontend/src/ui/deck/list-column.vue | 6 ++++++ packages/frontend/src/ui/deck/main-column.vue | 6 ++++++ packages/frontend/src/ui/deck/mentions-column.vue | 6 ++++++ packages/frontend/src/ui/deck/notifications-column.vue | 6 ++++++ packages/frontend/src/ui/deck/role-timeline-column.vue | 6 ++++++ packages/frontend/src/ui/deck/tl-column.vue | 6 ++++++ packages/frontend/src/ui/deck/widgets-column.vue | 6 ++++++ packages/frontend/src/ui/minimum.vue | 6 ++++++ packages/frontend/src/ui/universal.vue | 6 ++++++ packages/frontend/src/ui/universal.widgets.vue | 6 ++++++ packages/frontend/src/ui/visitor.vue | 6 ++++++ packages/frontend/src/ui/zen.vue | 6 ++++++ packages/frontend/src/widgets/WidgetActivity.calendar.vue | 6 ++++++ packages/frontend/src/widgets/WidgetActivity.chart.vue | 6 ++++++ packages/frontend/src/widgets/WidgetActivity.vue | 6 ++++++ packages/frontend/src/widgets/WidgetAichan.vue | 6 ++++++ packages/frontend/src/widgets/WidgetAiscript.vue | 6 ++++++ packages/frontend/src/widgets/WidgetAiscriptApp.vue | 6 ++++++ packages/frontend/src/widgets/WidgetButton.vue | 6 ++++++ packages/frontend/src/widgets/WidgetCalendar.vue | 6 ++++++ packages/frontend/src/widgets/WidgetClicker.vue | 6 ++++++ packages/frontend/src/widgets/WidgetClock.vue | 6 ++++++ packages/frontend/src/widgets/WidgetDigitalClock.vue | 6 ++++++ packages/frontend/src/widgets/WidgetFederation.vue | 6 ++++++ packages/frontend/src/widgets/WidgetInstanceCloud.vue | 6 ++++++ packages/frontend/src/widgets/WidgetInstanceInfo.vue | 6 ++++++ packages/frontend/src/widgets/WidgetJobQueue.vue | 6 ++++++ packages/frontend/src/widgets/WidgetMemo.vue | 6 ++++++ packages/frontend/src/widgets/WidgetNotifications.vue | 6 ++++++ packages/frontend/src/widgets/WidgetOnlineUsers.vue | 6 ++++++ packages/frontend/src/widgets/WidgetPhotos.vue | 6 ++++++ packages/frontend/src/widgets/WidgetPostForm.vue | 6 ++++++ packages/frontend/src/widgets/WidgetProfile.vue | 6 ++++++ packages/frontend/src/widgets/WidgetRss.vue | 6 ++++++ packages/frontend/src/widgets/WidgetRssTicker.vue | 6 ++++++ packages/frontend/src/widgets/WidgetSlideshow.vue | 6 ++++++ packages/frontend/src/widgets/WidgetTimeline.vue | 6 ++++++ packages/frontend/src/widgets/WidgetTrends.vue | 6 ++++++ packages/frontend/src/widgets/WidgetUnixClock.vue | 6 ++++++ packages/frontend/src/widgets/WidgetUserList.vue | 6 ++++++ packages/frontend/src/widgets/index.ts | 4 ++++ packages/frontend/src/widgets/server-metric/cpu-mem.vue | 6 ++++++ packages/frontend/src/widgets/server-metric/cpu.vue | 6 ++++++ packages/frontend/src/widgets/server-metric/disk.vue | 6 ++++++ packages/frontend/src/widgets/server-metric/index.vue | 6 ++++++ packages/frontend/src/widgets/server-metric/mem.vue | 6 ++++++ packages/frontend/src/widgets/server-metric/net.vue | 6 ++++++ packages/frontend/src/widgets/server-metric/pie.vue | 6 ++++++ packages/frontend/src/widgets/widget.ts | 4 ++++ packages/frontend/src/workers/draw-blurhash.ts | 4 ++++ packages/frontend/src/workers/test-webgl2.ts | 4 ++++ packages/frontend/test/home.test.ts | 4 ++++ packages/frontend/test/init.ts | 4 ++++ packages/frontend/test/note.test.ts | 4 ++++ packages/frontend/test/url-preview.test.ts | 4 ++++ packages/sw/build.js | 4 ++++ packages/sw/src/@types/global.d.ts | 4 ++++ packages/sw/src/scripts/create-notification.ts | 4 ++++ packages/sw/src/scripts/get-account-from-id.ts | 4 ++++ packages/sw/src/scripts/get-user-name.ts | 4 ++++ packages/sw/src/scripts/i18n.ts | 4 ++++ packages/sw/src/scripts/lang.ts | 4 ++++ packages/sw/src/scripts/login-id.ts | 4 ++++ packages/sw/src/scripts/operations.ts | 4 ++++ packages/sw/src/scripts/twemoji-base.ts | 4 ++++ packages/sw/src/sw.ts | 4 ++++ packages/sw/src/types.ts | 4 ++++ scripts/build-pre.js | 4 ++++ scripts/clean-all.js | 4 ++++ scripts/clean.js | 4 ++++ scripts/dev.mjs | 4 ++++ 1647 files changed, 7322 insertions(+), 132 deletions(-) diff --git a/healthcheck.sh b/healthcheck.sh index e97a3f0636..6129454063 100644 --- a/healthcheck.sh +++ b/healthcheck.sh @@ -1,4 +1,8 @@ #!/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}') curl -s -S -o /dev/null "http://localhost:${PORT}" diff --git a/packages/backend/check_connect.js b/packages/backend/check_connect.js index da78c8ec7c..28f0c07f20 100644 --- a/packages/backend/check_connect.js +++ b/packages/backend/check_connect.js @@ -1,3 +1,7 @@ +// 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 1140be7e84..adfb888caf 100644 --- a/packages/backend/migration/1000000000000-Init.js +++ b/packages/backend/migration/1000000000000-Init.js @@ -1,4 +1,6 @@ - +// 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 50caa2ce91..df09e01736 100644 --- a/packages/backend/migration/1556348509290-Pages.js +++ b/packages/backend/migration/1556348509290-Pages.js @@ -1,4 +1,6 @@ - +// 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 50a9d1a8be..4cb66e2100 100644 --- a/packages/backend/migration/1556746559567-UserProfile.js +++ b/packages/backend/migration/1556746559567-UserProfile.js @@ -1,4 +1,6 @@ - +// 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 d9cce25435..0840c6d2a7 100644 --- a/packages/backend/migration/1557476068003-PinnedUsers.js +++ b/packages/backend/migration/1557476068003-PinnedUsers.js @@ -1,4 +1,6 @@ - +// 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 ab8736f7cc..f93b155efb 100644 --- a/packages/backend/migration/1557761316509-AddSomeUrls.js +++ b/packages/backend/migration/1557761316509-AddSomeUrls.js @@ -1,4 +1,6 @@ - +// 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 19a0b9d5cd..7b9f05b4de 100644 --- a/packages/backend/migration/1557932705754-ObjectStorageSetting.js +++ b/packages/backend/migration/1557932705754-ObjectStorageSetting.js @@ -1,4 +1,6 @@ - +// 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 31b08418a9..8ba054e681 100644 --- a/packages/backend/migration/1558072954435-PageLike.js +++ b/packages/backend/migration/1558072954435-PageLike.js @@ -1,4 +1,6 @@ - +// 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 b670b31c3d..2453accf02 100644 --- a/packages/backend/migration/1558103093633-UserGroup.js +++ b/packages/backend/migration/1558103093633-UserGroup.js @@ -1,4 +1,6 @@ - +// 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 e48bd3a7ff..f57bdf837a 100644 --- a/packages/backend/migration/1558257926829-UserGroupInvite.js +++ b/packages/backend/migration/1558257926829-UserGroupInvite.js @@ -1,4 +1,6 @@ - +// 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 3398aed139..fb895533cc 100644 --- a/packages/backend/migration/1558266512381-UserListJoining.js +++ b/packages/backend/migration/1558266512381-UserListJoining.js @@ -1,4 +1,6 @@ - +// 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 b007ffef14..febb46d80c 100644 --- a/packages/backend/migration/1561706992953-webauthn.js +++ b/packages/backend/migration/1561706992953-webauthn.js @@ -1,4 +1,6 @@ - +// 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 3ce53567fc..453219e35e 100644 --- a/packages/backend/migration/1561873850023-ChartIndexes.js +++ b/packages/backend/migration/1561873850023-ChartIndexes.js @@ -1,4 +1,6 @@ - +// 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 b73c7db4d3..b133a87347 100644 --- a/packages/backend/migration/1562422242907-PasswordLessLogin.js +++ b/packages/backend/migration/1562422242907-PasswordLessLogin.js @@ -1,4 +1,6 @@ - +// 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 9a999a9150..6a1f46607b 100644 --- a/packages/backend/migration/1562444565093-PinnedPage.js +++ b/packages/backend/migration/1562444565093-PinnedPage.js @@ -1,4 +1,6 @@ - +// 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 8fc78d202f..8076a76130 100644 --- a/packages/backend/migration/1562448332510-PageTitleHideOption.js +++ b/packages/backend/migration/1562448332510-PageTitleHideOption.js @@ -1,4 +1,6 @@ - +// 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 dd66d16eec..5dfa5c9ed4 100644 --- a/packages/backend/migration/1562869971568-ModerationLog.js +++ b/packages/backend/migration/1562869971568-ModerationLog.js @@ -1,4 +1,6 @@ - +// 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 8972df297d..56c690973a 100644 --- a/packages/backend/migration/1563757595828-UsedUsername.js +++ b/packages/backend/migration/1563757595828-UsedUsername.js @@ -1,4 +1,6 @@ - +// 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 679940f244..7e012e403b 100644 --- a/packages/backend/migration/1565634203341-room.js +++ b/packages/backend/migration/1565634203341-room.js @@ -1,4 +1,6 @@ - +// 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 37c07366e1..c8d37fc9db 100644 --- a/packages/backend/migration/1571220798684-CustomEmojiCategory.js +++ b/packages/backend/migration/1571220798684-CustomEmojiCategory.js @@ -1,4 +1,6 @@ - +// 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 54d5f914a4..1760dfab13 100644 --- a/packages/backend/migration/1572760203493-nodeinfo.js +++ b/packages/backend/migration/1572760203493-nodeinfo.js @@ -1,4 +1,6 @@ - +// 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 35861d571f..006f8c16ad 100644 --- a/packages/backend/migration/1576269851876-TalkFederationId.js +++ b/packages/backend/migration/1576269851876-TalkFederationId.js @@ -1,4 +1,6 @@ - +// 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 d6d134be40..a7bb09f189 100644 --- a/packages/backend/migration/1576869585998-ProxyRemoteFiles.js +++ b/packages/backend/migration/1576869585998-ProxyRemoteFiles.js @@ -1,4 +1,6 @@ - +// 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 7f6318a192..9e7c65efdb 100644 --- a/packages/backend/migration/1579267006611-v12.js +++ b/packages/backend/migration/1579267006611-v12.js @@ -1,4 +1,6 @@ - +// 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 c51ce63066..a07e6f52c7 100644 --- a/packages/backend/migration/1579270193251-v12-2.js +++ b/packages/backend/migration/1579270193251-v12-2.js @@ -1,4 +1,6 @@ - +// 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 aeb4f5a873..2814e462d3 100644 --- a/packages/backend/migration/1579282808087-v12-3.js +++ b/packages/backend/migration/1579282808087-v12-3.js @@ -1,4 +1,6 @@ - +// 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 f1e093413e..d64dc3c3ea 100644 --- a/packages/backend/migration/1579544426412-v12-4.js +++ b/packages/backend/migration/1579544426412-v12-4.js @@ -1,4 +1,6 @@ - +// 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 6d2b5c584a..6686167ca3 100644 --- a/packages/backend/migration/1579977526288-v12-5.js +++ b/packages/backend/migration/1579977526288-v12-5.js @@ -1,4 +1,6 @@ - +// 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 3941c1391d..377648e46e 100644 --- a/packages/backend/migration/1579993013959-v12-6.js +++ b/packages/backend/migration/1579993013959-v12-6.js @@ -1,4 +1,6 @@ - +// 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 4b4790cb7d..20cdbb28db 100644 --- a/packages/backend/migration/1580069531114-v12-7.js +++ b/packages/backend/migration/1580069531114-v12-7.js @@ -1,4 +1,6 @@ - +// 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 cc30200c14..3e0c05cb9b 100644 --- a/packages/backend/migration/1580148575182-v12-8.js +++ b/packages/backend/migration/1580148575182-v12-8.js @@ -1,4 +1,6 @@ - +// 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 3715798f19..17ea3e1f5c 100644 --- a/packages/backend/migration/1580154400017-v12-9.js +++ b/packages/backend/migration/1580154400017-v12-9.js @@ -1,4 +1,6 @@ - +// 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 d5decb882e..19be371ca1 100644 --- a/packages/backend/migration/1580276619901-v12-10.js +++ b/packages/backend/migration/1580276619901-v12-10.js @@ -1,4 +1,6 @@ - +// 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 129720adbf..3c0099f843 100644 --- a/packages/backend/migration/1580331224276-v12-11.js +++ b/packages/backend/migration/1580331224276-v12-11.js @@ -1,4 +1,6 @@ - +// 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 c5cec23a36..2979ea4009 100644 --- a/packages/backend/migration/1580508795118-v12-12.js +++ b/packages/backend/migration/1580508795118-v12-12.js @@ -1,4 +1,6 @@ - +// 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 2fa490392d..aed1db946e 100644 --- a/packages/backend/migration/1580543501339-v12-13.js +++ b/packages/backend/migration/1580543501339-v12-13.js @@ -1,4 +1,6 @@ - +// 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 a3756ad029..42f4b6b73d 100644 --- a/packages/backend/migration/1580864313253-v12-14.js +++ b/packages/backend/migration/1580864313253-v12-14.js @@ -1,4 +1,6 @@ - +// 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 181b0aba86..3bf26f3779 100644 --- a/packages/backend/migration/1581526429287-user-group-invitation.js +++ b/packages/backend/migration/1581526429287-user-group-invitation.js @@ -1,4 +1,6 @@ - +// 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 267b58cd9b..53482a1edb 100644 --- a/packages/backend/migration/1581695816408-user-group-antenna.js +++ b/packages/backend/migration/1581695816408-user-group-antenna.js @@ -1,4 +1,6 @@ - +// 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 43c2ce6cee..4bdc6e48ab 100644 --- a/packages/backend/migration/1581708415836-drive-user-folder-id-index.js +++ b/packages/backend/migration/1581708415836-drive-user-folder-id-index.js @@ -1,4 +1,6 @@ - +// 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 4813a5f480..4481411259 100644 --- a/packages/backend/migration/1581979837262-promo.js +++ b/packages/backend/migration/1581979837262-promo.js @@ -1,4 +1,6 @@ - +// 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 7f8790b01b..1d2b7cccb3 100644 --- a/packages/backend/migration/1582019042083-featured-injecttion.js +++ b/packages/backend/migration/1582019042083-featured-injecttion.js @@ -1,4 +1,6 @@ - +// 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 ff8d7b80d8..aee9ac2b85 100644 --- a/packages/backend/migration/1582210532752-antenna-exclude.js +++ b/packages/backend/migration/1582210532752-antenna-exclude.js @@ -1,4 +1,6 @@ - +// 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 e99501f012..0b04518325 100644 --- a/packages/backend/migration/1582875306439-note-reaction-length.js +++ b/packages/backend/migration/1582875306439-note-reaction-length.js @@ -1,4 +1,6 @@ - +// 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 e59aa3b6ef..466151a3b8 100644 --- a/packages/backend/migration/1585361548360-miauth.js +++ b/packages/backend/migration/1585361548360-miauth.js @@ -1,4 +1,6 @@ - +// 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 c3ddb2be17..5c4a6eaf3d 100644 --- a/packages/backend/migration/1585385921215-custom-notification.js +++ b/packages/backend/migration/1585385921215-custom-notification.js @@ -1,4 +1,6 @@ - +// 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 5fb809ff53..e04d50d52f 100644 --- a/packages/backend/migration/1585772678853-ap-url.js +++ b/packages/backend/migration/1585772678853-ap-url.js @@ -1,4 +1,6 @@ - +// 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 e13bb217e3..c31ab183ad 100644 --- a/packages/backend/migration/1586624197029-AddObjectStorageUseProxy.js +++ b/packages/backend/migration/1586624197029-AddObjectStorageUseProxy.js @@ -1,4 +1,6 @@ - +// 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 5b23103a17..7e6610f04e 100644 --- a/packages/backend/migration/1586641139527-remote-reaction.js +++ b/packages/backend/migration/1586641139527-remote-reaction.js @@ -1,4 +1,6 @@ - +// 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 eed616c111..080b93b0aa 100644 --- a/packages/backend/migration/1586708940386-pageAiScript.js +++ b/packages/backend/migration/1586708940386-pageAiScript.js @@ -1,4 +1,6 @@ - +// 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 a33dbd7133..711aedcf8e 100644 --- a/packages/backend/migration/1588044505511-hCaptcha.js +++ b/packages/backend/migration/1588044505511-hCaptcha.js @@ -1,4 +1,6 @@ - +// 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 48a1028d39..85c9d3d240 100644 --- a/packages/backend/migration/1589023282116-pubRelay.js +++ b/packages/backend/migration/1589023282116-pubRelay.js @@ -1,4 +1,6 @@ - +// 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 f24d3722cf..d0ac37028e 100644 --- a/packages/backend/migration/1595075960584-blurhash.js +++ b/packages/backend/migration/1595075960584-blurhash.js @@ -1,4 +1,6 @@ - +// 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 f18f6f972a..c6c240bb5a 100644 --- a/packages/backend/migration/1595077605646-blurhash-for-avatar-banner.js +++ b/packages/backend/migration/1595077605646-blurhash-for-avatar-banner.js @@ -1,4 +1,6 @@ - +// 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 df9d8199bd..41317534ee 100644 --- a/packages/backend/migration/1595676934834-instance-icon-url.js +++ b/packages/backend/migration/1595676934834-instance-icon-url.js @@ -1,4 +1,6 @@ - +// 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 e8e4ac838b..63bd4357d2 100644 --- a/packages/backend/migration/1595771249699-word-mute.js +++ b/packages/backend/migration/1595771249699-word-mute.js @@ -1,4 +1,6 @@ - +// 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 ab1e40a041..7f7f54ece7 100644 --- a/packages/backend/migration/1595782306083-word-mute2.js +++ b/packages/backend/migration/1595782306083-word-mute2.js @@ -1,4 +1,6 @@ - +// 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 242db7d45a..d1a4fdd1b0 100644 --- a/packages/backend/migration/1596548170836-channel.js +++ b/packages/backend/migration/1596548170836-channel.js @@ -1,4 +1,6 @@ - +// 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 4b17048fef..d2e6b7f91e 100644 --- a/packages/backend/migration/1596786425167-channel2.js +++ b/packages/backend/migration/1596786425167-channel2.js @@ -1,4 +1,6 @@ - +// 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 07283e31df..51621433fb 100644 --- a/packages/backend/migration/1597230137744-objectStorageSetPublicRead.js +++ b/packages/backend/migration/1597230137744-objectStorageSetPublicRead.js @@ -1,4 +1,6 @@ - +// 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 f498fa7d9a..696ccf9b05 100644 --- a/packages/backend/migration/1597236229720-IncludingNotificationTypes.js +++ b/packages/backend/migration/1597236229720-IncludingNotificationTypes.js @@ -1,4 +1,6 @@ - +// 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 8c5c040ba0..6223b179a2 100644 --- a/packages/backend/migration/1597385880794-add-sensitive-index.js +++ b/packages/backend/migration/1597385880794-add-sensitive-index.js @@ -1,4 +1,6 @@ - +// 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 3157ab7793..8cd0666255 100644 --- a/packages/backend/migration/1597459042300-channel-unread.js +++ b/packages/backend/migration/1597459042300-channel-unread.js @@ -1,4 +1,6 @@ - +// 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 2bd8aee358..3c1d845d98 100644 --- a/packages/backend/migration/1597893996136-ChannelNoteIdDescIndex.js +++ b/packages/backend/migration/1597893996136-ChannelNoteIdDescIndex.js @@ -1,4 +1,6 @@ - +// 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 ed3eb7d146..76a49bf336 100644 --- a/packages/backend/migration/1600353287890-mutingNotificationTypes.js +++ b/packages/backend/migration/1600353287890-mutingNotificationTypes.js @@ -1,4 +1,6 @@ - +// 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 4918032a2b..46226a4fb7 100644 --- a/packages/backend/migration/1603094348345-refine-abuse-user-report.js +++ b/packages/backend/migration/1603094348345-refine-abuse-user-report.js @@ -1,4 +1,6 @@ - +// 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 64e92672f2..9b074b9d50 100644 --- a/packages/backend/migration/1603095701770-refine-abuse-user-report2.js +++ b/packages/backend/migration/1603095701770-refine-abuse-user-report2.js @@ -1,4 +1,6 @@ - +// 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 92440d3f64..3748922a41 100644 --- a/packages/backend/migration/1603776877564-instance-theme-color.js +++ b/packages/backend/migration/1603776877564-instance-theme-color.js @@ -1,4 +1,6 @@ - +// 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 f607c49ffb..83dfa736f4 100644 --- a/packages/backend/migration/1603781553011-instance-favicon.js +++ b/packages/backend/migration/1603781553011-instance-favicon.js @@ -1,4 +1,6 @@ - +// 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 4706e8bae9..88dc4143dd 100644 --- a/packages/backend/migration/1604821689616-delete-auto-watch.js +++ b/packages/backend/migration/1604821689616-delete-auto-watch.js @@ -1,4 +1,6 @@ - +// 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 edd5505b30..1bf439510a 100644 --- a/packages/backend/migration/1605408848373-clip-description.js +++ b/packages/backend/migration/1605408848373-clip-description.js @@ -1,4 +1,6 @@ - +// 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 400efd5e70..cb035e11b7 100644 --- a/packages/backend/migration/1605408971051-comments.js +++ b/packages/backend/migration/1605408971051-comments.js @@ -1,4 +1,6 @@ - +// 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 56ccd44c8e..f26d90efa6 100644 --- a/packages/backend/migration/1605585339718-instance-pinned-pages.js +++ b/packages/backend/migration/1605585339718-instance-pinned-pages.js @@ -1,4 +1,6 @@ - +// 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 710c75981d..0c98e3d8ea 100644 --- a/packages/backend/migration/1605965516823-instance-images.js +++ b/packages/backend/migration/1605965516823-instance-images.js @@ -1,4 +1,6 @@ - +// 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 b9ada4354e..bc03e92d54 100644 --- a/packages/backend/migration/1606191203881-no-crawle.js +++ b/packages/backend/migration/1606191203881-no-crawle.js @@ -1,4 +1,6 @@ - +// 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 9a4195e74c..6a7b9cbaf2 100644 --- a/packages/backend/migration/1607151207216-instance-pinned-clip.js +++ b/packages/backend/migration/1607151207216-instance-pinned-clip.js @@ -1,4 +1,6 @@ - +// 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 d9f1ff4c69..cb2d66e6a0 100644 --- a/packages/backend/migration/1607353487793-isExplorable.js +++ b/packages/backend/migration/1607353487793-isExplorable.js @@ -1,4 +1,6 @@ - +// 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 184c062ddb..b320958bc7 100644 --- a/packages/backend/migration/1610277136869-registry.js +++ b/packages/backend/migration/1610277136869-registry.js @@ -1,4 +1,6 @@ - +// 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 591bafae31..0488005f6f 100644 --- a/packages/backend/migration/1610277585759-registry2.js +++ b/packages/backend/migration/1610277585759-registry2.js @@ -1,4 +1,6 @@ - +// 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 e0289f17ee..0b409bbe8e 100644 --- a/packages/backend/migration/1610283021566-registry3.js +++ b/packages/backend/migration/1610283021566-registry3.js @@ -1,4 +1,6 @@ - +// 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 669ddb480e..77e1fcc7c9 100644 --- a/packages/backend/migration/1611354329133-followersUri.js +++ b/packages/backend/migration/1611354329133-followersUri.js @@ -1,4 +1,6 @@ - +// 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 f49b2df468..75756d2d25 100644 --- a/packages/backend/migration/1611397665007-gallery.js +++ b/packages/backend/migration/1611397665007-gallery.js @@ -1,4 +1,6 @@ - +// 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 e4d3c0e8ec..090d3c66a8 100644 --- a/packages/backend/migration/1611547387175-objectStorageS3ForcePathStyle.js +++ b/packages/backend/migration/1611547387175-objectStorageS3ForcePathStyle.js @@ -1,4 +1,6 @@ - +// 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 bcc718d1c2..6d3f4ec5d4 100644 --- a/packages/backend/migration/1612619156584-announcement-email.js +++ b/packages/backend/migration/1612619156584-announcement-email.js @@ -1,4 +1,6 @@ - +// 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 cd49924d2d..deec603ea0 100644 --- a/packages/backend/migration/1613155914446-emailNotificationTypes.js +++ b/packages/backend/migration/1613155914446-emailNotificationTypes.js @@ -1,4 +1,6 @@ - +// 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 d2cd06848e..f316266fef 100644 --- a/packages/backend/migration/1613181457597-user-lang.js +++ b/packages/backend/migration/1613181457597-user-lang.js @@ -1,4 +1,6 @@ - +// 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 f2e2c5d357..89fa8a85c3 100644 --- a/packages/backend/migration/1613503367223-use-bigint-for-driveUsage.js +++ b/packages/backend/migration/1613503367223-use-bigint-for-driveUsage.js @@ -1,4 +1,6 @@ - +// 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 86fa5b0c00..2a8fb3eaed 100644 --- a/packages/backend/migration/1615965918224-chart-v2.js +++ b/packages/backend/migration/1615965918224-chart-v2.js @@ -1,4 +1,6 @@ - +// 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 c62f1b875c..579cb0106a 100644 --- a/packages/backend/migration/1615966519402-chart-v2-2.js +++ b/packages/backend/migration/1615966519402-chart-v2-2.js @@ -1,4 +1,6 @@ - +// 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 6c77ace467..2b0c593ca8 100644 --- a/packages/backend/migration/1618637372000-user-last-active-date.js +++ b/packages/backend/migration/1618637372000-user-last-active-date.js @@ -1,4 +1,6 @@ - +// 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 e63c8ae11f..cc3b00ea42 100644 --- a/packages/backend/migration/1618639857000-user-hide-online-status.js +++ b/packages/backend/migration/1618639857000-user-hide-online-status.js @@ -1,4 +1,6 @@ - +// 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 922d225dc9..e6c29d0f41 100644 --- a/packages/backend/migration/1619942102890-password-reset.js +++ b/packages/backend/migration/1619942102890-password-reset.js @@ -1,4 +1,6 @@ - +// 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 c96d2bfb33..33875b2bbc 100644 --- a/packages/backend/migration/1620019354680-ad.js +++ b/packages/backend/migration/1620019354680-ad.js @@ -1,4 +1,6 @@ - +// 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 db1c3e1de1..e0b68cbe3f 100644 --- a/packages/backend/migration/1620364649428-ad2.js +++ b/packages/backend/migration/1620364649428-ad2.js @@ -1,4 +1,6 @@ - +// 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 dcf97fa4dc..265daf439b 100644 --- a/packages/backend/migration/1621479946000-add-note-indexes.js +++ b/packages/backend/migration/1621479946000-add-note-indexes.js @@ -1,4 +1,6 @@ - +// 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 22f6c1c5d9..8d44c42d24 100644 --- a/packages/backend/migration/1622679304522-user-profile-description-length.js +++ b/packages/backend/migration/1622679304522-user-profile-description-length.js @@ -1,4 +1,6 @@ - +// 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 ac16c0e1ba..9b160c53f2 100644 --- a/packages/backend/migration/1622681548499-log-message-length.js +++ b/packages/backend/migration/1622681548499-log-message-length.js @@ -1,4 +1,6 @@ - +// 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 30c562007b..fbc17acb25 100644 --- a/packages/backend/migration/1626509500668-fix-remote-file-proxy.js +++ b/packages/backend/migration/1626509500668-fix-remote-file-proxy.js @@ -1,4 +1,6 @@ - +// 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 a7d459276d..e4868317d3 100644 --- a/packages/backend/migration/1629004542760-chart-reindex.js +++ b/packages/backend/migration/1629004542760-chart-reindex.js @@ -1,4 +1,6 @@ - +// 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 19c49ffcde..6f3dcd220a 100644 --- a/packages/backend/migration/1629024377804-deepl-integration.js +++ b/packages/backend/migration/1629024377804-deepl-integration.js @@ -1,4 +1,6 @@ - +// 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 02a1199b09..a2e17ad9de 100644 --- a/packages/backend/migration/1629288472000-fix-channel-userId.js +++ b/packages/backend/migration/1629288472000-fix-channel-userId.js @@ -1,4 +1,6 @@ - +// 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 a7848d5690..ce014c4e00 100644 --- a/packages/backend/migration/1629512953000-user-is-deleted.js +++ b/packages/backend/migration/1629512953000-user-is-deleted.js @@ -1,4 +1,6 @@ - +// 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 699f06c768..4712b69523 100644 --- a/packages/backend/migration/1629778475000-deepl-integration2.js +++ b/packages/backend/migration/1629778475000-deepl-integration2.js @@ -1,4 +1,6 @@ - +// 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 5d4c938a7b..2aea404d00 100644 --- a/packages/backend/migration/1629833361000-AddShowTLReplies.js +++ b/packages/backend/migration/1629833361000-AddShowTLReplies.js @@ -1,4 +1,6 @@ - +// 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 1f202d9f66..a7ce475cd6 100644 --- a/packages/backend/migration/1629968054000_userInstanceBlocks.js +++ b/packages/backend/migration/1629968054000_userInstanceBlocks.js @@ -1,4 +1,6 @@ - +// 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 d592f3ca21..82566a5a51 100644 --- a/packages/backend/migration/1633068642000-email-required-for-signup.js +++ b/packages/backend/migration/1633068642000-email-required-for-signup.js @@ -1,4 +1,6 @@ - +// 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 17cf5c11be..7e72551fab 100644 --- a/packages/backend/migration/1633071909016-user-pending.js +++ b/packages/backend/migration/1633071909016-user-pending.js @@ -1,4 +1,6 @@ - +// 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 e741122491..b8770a7fc4 100644 --- a/packages/backend/migration/1634486652000-user-public-reactions.js +++ b/packages/backend/migration/1634486652000-user-public-reactions.js @@ -1,4 +1,6 @@ - +// 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 555a0020c3..b4c0a41680 100644 --- a/packages/backend/migration/1634902659689-delete-log.js +++ b/packages/backend/migration/1634902659689-delete-log.js @@ -1,4 +1,6 @@ - +// 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 a790cace33..f0d897edf2 100644 --- a/packages/backend/migration/1635500777168-note-thread-mute.js +++ b/packages/backend/migration/1635500777168-note-thread-mute.js @@ -1,4 +1,6 @@ - +// 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 89028f3c22..57aaacd5c6 100644 --- a/packages/backend/migration/1636197624383-ff-visibility.js +++ b/packages/backend/migration/1636197624383-ff-visibility.js @@ -1,4 +1,6 @@ - +// 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 36e96fd21e..7ac6ee207a 100644 --- a/packages/backend/migration/1636697408073-remove-via-mobile.js +++ b/packages/backend/migration/1636697408073-remove-via-mobile.js @@ -1,4 +1,6 @@ - +// 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 1e39bd5c3f..8ff1fe6bda 100644 --- a/packages/backend/migration/1637320813000-forwarded-report.js +++ b/packages/backend/migration/1637320813000-forwarded-report.js @@ -1,4 +1,6 @@ - +// 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 e2a4e920c9..407ec5ada9 100644 --- a/packages/backend/migration/1639325650583-chart-v3.js +++ b/packages/backend/migration/1639325650583-chart-v3.js @@ -1,4 +1,6 @@ - +// 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 d38f8cc08c..7252fc886c 100644 --- a/packages/backend/migration/1642611822809-emoji-url.js +++ b/packages/backend/migration/1642611822809-emoji-url.js @@ -1,4 +1,6 @@ - +// 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 15434f7d0c..6cdf149e6c 100644 --- a/packages/backend/migration/1642613870898-drive-file-webpublic-type.js +++ b/packages/backend/migration/1642613870898-drive-file-webpublic-type.js @@ -1,4 +1,6 @@ - +// 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 8b320c2b41..86605909cc 100644 --- a/packages/backend/migration/1643963705770-chart-v4.js +++ b/packages/backend/migration/1643963705770-chart-v4.js @@ -1,4 +1,6 @@ - +// 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 df84002f78..3adaa55515 100644 --- a/packages/backend/migration/1643966656277-chart-v5.js +++ b/packages/backend/migration/1643966656277-chart-v5.js @@ -1,4 +1,6 @@ - +// 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 119198f4a5..ea0a101233 100644 --- a/packages/backend/migration/1643967331284-chart-v6.js +++ b/packages/backend/migration/1643967331284-chart-v6.js @@ -1,4 +1,6 @@ - +// 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 207a759b8e..54dad92907 100644 --- a/packages/backend/migration/1644010796173-convert-hard-mutes.js +++ b/packages/backend/migration/1644010796173-convert-hard-mutes.js @@ -1,5 +1,8 @@ -import RE2 from 're2'; +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only +import RE2 from 're2'; export class convertHardMutes1644010796173 { name = 'convertHardMutes1644010796173' diff --git a/packages/backend/migration/1644058404077-chart-v7.js b/packages/backend/migration/1644058404077-chart-v7.js index f05ad003db..94cf082a37 100644 --- a/packages/backend/migration/1644058404077-chart-v7.js +++ b/packages/backend/migration/1644058404077-chart-v7.js @@ -1,4 +1,6 @@ - +// 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 a5339c0ebd..cf731fcfd6 100644 --- a/packages/backend/migration/1644059847460-chart-v8.js +++ b/packages/backend/migration/1644059847460-chart-v8.js @@ -1,4 +1,6 @@ - +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only export class chartV81644059847460 { name = 'chartV81644059847460' diff --git a/packages/backend/migration/1644060125705-chart-v9.js b/packages/backend/migration/1644060125705-chart-v9.js index da35d42315..58b6940a51 100644 --- a/packages/backend/migration/1644060125705-chart-v9.js +++ b/packages/backend/migration/1644060125705-chart-v9.js @@ -1,4 +1,6 @@ - +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only export class chartV91644060125705 { name = 'chartV91644060125705' diff --git a/packages/backend/migration/1644073149413-chart-v10.js b/packages/backend/migration/1644073149413-chart-v10.js index 7260bbeca4..b6ce6dbe77 100644 --- a/packages/backend/migration/1644073149413-chart-v10.js +++ b/packages/backend/migration/1644073149413-chart-v10.js @@ -1,4 +1,6 @@ - +// 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 309fff1d9a..44f2fadfdd 100644 --- a/packages/backend/migration/1644095659741-chart-v11.js +++ b/packages/backend/migration/1644095659741-chart-v11.js @@ -1,4 +1,6 @@ - +// 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 c3c7e44f95..aaff29c72f 100644 --- a/packages/backend/migration/1644328606241-chart-v12.js +++ b/packages/backend/migration/1644328606241-chart-v12.js @@ -1,4 +1,6 @@ - +// 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 639f7b4e20..ab68280e35 100644 --- a/packages/backend/migration/1644331238153-chart-v13.js +++ b/packages/backend/migration/1644331238153-chart-v13.js @@ -1,4 +1,6 @@ - +// 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 a0d9cfc38c..674a008ddc 100644 --- a/packages/backend/migration/1644344266289-chart-v14.js +++ b/packages/backend/migration/1644344266289-chart-v14.js @@ -1,4 +1,6 @@ - +// 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 8f335ad210..7b2c2611e9 100644 --- a/packages/backend/migration/1644395759931-instance-theme-color.js +++ b/packages/backend/migration/1644395759931-instance-theme-color.js @@ -1,4 +1,6 @@ - +// 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 b50ca87c40..dda91627f3 100644 --- a/packages/backend/migration/1644481657998-chart-v15.js +++ b/packages/backend/migration/1644481657998-chart-v15.js @@ -1,4 +1,6 @@ - +// 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 276473ff6c..bad437ecb5 100644 --- a/packages/backend/migration/1644551208096-following-indexes.js +++ b/packages/backend/migration/1644551208096-following-indexes.js @@ -1,4 +1,6 @@ - +// 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 c88cb70bfb..af69d17c2e 100644 --- a/packages/backend/migration/1645340161439-remove-max-note-text-length.js +++ b/packages/backend/migration/1645340161439-remove-max-note-text-length.js @@ -1,4 +1,6 @@ - +// 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 fd7cb6d5a1..d647af328a 100644 --- a/packages/backend/migration/1645599900873-federation-chart-pubsub.js +++ b/packages/backend/migration/1645599900873-federation-chart-pubsub.js @@ -1,4 +1,6 @@ - +// 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 029354fd92..6fd39cde2d 100644 --- a/packages/backend/migration/1646143552768-instance-default-theme.js +++ b/packages/backend/migration/1646143552768-instance-default-theme.js @@ -1,3 +1,7 @@ +// 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 c8be8f3c54..f8a7bdd859 100644 --- a/packages/backend/migration/1646387162108-mute-expires-at.js +++ b/packages/backend/migration/1646387162108-mute-expires-at.js @@ -1,3 +1,7 @@ +// 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 38a38ce64d..4fc8fe2758 100644 --- a/packages/backend/migration/1646549089451-poll-ended-notification.js +++ b/packages/backend/migration/1646549089451-poll-ended-notification.js @@ -1,3 +1,6 @@ +// 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 952289c8f8..6cf3cb1c77 100644 --- a/packages/backend/migration/1646633030285-chart-federation-active.js +++ b/packages/backend/migration/1646633030285-chart-federation-active.js @@ -1,3 +1,7 @@ +// 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 a0ee1b2c43..cd6840fe6d 100644 --- a/packages/backend/migration/1646655454495-remove-instance-drive-columns.js +++ b/packages/backend/migration/1646655454495-remove-instance-drive-columns.js @@ -1,3 +1,7 @@ +// 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 c9a847cbcf..ae8e9e5995 100644 --- a/packages/backend/migration/1646732390560-chart-federation-active-sub-pub.js +++ b/packages/backend/migration/1646732390560-chart-federation-active-sub-pub.js @@ -1,3 +1,7 @@ +// 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 aea369a5cc..62bad0dab5 100644 --- a/packages/backend/migration/1648548247382-webhook.js +++ b/packages/backend/migration/1648548247382-webhook.js @@ -1,3 +1,7 @@ +// 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 2feb68d611..33ba098317 100644 --- a/packages/backend/migration/1648816172177-webhook-2.js +++ b/packages/backend/migration/1648816172177-webhook-2.js @@ -1,3 +1,6 @@ +// 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 535d21731a..57f2029d5e 100644 --- a/packages/backend/migration/1651224615271-foreign-key.js +++ b/packages/backend/migration/1651224615271-foreign-key.js @@ -1,3 +1,7 @@ +// 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 8da1fd7fbb..7ea6deb8c6 100644 --- a/packages/backend/migration/1652859567549-uniform-themecolor.js +++ b/packages/backend/migration/1652859567549-uniform-themecolor.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import tinycolor from 'tinycolor2'; export class uniformThemecolor1652859567549 { diff --git a/packages/backend/migration/1655368940105-nsfw-detection.js b/packages/backend/migration/1655368940105-nsfw-detection.js index 9268f43407..34535ccc56 100644 --- a/packages/backend/migration/1655368940105-nsfw-detection.js +++ b/packages/backend/migration/1655368940105-nsfw-detection.js @@ -1,3 +1,7 @@ +// 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 aac6f37dad..79e834ddff 100644 --- a/packages/backend/migration/1655371960534-nsfw-detection-2.js +++ b/packages/backend/migration/1655371960534-nsfw-detection-2.js @@ -1,3 +1,7 @@ +// 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 a5c80cf968..295cd1a968 100644 --- a/packages/backend/migration/1655388169582-nsfw-detection-3.js +++ b/packages/backend/migration/1655388169582-nsfw-detection-3.js @@ -1,3 +1,7 @@ +// 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 e780732623..a155f626ca 100644 --- a/packages/backend/migration/1655393015659-nsfw-detection-4.js +++ b/packages/backend/migration/1655393015659-nsfw-detection-4.js @@ -1,3 +1,7 @@ +// 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 f257cd112f..f8ef918f69 100644 --- a/packages/backend/migration/1655813815729-driveCapacityOverrideMb.js +++ b/packages/backend/migration/1655813815729-driveCapacityOverrideMb.js @@ -1,3 +1,7 @@ +// 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 2294fbaf19..7b9b34ad46 100644 --- a/packages/backend/migration/1655918165614-user-ip.js +++ b/packages/backend/migration/1655918165614-user-ip.js @@ -1,3 +1,7 @@ +// 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 b59e7a911f..29bce948f9 100644 --- a/packages/backend/migration/1656122560740-file-ip.js +++ b/packages/backend/migration/1656122560740-file-ip.js @@ -1,3 +1,7 @@ +// 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 6f0c536907..1150434d44 100644 --- a/packages/backend/migration/1656251734807-nsfw-detection-5.js +++ b/packages/backend/migration/1656251734807-nsfw-detection-5.js @@ -1,3 +1,7 @@ +// 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 b0ee1ebfc7..d2f153b767 100644 --- a/packages/backend/migration/1656328812281-ip-2.js +++ b/packages/backend/migration/1656328812281-ip-2.js @@ -1,3 +1,7 @@ +// 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 7ef223a4c6..7ca45b3196 100644 --- a/packages/backend/migration/1656408772602-nsfw-detection-6.js +++ b/packages/backend/migration/1656408772602-nsfw-detection-6.js @@ -1,3 +1,7 @@ +// 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 133bcffe1a..1c8f86cb86 100644 --- a/packages/backend/migration/1656772790599-user-moderation-note.js +++ b/packages/backend/migration/1656772790599-user-moderation-note.js @@ -1,3 +1,7 @@ +// 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 f8e03eeb07..a82732d746 100644 --- a/packages/backend/migration/1657346559800-active-email-validation.js +++ b/packages/backend/migration/1657346559800-active-email-validation.js @@ -1,3 +1,7 @@ +// 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 4a33443950..a484a31feb 100644 --- a/packages/backend/migration/1664694635394-turnstile.js +++ b/packages/backend/migration/1664694635394-turnstile.js @@ -1,3 +1,7 @@ +// 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 d2ed2bd2e9..4e2fb22b6e 100644 --- a/packages/backend/migration/1665091090561-add-renote-muting.js +++ b/packages/backend/migration/1665091090561-add-renote-muting.js @@ -1,3 +1,6 @@ +// 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 2265b00617..9d429f9b90 100644 --- a/packages/backend/migration/1669138716634-whetherPushNotifyToSendReadMessage.js +++ b/packages/backend/migration/1669138716634-whetherPushNotifyToSendReadMessage.js @@ -1,3 +1,7 @@ +// 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 ed81a4b5e9..274e991eba 100644 --- a/packages/backend/migration/1671924750884-RetentionAggregation.js +++ b/packages/backend/migration/1671924750884-RetentionAggregation.js @@ -1,3 +1,7 @@ +// 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 725429e6ef..a9c15cb6ce 100644 --- a/packages/backend/migration/1671926422832-RetentionAggregation2.js +++ b/packages/backend/migration/1671926422832-RetentionAggregation2.js @@ -1,3 +1,7 @@ +// 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 4da6b9a8b3..4cc5a43fac 100644 --- a/packages/backend/migration/1672562400597-PerUserPvChart.js +++ b/packages/backend/migration/1672562400597-PerUserPvChart.js @@ -1,3 +1,7 @@ +// 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 c9b28dd7e1..8e6dd9bc95 100644 --- a/packages/backend/migration/1672703171386-remove-latestRequestSentAt.js +++ b/packages/backend/migration/1672703171386-remove-latestRequestSentAt.js @@ -1,3 +1,7 @@ +// 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 38a6769851..3ed771b80b 100644 --- a/packages/backend/migration/1672704017999-remove-lastCommunicatedAt.js +++ b/packages/backend/migration/1672704017999-remove-lastCommunicatedAt.js @@ -1,3 +1,7 @@ +// 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 937c2fe8fd..36509bbac2 100644 --- a/packages/backend/migration/1672704136584-remove-latestStatus.js +++ b/packages/backend/migration/1672704136584-remove-latestStatus.js @@ -1,3 +1,7 @@ +// 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 6c2338fab2..04fe3d966a 100644 --- a/packages/backend/migration/1672822262496-Flash.js +++ b/packages/backend/migration/1672822262496-Flash.js @@ -1,3 +1,7 @@ +// 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 810c626e04..0560241e07 100644 --- a/packages/backend/migration/1673336077243-PollChoiceLength.js +++ b/packages/backend/migration/1673336077243-PollChoiceLength.js @@ -1,3 +1,7 @@ +// 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 a8acedf5b7..048bc76f92 100644 --- a/packages/backend/migration/1673500412259-Role.js +++ b/packages/backend/migration/1673500412259-Role.js @@ -1,3 +1,7 @@ +// 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 343eedf346..f39cd0972a 100644 --- a/packages/backend/migration/1673515526953-RoleColor.js +++ b/packages/backend/migration/1673515526953-RoleColor.js @@ -1,3 +1,7 @@ +// 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 a1e64d49fe..3afdf08923 100644 --- a/packages/backend/migration/1673522856499-RoleIroiro.js +++ b/packages/backend/migration/1673522856499-RoleIroiro.js @@ -1,3 +1,7 @@ +// 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 786ef07f5e..d85d810cf0 100644 --- a/packages/backend/migration/1673524604156-RoleLastUsedAt.js +++ b/packages/backend/migration/1673524604156-RoleLastUsedAt.js @@ -1,3 +1,7 @@ +// 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 11ae4f00c6..806f144c4c 100644 --- a/packages/backend/migration/1673570377815-RoleConditional.js +++ b/packages/backend/migration/1673570377815-RoleConditional.js @@ -1,3 +1,7 @@ +// 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 11be4c1cdd..31c673c8cd 100644 --- a/packages/backend/migration/1673575973645-MetaClean.js +++ b/packages/backend/migration/1673575973645-MetaClean.js @@ -1,3 +1,7 @@ +// 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 8b36921d41..e216cc7fb5 100644 --- a/packages/backend/migration/1673783015567-Policies.js +++ b/packages/backend/migration/1673783015567-Policies.js @@ -1,3 +1,7 @@ +// 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 5603bbc7c4..82d93618f8 100644 --- a/packages/backend/migration/1673812883772-firstRetrievedAt.js +++ b/packages/backend/migration/1673812883772-firstRetrievedAt.js @@ -1,3 +1,7 @@ +// 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 a4d149fe15..7ad643dc90 100644 --- a/packages/backend/migration/1674086433654-flashScriptLength.js +++ b/packages/backend/migration/1674086433654-flashScriptLength.js @@ -1,3 +1,7 @@ +// 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 131ab96f80..3816c2ef31 100644 --- a/packages/backend/migration/1674118260469-achievement.js +++ b/packages/backend/migration/1674118260469-achievement.js @@ -1,3 +1,7 @@ +// 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 6d75ab6436..63185481ee 100644 --- a/packages/backend/migration/1674255666603-loggedInDates.js +++ b/packages/backend/migration/1674255666603-loggedInDates.js @@ -1,3 +1,7 @@ +// 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 ca5c10b11f..afa4de1061 100644 --- a/packages/backend/migration/1675053125067-fixforeignkeyreports.js +++ b/packages/backend/migration/1675053125067-fixforeignkeyreports.js @@ -1,3 +1,7 @@ +// 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 09b22ee393..8c20c304f4 100644 --- a/packages/backend/migration/1675404035646-cleanup.js +++ b/packages/backend/migration/1675404035646-cleanup.js @@ -1,3 +1,7 @@ +// 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 0ebca088e3..38524879ec 100644 --- a/packages/backend/migration/1675557528704-role-icon-badge.js +++ b/packages/backend/migration/1675557528704-role-icon-badge.js @@ -1,3 +1,7 @@ +// 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 c856046eb9..68313eef61 100644 --- a/packages/backend/migration/1676434944993-drop-group.js +++ b/packages/backend/migration/1676434944993-drop-group.js @@ -1,3 +1,7 @@ +// 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 18f56e8d36..3bce796240 100644 --- a/packages/backend/migration/1676438468213-ad3.js +++ b/packages/backend/migration/1676438468213-ad3.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export class ad1676438468213 { name = 'ad1676438468213'; async up(queryRunner) { diff --git a/packages/backend/migration/1677054292210-ad4.js b/packages/backend/migration/1677054292210-ad4.js index 48499319b4..8b5416182b 100644 --- a/packages/backend/migration/1677054292210-ad4.js +++ b/packages/backend/migration/1677054292210-ad4.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export class ad1677054292210 { name = 'ad1677054292210'; async up(queryRunner) { diff --git a/packages/backend/migration/1677570181236-role-assignment-expires-at.js b/packages/backend/migration/1677570181236-role-assignment-expires-at.js index 3ac2edab0a..1f05c8ddc6 100644 --- a/packages/backend/migration/1677570181236-role-assignment-expires-at.js +++ b/packages/backend/migration/1677570181236-role-assignment-expires-at.js @@ -1,3 +1,7 @@ +// 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 f1765dd146..ae54aca9ae 100644 --- a/packages/backend/migration/1678164627293-per-note-reaction-acceptance.js +++ b/packages/backend/migration/1678164627293-per-note-reaction-acceptance.js @@ -1,3 +1,7 @@ +// 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 984c41dba6..ad922efa86 100644 --- a/packages/backend/migration/1678426061773-tweak-varchar-length.js +++ b/packages/backend/migration/1678426061773-tweak-varchar-length.js @@ -1,3 +1,7 @@ +// 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 ee643e7776..e71efff54d 100644 --- a/packages/backend/migration/1678427401214-remove-unused.js +++ b/packages/backend/migration/1678427401214-remove-unused.js @@ -1,3 +1,7 @@ +// 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 de8f6f1033..9068ce0d65 100644 --- a/packages/backend/migration/1678602320354-role-display-order.js +++ b/packages/backend/migration/1678602320354-role-display-order.js @@ -1,3 +1,7 @@ +// 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 6d4c5730c7..6ce5d90968 100644 --- a/packages/backend/migration/1678694614599-sensitive-words.js +++ b/packages/backend/migration/1678694614599-sensitive-words.js @@ -1,3 +1,7 @@ +// 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 1a31b9a750..24fd7a65bc 100644 --- a/packages/backend/migration/1678869617549-retention-date-key.js +++ b/packages/backend/migration/1678869617549-retention-date-key.js @@ -1,3 +1,7 @@ +// 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 656a921770..fa4499dd3e 100644 --- a/packages/backend/migration/1678945242650-add-props-for-custom-emoji.js +++ b/packages/backend/migration/1678945242650-add-props-for-custom-emoji.js @@ -1,3 +1,7 @@ +// 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 aa5dc93a6e..8f20f9c734 100644 --- a/packages/backend/migration/1678953978856-clip-favorite.js +++ b/packages/backend/migration/1678953978856-clip-favorite.js @@ -1,3 +1,7 @@ +// 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 69e845c142..d9ce50d9d6 100644 --- a/packages/backend/migration/1679309757174-antenna-active.js +++ b/packages/backend/migration/1679309757174-antenna-active.js @@ -1,3 +1,7 @@ +// 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 42faab7466..2a684f2dd7 100644 --- a/packages/backend/migration/1679639483253-enableChartsForRemoteUser.js +++ b/packages/backend/migration/1679639483253-enableChartsForRemoteUser.js @@ -1,3 +1,7 @@ +// 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 1f00f3cc1f..7e9ffc0c44 100644 --- a/packages/backend/migration/1679651580149-cleanup.js +++ b/packages/backend/migration/1679651580149-cleanup.js @@ -1,3 +1,7 @@ +// 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 0733339841..185746dfa5 100644 --- a/packages/backend/migration/1679652081809-enableChartsForFederatedInstances.js +++ b/packages/backend/migration/1679652081809-enableChartsForFederatedInstances.js @@ -1,3 +1,7 @@ +// 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 afc676959a..99f42830e8 100644 --- a/packages/backend/migration/1680228513388-channelFavorite.js +++ b/packages/backend/migration/1680228513388-channelFavorite.js @@ -1,3 +1,7 @@ +// 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 126eae87ea..e4bca81417 100644 --- a/packages/backend/migration/1680238118084-channelNotePining.js +++ b/packages/backend/migration/1680238118084-channelNotePining.js @@ -1,3 +1,7 @@ +// 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 1e609ca060..b4cfbc02bd 100644 --- a/packages/backend/migration/1680491187535-cleanup.js +++ b/packages/backend/migration/1680491187535-cleanup.js @@ -1,3 +1,7 @@ +// 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 c587e456a5..b54ba4b7f4 100644 --- a/packages/backend/migration/1680582195041-cleanup.js +++ b/packages/backend/migration/1680582195041-cleanup.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export class cleanup1680582195041 { name = 'cleanup1680582195041' diff --git a/packages/backend/migration/1680702787050-UserMemo.js b/packages/backend/migration/1680702787050-UserMemo.js index 7446bf8da5..638049c795 100644 --- a/packages/backend/migration/1680702787050-UserMemo.js +++ b/packages/backend/migration/1680702787050-UserMemo.js @@ -1,3 +1,7 @@ +// 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 7c5fe7ac5e..e4f614853e 100644 --- a/packages/backend/migration/1680775031481-avatar-url-and-banner-url.js +++ b/packages/backend/migration/1680775031481-avatar-url-and-banner-url.js @@ -1,3 +1,7 @@ +// 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 821318d1bc..63551c4849 100644 --- a/packages/backend/migration/1680931179228-account-move.js +++ b/packages/backend/migration/1680931179228-account-move.js @@ -1,3 +1,7 @@ +// 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 2364e8e1d2..4a39297501 100644 --- a/packages/backend/migration/1681400427971-serverRules.js +++ b/packages/backend/migration/1681400427971-serverRules.js @@ -1,3 +1,7 @@ +// 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 2280f44eaa..53c69cabe7 100644 --- a/packages/backend/migration/1681870960239-RoleTLSetting.js +++ b/packages/backend/migration/1681870960239-RoleTLSetting.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export class RoleTLSetting1681870960239 { name = 'RoleTLSetting1681870960239' diff --git a/packages/backend/migration/1682190963894-movedAt.js b/packages/backend/migration/1682190963894-movedAt.js index 1f8f030a5c..9ea9b8e488 100644 --- a/packages/backend/migration/1682190963894-movedAt.js +++ b/packages/backend/migration/1682190963894-movedAt.js @@ -1,3 +1,7 @@ +// 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 46a0826f43..455b97705e 100644 --- a/packages/backend/migration/1682754135458-preservedUsernames.js +++ b/packages/backend/migration/1682754135458-preservedUsernames.js @@ -1,3 +1,7 @@ +// 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 294b7372b2..ebe8d90373 100644 --- a/packages/backend/migration/1682985520254-channelColor.js +++ b/packages/backend/migration/1682985520254-channelColor.js @@ -1,3 +1,7 @@ +// 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 83695ff537..53624e9811 100644 --- a/packages/backend/migration/1683328299359-channelArchive.js +++ b/packages/backend/migration/1683328299359-channelArchive.js @@ -1,3 +1,7 @@ +// 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 9d1a19c10b..7a6cae8279 100644 --- a/packages/backend/migration/1683682889948-prevent-ai-larning.js +++ b/packages/backend/migration/1683682889948-prevent-ai-larning.js @@ -1,3 +1,7 @@ +// 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 195ea02a5e..8f6676abca 100644 --- a/packages/backend/migration/1683683083083-public-reactions-default-true.js +++ b/packages/backend/migration/1683683083083-public-reactions-default-true.js @@ -1,3 +1,7 @@ +// 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 c0dbbf0050..c1601265d0 100644 --- a/packages/backend/migration/1683789676867-fix-typo.js +++ b/packages/backend/migration/1683789676867-fix-typo.js @@ -1,3 +1,7 @@ +// 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 b50a50eed8..2f2602aeff 100644 --- a/packages/backend/migration/1683847157541-UserList.js +++ b/packages/backend/migration/1683847157541-UserList.js @@ -1,3 +1,7 @@ +// 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 ac9c4c42b9..471a483b16 100644 --- a/packages/backend/migration/1683869758873-UserListFavorites.js +++ b/packages/backend/migration/1683869758873-UserListFavorites.js @@ -1,3 +1,7 @@ +// 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 690653bd7c..1caa40b5bb 100644 --- a/packages/backend/migration/1684206886988-remove-showTimelineReplies.js +++ b/packages/backend/migration/1684206886988-remove-showTimelineReplies.js @@ -1,3 +1,7 @@ +// 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 40b0a2bc5e..218c90cba1 100644 --- a/packages/backend/migration/1684386446061-emoji-improve.js +++ b/packages/backend/migration/1684386446061-emoji-improve.js @@ -1,3 +1,7 @@ +// 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 fd5d467162..f2683d1412 100644 --- a/packages/backend/migration/1685973839966-errorImageUrl.js +++ b/packages/backend/migration/1685973839966-errorImageUrl.js @@ -1,3 +1,7 @@ +// 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 12406fe085..5105e17e46 100644 --- a/packages/backend/migration/1688280713783-add-meta-options.js +++ b/packages/backend/migration/1688280713783-add-meta-options.js @@ -1,3 +1,7 @@ +// 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 0dd49f7027..f37b48bfa3 100644 --- a/packages/backend/migration/1688720440658-refactor-invite-system.js +++ b/packages/backend/migration/1688720440658-refactor-invite-system.js @@ -1,3 +1,7 @@ +// 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 d6b5c57f55..92fba4290f 100644 --- a/packages/backend/migration/1688880985544-add-index-to-relations.js +++ b/packages/backend/migration/1688880985544-add-index-to-relations.js @@ -1,3 +1,7 @@ +// 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 cdce0dae09..c467958cd1 100644 --- a/packages/backend/migration/1689102832143-nsfw-cache.js +++ b/packages/backend/migration/1689102832143-nsfw-cache.js @@ -1,3 +1,7 @@ +// 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 afed587560..ef719e43fd 100644 --- a/packages/backend/src/@types/hcaptcha.d.ts +++ b/packages/backend/src/@types/hcaptcha.d.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + declare module 'hcaptcha' { interface IVerifyResponse { success: boolean; diff --git a/packages/backend/src/@types/http-signature.d.ts b/packages/backend/src/@types/http-signature.d.ts index f2f9bfcc31..57cb3aa92a 100644 --- a/packages/backend/src/@types/http-signature.d.ts +++ b/packages/backend/src/@types/http-signature.d.ts @@ -1,3 +1,7 @@ +// 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 390df17d39..ca7eeeb883 100644 --- a/packages/backend/src/@types/os-utils.d.ts +++ b/packages/backend/src/@types/os-utils.d.ts @@ -1,3 +1,7 @@ +// 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 abe5fae687..b890e94c77 100644 --- a/packages/backend/src/@types/package.json.d.ts +++ b/packages/backend/src/@types/package.json.d.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + declare module '*/package.json' { interface IRepository { type: string; diff --git a/packages/backend/src/@types/probe-image-size.d.ts b/packages/backend/src/@types/probe-image-size.d.ts index 416e819acb..640a76938c 100644 --- a/packages/backend/src/@types/probe-image-size.d.ts +++ b/packages/backend/src/@types/probe-image-size.d.ts @@ -1,3 +1,7 @@ +// 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 9242656a98..f8ae068a36 100644 --- a/packages/backend/src/@types/redis-lock.d.ts +++ b/packages/backend/src/@types/redis-lock.d.ts @@ -1,3 +1,7 @@ +// 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 4caf4c3e96..70748af869 100644 --- a/packages/backend/src/GlobalModule.ts +++ b/packages/backend/src/GlobalModule.ts @@ -1,3 +1,7 @@ +// 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'; import * as Redis from 'ioredis'; diff --git a/packages/backend/src/MainModule.ts b/packages/backend/src/MainModule.ts index fc568e883e..5d9921d508 100644 --- a/packages/backend/src/MainModule.ts +++ b/packages/backend/src/MainModule.ts @@ -1,3 +1,7 @@ +// 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'; import { GlobalModule } from '@/GlobalModule.js'; diff --git a/packages/backend/src/NestLogger.ts b/packages/backend/src/NestLogger.ts index 448098b831..92af41c3c3 100644 --- a/packages/backend/src/NestLogger.ts +++ b/packages/backend/src/NestLogger.ts @@ -1,3 +1,7 @@ +// 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 3995545d7f..2f77671ad5 100644 --- a/packages/backend/src/boot/common.ts +++ b/packages/backend/src/boot/common.ts @@ -1,3 +1,7 @@ +// 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'; import { QueueProcessorService } from '@/queue/QueueProcessorService.js'; diff --git a/packages/backend/src/boot/index.ts b/packages/backend/src/boot/index.ts index f4daf30690..f6ae66785b 100644 --- a/packages/backend/src/boot/index.ts +++ b/packages/backend/src/boot/index.ts @@ -1,3 +1,6 @@ +// 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 c253f697f7..3f90524d46 100644 --- a/packages/backend/src/boot/master.ts +++ b/packages/backend/src/boot/master.ts @@ -1,3 +1,7 @@ +// 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'; import { dirname } from 'node:path'; diff --git a/packages/backend/src/boot/worker.ts b/packages/backend/src/boot/worker.ts index ab75aaa572..2f865db73d 100644 --- a/packages/backend/src/boot/worker.ts +++ b/packages/backend/src/boot/worker.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import cluster from 'node:cluster'; import { envOption } from '@/env.js'; import { jobQueue, server } from './common.js'; diff --git a/packages/backend/src/config.ts b/packages/backend/src/config.ts index 253975096e..5eefa542a7 100644 --- a/packages/backend/src/config.ts +++ b/packages/backend/src/config.ts @@ -1,3 +1,7 @@ +// 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 ee1a9a3093..23fbbfdbc1 100644 --- a/packages/backend/src/const.ts +++ b/packages/backend/src/const.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export const MAX_NOTE_TEXT_LENGTH = 3000; export const USER_ONLINE_THRESHOLD = 1000 * 60 * 10; // 10min diff --git a/packages/backend/src/core/AccountMoveService.ts b/packages/backend/src/core/AccountMoveService.ts index 111fcfd734..3e776734a8 100644 --- a/packages/backend/src/core/AccountMoveService.ts +++ b/packages/backend/src/core/AccountMoveService.ts @@ -1,3 +1,7 @@ +// 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 b146fc66be..2879edeb75 100644 --- a/packages/backend/src/core/AccountUpdateService.ts +++ b/packages/backend/src/core/AccountUpdateService.ts @@ -1,3 +1,7 @@ +// 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'; import type { UsersRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/AchievementService.ts b/packages/backend/src/core/AchievementService.ts index 9e223f1492..7d596e0ef9 100644 --- a/packages/backend/src/core/AchievementService.ts +++ b/packages/backend/src/core/AchievementService.ts @@ -1,3 +1,7 @@ +// 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'; import type { User } from '@/models/entities/User.js'; diff --git a/packages/backend/src/core/AiService.ts b/packages/backend/src/core/AiService.ts index c0596446dd..6d97c28f66 100644 --- a/packages/backend/src/core/AiService.ts +++ b/packages/backend/src/core/AiService.ts @@ -1,3 +1,7 @@ +// 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'; import { dirname } from 'node:path'; diff --git a/packages/backend/src/core/AntennaService.ts b/packages/backend/src/core/AntennaService.ts index 9310fd8b52..8a6a43923b 100644 --- a/packages/backend/src/core/AntennaService.ts +++ b/packages/backend/src/core/AntennaService.ts @@ -1,3 +1,7 @@ +// 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'; import type { Antenna } from '@/models/entities/Antenna.js'; diff --git a/packages/backend/src/core/AppLockService.ts b/packages/backend/src/core/AppLockService.ts index 6ccaec26ba..2e2b9b4b44 100644 --- a/packages/backend/src/core/AppLockService.ts +++ b/packages/backend/src/core/AppLockService.ts @@ -1,3 +1,7 @@ +// 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'; import redisLock from 'redis-lock'; diff --git a/packages/backend/src/core/CacheService.ts b/packages/backend/src/core/CacheService.ts index cd6b68e721..d3bf9aa447 100644 --- a/packages/backend/src/core/CacheService.ts +++ b/packages/backend/src/core/CacheService.ts @@ -1,3 +1,7 @@ +// 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'; import type { BlockingsRepository, ChannelFollowingsRepository, FollowingsRepository, MutingsRepository, RenoteMutingsRepository, UserProfile, UserProfilesRepository, UsersRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/CaptchaService.ts b/packages/backend/src/core/CaptchaService.ts index 10cfdba254..5ee14b6b5b 100644 --- a/packages/backend/src/core/CaptchaService.ts +++ b/packages/backend/src/core/CaptchaService.ts @@ -1,3 +1,7 @@ +// 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'; import { bindThis } from '@/decorators.js'; diff --git a/packages/backend/src/core/CoreModule.ts b/packages/backend/src/core/CoreModule.ts index c7c98b3bdd..8afadef6ee 100644 --- a/packages/backend/src/core/CoreModule.ts +++ b/packages/backend/src/core/CoreModule.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Module } from '@nestjs/common'; import { AccountMoveService } from './AccountMoveService.js'; import { AccountUpdateService } from './AccountUpdateService.js'; diff --git a/packages/backend/src/core/CreateSystemUserService.ts b/packages/backend/src/core/CreateSystemUserService.ts index cef664bf0b..74767ee17e 100644 --- a/packages/backend/src/core/CreateSystemUserService.ts +++ b/packages/backend/src/core/CreateSystemUserService.ts @@ -1,3 +1,7 @@ +// 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'; import bcrypt from 'bcryptjs'; diff --git a/packages/backend/src/core/CustomEmojiService.ts b/packages/backend/src/core/CustomEmojiService.ts index 661d956bd6..cafbe8f8cc 100644 --- a/packages/backend/src/core/CustomEmojiService.ts +++ b/packages/backend/src/core/CustomEmojiService.ts @@ -1,3 +1,7 @@ +// 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'; import * as Redis from 'ioredis'; diff --git a/packages/backend/src/core/DeleteAccountService.ts b/packages/backend/src/core/DeleteAccountService.ts index 3a0592441b..0697187c7e 100644 --- a/packages/backend/src/core/DeleteAccountService.ts +++ b/packages/backend/src/core/DeleteAccountService.ts @@ -1,3 +1,7 @@ +// 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'; import { QueueService } from '@/core/QueueService.js'; diff --git a/packages/backend/src/core/DownloadService.ts b/packages/backend/src/core/DownloadService.ts index 09039a8b57..a2ccb5aff9 100644 --- a/packages/backend/src/core/DownloadService.ts +++ b/packages/backend/src/core/DownloadService.ts @@ -1,3 +1,7 @@ +// 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'; import * as util from 'node:util'; diff --git a/packages/backend/src/core/DriveService.ts b/packages/backend/src/core/DriveService.ts index 355e5e8c0d..f3bad73e08 100644 --- a/packages/backend/src/core/DriveService.ts +++ b/packages/backend/src/core/DriveService.ts @@ -1,3 +1,7 @@ +// 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'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/core/EmailService.ts b/packages/backend/src/core/EmailService.ts index a04e9c1225..484f8c71bd 100644 --- a/packages/backend/src/core/EmailService.ts +++ b/packages/backend/src/core/EmailService.ts @@ -1,3 +1,7 @@ +// 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'; import { validate as validateEmail } from 'deep-email-validator'; diff --git a/packages/backend/src/core/FederatedInstanceService.ts b/packages/backend/src/core/FederatedInstanceService.ts index a762038942..9da19953c5 100644 --- a/packages/backend/src/core/FederatedInstanceService.ts +++ b/packages/backend/src/core/FederatedInstanceService.ts @@ -1,3 +1,7 @@ +// 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'; import type { InstancesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/FetchInstanceMetadataService.ts b/packages/backend/src/core/FetchInstanceMetadataService.ts index 88706f1a48..4b8f3740f1 100644 --- a/packages/backend/src/core/FetchInstanceMetadataService.ts +++ b/packages/backend/src/core/FetchInstanceMetadataService.ts @@ -1,3 +1,7 @@ +// 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'; import { JSDOM } from 'jsdom'; diff --git a/packages/backend/src/core/FileInfoService.ts b/packages/backend/src/core/FileInfoService.ts index d43575b336..f6a0bdea8e 100644 --- a/packages/backend/src/core/FileInfoService.ts +++ b/packages/backend/src/core/FileInfoService.ts @@ -1,3 +1,7 @@ +// 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'; import { join } from 'node:path'; diff --git a/packages/backend/src/core/GlobalEventService.ts b/packages/backend/src/core/GlobalEventService.ts index 19d9370083..2f062c958e 100644 --- a/packages/backend/src/core/GlobalEventService.ts +++ b/packages/backend/src/core/GlobalEventService.ts @@ -1,3 +1,7 @@ +// 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'; import type { User } from '@/models/entities/User.js'; diff --git a/packages/backend/src/core/HashtagService.ts b/packages/backend/src/core/HashtagService.ts index 851e42e7ba..51ff477f38 100644 --- a/packages/backend/src/core/HashtagService.ts +++ b/packages/backend/src/core/HashtagService.ts @@ -1,3 +1,7 @@ +// 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'; import type { User } from '@/models/entities/User.js'; diff --git a/packages/backend/src/core/HttpRequestService.ts b/packages/backend/src/core/HttpRequestService.ts index 3bb999ff8b..45720286c0 100644 --- a/packages/backend/src/core/HttpRequestService.ts +++ b/packages/backend/src/core/HttpRequestService.ts @@ -1,3 +1,7 @@ +// 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'; import * as net from 'node:net'; diff --git a/packages/backend/src/core/IdService.ts b/packages/backend/src/core/IdService.ts index 4d129407cb..3f97c68036 100644 --- a/packages/backend/src/core/IdService.ts +++ b/packages/backend/src/core/IdService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import { ulid } from 'ulid'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/ImageProcessingService.ts b/packages/backend/src/core/ImageProcessingService.ts index 3246475d12..ec50b99ec7 100644 --- a/packages/backend/src/core/ImageProcessingService.ts +++ b/packages/backend/src/core/ImageProcessingService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import sharp from 'sharp'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/InstanceActorService.ts b/packages/backend/src/core/InstanceActorService.ts index 2e047dc5c1..d34ab24a05 100644 --- a/packages/backend/src/core/InstanceActorService.ts +++ b/packages/backend/src/core/InstanceActorService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import { IsNull } from 'typeorm'; import type { LocalUser } from '@/models/entities/User.js'; diff --git a/packages/backend/src/core/InternalStorageService.ts b/packages/backend/src/core/InternalStorageService.ts index 7c03af7de7..efb1877f6a 100644 --- a/packages/backend/src/core/InternalStorageService.ts +++ b/packages/backend/src/core/InternalStorageService.ts @@ -1,3 +1,7 @@ +// 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'; import { fileURLToPath } from 'node:url'; diff --git a/packages/backend/src/core/LoggerService.ts b/packages/backend/src/core/LoggerService.ts index 14df9aa40c..abad4a9fad 100644 --- a/packages/backend/src/core/LoggerService.ts +++ b/packages/backend/src/core/LoggerService.ts @@ -1,3 +1,7 @@ +// 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'; import type { Config } from '@/config.js'; diff --git a/packages/backend/src/core/MetaService.ts b/packages/backend/src/core/MetaService.ts index aae0a9134b..a34f8928da 100644 --- a/packages/backend/src/core/MetaService.ts +++ b/packages/backend/src/core/MetaService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import { DataSource } from 'typeorm'; import * as Redis from 'ioredis'; diff --git a/packages/backend/src/core/MfmService.ts b/packages/backend/src/core/MfmService.ts index 38aaa84524..c7628103f3 100644 --- a/packages/backend/src/core/MfmService.ts +++ b/packages/backend/src/core/MfmService.ts @@ -1,3 +1,7 @@ +// 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'; import * as parse5 from 'parse5'; diff --git a/packages/backend/src/core/ModerationLogService.ts b/packages/backend/src/core/ModerationLogService.ts index 80e8cb9e52..147969b2f3 100644 --- a/packages/backend/src/core/ModerationLogService.ts +++ b/packages/backend/src/core/ModerationLogService.ts @@ -1,3 +1,7 @@ +// 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'; import type { ModerationLogsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/NoteCreateService.ts b/packages/backend/src/core/NoteCreateService.ts index 648ff76483..a3b1b9a76f 100644 --- a/packages/backend/src/core/NoteCreateService.ts +++ b/packages/backend/src/core/NoteCreateService.ts @@ -1,3 +1,7 @@ +// 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'; import { In, DataSource } from 'typeorm'; diff --git a/packages/backend/src/core/NoteDeleteService.ts b/packages/backend/src/core/NoteDeleteService.ts index f77ea8aab4..bf4a56bc0b 100644 --- a/packages/backend/src/core/NoteDeleteService.ts +++ b/packages/backend/src/core/NoteDeleteService.ts @@ -1,3 +1,7 @@ +// 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'; import type { User, LocalUser, RemoteUser } from '@/models/entities/User.js'; diff --git a/packages/backend/src/core/NotePiningService.ts b/packages/backend/src/core/NotePiningService.ts index 3a9f832ac0..78d29179d2 100644 --- a/packages/backend/src/core/NotePiningService.ts +++ b/packages/backend/src/core/NotePiningService.ts @@ -1,3 +1,7 @@ +// 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'; import type { NotesRepository, UserNotePiningsRepository, UsersRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/NoteReadService.ts b/packages/backend/src/core/NoteReadService.ts index 52e9bd369a..583ee6e0f1 100644 --- a/packages/backend/src/core/NoteReadService.ts +++ b/packages/backend/src/core/NoteReadService.ts @@ -1,3 +1,7 @@ +// 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'; import { In } from 'typeorm'; diff --git a/packages/backend/src/core/NotificationService.ts b/packages/backend/src/core/NotificationService.ts index 8e25f82284..5fca2b6864 100644 --- a/packages/backend/src/core/NotificationService.ts +++ b/packages/backend/src/core/NotificationService.ts @@ -1,3 +1,7 @@ +// 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'; import { Inject, Injectable, OnApplicationShutdown } from '@nestjs/common'; diff --git a/packages/backend/src/core/PollService.ts b/packages/backend/src/core/PollService.ts index be19400052..0f4fbb2f18 100644 --- a/packages/backend/src/core/PollService.ts +++ b/packages/backend/src/core/PollService.ts @@ -1,3 +1,7 @@ +// 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'; import type { NotesRepository, UsersRepository, PollsRepository, PollVotesRepository, User } from '@/models/index.js'; diff --git a/packages/backend/src/core/ProxyAccountService.ts b/packages/backend/src/core/ProxyAccountService.ts index 780e56ef10..6648177d52 100644 --- a/packages/backend/src/core/ProxyAccountService.ts +++ b/packages/backend/src/core/ProxyAccountService.ts @@ -1,3 +1,7 @@ +// 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'; import type { LocalUser } from '@/models/entities/User.js'; diff --git a/packages/backend/src/core/PushNotificationService.ts b/packages/backend/src/core/PushNotificationService.ts index e1c3d3943c..19e8e25b74 100644 --- a/packages/backend/src/core/PushNotificationService.ts +++ b/packages/backend/src/core/PushNotificationService.ts @@ -1,3 +1,7 @@ +// 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'; import * as Redis from 'ioredis'; diff --git a/packages/backend/src/core/QueryService.ts b/packages/backend/src/core/QueryService.ts index 435d5d2389..7df5978504 100644 --- a/packages/backend/src/core/QueryService.ts +++ b/packages/backend/src/core/QueryService.ts @@ -1,3 +1,7 @@ +// 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'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/QueueModule.ts b/packages/backend/src/core/QueueModule.ts index 3384ca4577..311580b6b9 100644 --- a/packages/backend/src/core/QueueModule.ts +++ b/packages/backend/src/core/QueueModule.ts @@ -1,3 +1,7 @@ +// 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'; import * as Bull from 'bullmq'; diff --git a/packages/backend/src/core/QueueService.ts b/packages/backend/src/core/QueueService.ts index 546b4cee1b..d022578e9a 100644 --- a/packages/backend/src/core/QueueService.ts +++ b/packages/backend/src/core/QueueService.ts @@ -1,3 +1,7 @@ +// 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'; import type { IActivity } from '@/core/activitypub/type.js'; diff --git a/packages/backend/src/core/ReactionService.ts b/packages/backend/src/core/ReactionService.ts index 4b01b6af7e..fb944839f8 100644 --- a/packages/backend/src/core/ReactionService.ts +++ b/packages/backend/src/core/ReactionService.ts @@ -1,3 +1,7 @@ +// 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'; import type { EmojisRepository, NoteReactionsRepository, UsersRepository, NotesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/RelayService.ts b/packages/backend/src/core/RelayService.ts index c0113a21d7..3944efe8b3 100644 --- a/packages/backend/src/core/RelayService.ts +++ b/packages/backend/src/core/RelayService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import { IsNull } from 'typeorm'; import type { LocalUser, User } from '@/models/entities/User.js'; diff --git a/packages/backend/src/core/RemoteLoggerService.ts b/packages/backend/src/core/RemoteLoggerService.ts index 3d45605836..03fb636b1d 100644 --- a/packages/backend/src/core/RemoteLoggerService.ts +++ b/packages/backend/src/core/RemoteLoggerService.ts @@ -1,3 +1,7 @@ +// 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'; import { LoggerService } from '@/core/LoggerService.js'; diff --git a/packages/backend/src/core/RemoteUserResolveService.ts b/packages/backend/src/core/RemoteUserResolveService.ts index e19a245e18..a07e9952b8 100644 --- a/packages/backend/src/core/RemoteUserResolveService.ts +++ b/packages/backend/src/core/RemoteUserResolveService.ts @@ -1,3 +1,7 @@ +// 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'; import chalk from 'chalk'; diff --git a/packages/backend/src/core/RoleService.ts b/packages/backend/src/core/RoleService.ts index d065b460c6..3871741111 100644 --- a/packages/backend/src/core/RoleService.ts +++ b/packages/backend/src/core/RoleService.ts @@ -1,3 +1,7 @@ +// 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'; import { In } from 'typeorm'; diff --git a/packages/backend/src/core/S3Service.ts b/packages/backend/src/core/S3Service.ts index 01ce12ffdd..4043f43c5b 100644 --- a/packages/backend/src/core/S3Service.ts +++ b/packages/backend/src/core/S3Service.ts @@ -1,3 +1,7 @@ +// 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'; import * as https from 'node:https'; diff --git a/packages/backend/src/core/SearchService.ts b/packages/backend/src/core/SearchService.ts index 392799da75..5aafa400b4 100644 --- a/packages/backend/src/core/SearchService.ts +++ b/packages/backend/src/core/SearchService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import { In } from 'typeorm'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/SignupService.ts b/packages/backend/src/core/SignupService.ts index 070a9a9e3e..f22caa93d7 100644 --- a/packages/backend/src/core/SignupService.ts +++ b/packages/backend/src/core/SignupService.ts @@ -1,3 +1,7 @@ +// 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'; import bcrypt from 'bcryptjs'; diff --git a/packages/backend/src/core/TwoFactorAuthenticationService.ts b/packages/backend/src/core/TwoFactorAuthenticationService.ts index d4cf186a24..d7849651b0 100644 --- a/packages/backend/src/core/TwoFactorAuthenticationService.ts +++ b/packages/backend/src/core/TwoFactorAuthenticationService.ts @@ -1,3 +1,7 @@ +// 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'; import * as jsrsasign from 'jsrsasign'; diff --git a/packages/backend/src/core/UserBlockingService.ts b/packages/backend/src/core/UserBlockingService.ts index 3ca22f8bbc..bbc2b94746 100644 --- a/packages/backend/src/core/UserBlockingService.ts +++ b/packages/backend/src/core/UserBlockingService.ts @@ -1,3 +1,6 @@ +// 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 44269d3b8a..d2b462164e 100644 --- a/packages/backend/src/core/UserFollowingService.ts +++ b/packages/backend/src/core/UserFollowingService.ts @@ -1,3 +1,7 @@ +// 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'; import { IsNull } from 'typeorm'; diff --git a/packages/backend/src/core/UserKeypairService.ts b/packages/backend/src/core/UserKeypairService.ts index d768f08650..1e31e60939 100644 --- a/packages/backend/src/core/UserKeypairService.ts +++ b/packages/backend/src/core/UserKeypairService.ts @@ -1,3 +1,7 @@ +// 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'; import type { User } from '@/models/entities/User.js'; diff --git a/packages/backend/src/core/UserListService.ts b/packages/backend/src/core/UserListService.ts index 08cc907ebf..8d13e8a318 100644 --- a/packages/backend/src/core/UserListService.ts +++ b/packages/backend/src/core/UserListService.ts @@ -1,3 +1,7 @@ +// 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'; import type { User } from '@/models/entities/User.js'; diff --git a/packages/backend/src/core/UserMutingService.ts b/packages/backend/src/core/UserMutingService.ts index d201ec6c04..878f10f3e8 100644 --- a/packages/backend/src/core/UserMutingService.ts +++ b/packages/backend/src/core/UserMutingService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import { In } from 'typeorm'; import type { MutingsRepository, Muting } from '@/models/index.js'; diff --git a/packages/backend/src/core/UserSuspendService.ts b/packages/backend/src/core/UserSuspendService.ts index 28ae32681d..01d2becef5 100644 --- a/packages/backend/src/core/UserSuspendService.ts +++ b/packages/backend/src/core/UserSuspendService.ts @@ -1,3 +1,7 @@ +// 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'; import type { FollowingsRepository, UsersRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/UtilityService.ts b/packages/backend/src/core/UtilityService.ts index d00708a442..311a0e922f 100644 --- a/packages/backend/src/core/UtilityService.ts +++ b/packages/backend/src/core/UtilityService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { URL } from 'node:url'; import { toASCII } from 'punycode'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/core/VideoProcessingService.ts b/packages/backend/src/core/VideoProcessingService.ts index 06f832ab09..b929fe85eb 100644 --- a/packages/backend/src/core/VideoProcessingService.ts +++ b/packages/backend/src/core/VideoProcessingService.ts @@ -1,3 +1,7 @@ +// 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'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/WebfingerService.ts b/packages/backend/src/core/WebfingerService.ts index 6b2428cdf0..fda2f35621 100644 --- a/packages/backend/src/core/WebfingerService.ts +++ b/packages/backend/src/core/WebfingerService.ts @@ -1,3 +1,7 @@ +// 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'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/WebhookService.ts b/packages/backend/src/core/WebhookService.ts index b6f5263901..4fc97bd2f8 100644 --- a/packages/backend/src/core/WebhookService.ts +++ b/packages/backend/src/core/WebhookService.ts @@ -1,3 +1,7 @@ +// 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'; import type { WebhooksRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/activitypub/ApAudienceService.ts b/packages/backend/src/core/activitypub/ApAudienceService.ts index a4ab5eae20..53661de748 100644 --- a/packages/backend/src/core/activitypub/ApAudienceService.ts +++ b/packages/backend/src/core/activitypub/ApAudienceService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Injectable } from '@nestjs/common'; import promiseLimit from 'promise-limit'; import type { RemoteUser, User } from '@/models/entities/User.js'; diff --git a/packages/backend/src/core/activitypub/ApDbResolverService.ts b/packages/backend/src/core/activitypub/ApDbResolverService.ts index d5a530c903..c5bdef5714 100644 --- a/packages/backend/src/core/activitypub/ApDbResolverService.ts +++ b/packages/backend/src/core/activitypub/ApDbResolverService.ts @@ -1,3 +1,7 @@ +// 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'; import type { NotesRepository, UserPublickeysRepository, UsersRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/activitypub/ApDeliverManagerService.ts b/packages/backend/src/core/activitypub/ApDeliverManagerService.ts index 09461973d9..9678f60705 100644 --- a/packages/backend/src/core/activitypub/ApDeliverManagerService.ts +++ b/packages/backend/src/core/activitypub/ApDeliverManagerService.ts @@ -1,3 +1,7 @@ +// 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'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/activitypub/ApInboxService.ts b/packages/backend/src/core/activitypub/ApInboxService.ts index 8d5f4883e4..260c4744de 100644 --- a/packages/backend/src/core/activitypub/ApInboxService.ts +++ b/packages/backend/src/core/activitypub/ApInboxService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import { In } from 'typeorm'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/activitypub/ApLoggerService.ts b/packages/backend/src/core/activitypub/ApLoggerService.ts index eeffab1b6d..8fe32c52af 100644 --- a/packages/backend/src/core/activitypub/ApLoggerService.ts +++ b/packages/backend/src/core/activitypub/ApLoggerService.ts @@ -1,3 +1,7 @@ +// 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'; import { RemoteLoggerService } from '@/core/RemoteLoggerService.js'; diff --git a/packages/backend/src/core/activitypub/ApMfmService.ts b/packages/backend/src/core/activitypub/ApMfmService.ts index d7269eca92..486999557e 100644 --- a/packages/backend/src/core/activitypub/ApMfmService.ts +++ b/packages/backend/src/core/activitypub/ApMfmService.ts @@ -1,3 +1,7 @@ +// 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'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/activitypub/ApRendererService.ts b/packages/backend/src/core/activitypub/ApRendererService.ts index 797c6267b1..96af48fe5e 100644 --- a/packages/backend/src/core/activitypub/ApRendererService.ts +++ b/packages/backend/src/core/activitypub/ApRendererService.ts @@ -1,3 +1,7 @@ +// 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'; import { In } from 'typeorm'; diff --git a/packages/backend/src/core/activitypub/ApRequestService.ts b/packages/backend/src/core/activitypub/ApRequestService.ts index 44676cac20..0244881217 100644 --- a/packages/backend/src/core/activitypub/ApRequestService.ts +++ b/packages/backend/src/core/activitypub/ApRequestService.ts @@ -1,3 +1,7 @@ +// 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'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/core/activitypub/ApResolverService.ts b/packages/backend/src/core/activitypub/ApResolverService.ts index aa4720c56e..a73d95d354 100644 --- a/packages/backend/src/core/activitypub/ApResolverService.ts +++ b/packages/backend/src/core/activitypub/ApResolverService.ts @@ -1,3 +1,7 @@ +// 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'; import { InstanceActorService } from '@/core/InstanceActorService.js'; diff --git a/packages/backend/src/core/activitypub/LdSignatureService.ts b/packages/backend/src/core/activitypub/LdSignatureService.ts index af7e243229..1650828077 100644 --- a/packages/backend/src/core/activitypub/LdSignatureService.ts +++ b/packages/backend/src/core/activitypub/LdSignatureService.ts @@ -1,3 +1,7 @@ +// 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'; import { HttpRequestService } from '@/core/HttpRequestService.js'; diff --git a/packages/backend/src/core/activitypub/misc/contexts.ts b/packages/backend/src/core/activitypub/misc/contexts.ts index 2bcd3811b2..ae45070143 100644 --- a/packages/backend/src/core/activitypub/misc/contexts.ts +++ b/packages/backend/src/core/activitypub/misc/contexts.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import type { JsonLd } from 'jsonld/jsonld-spec.js'; /* eslint:disable:quotemark indent */ diff --git a/packages/backend/src/core/activitypub/models/ApImageService.ts b/packages/backend/src/core/activitypub/models/ApImageService.ts index 1f2984894c..30164e1962 100644 --- a/packages/backend/src/core/activitypub/models/ApImageService.ts +++ b/packages/backend/src/core/activitypub/models/ApImageService.ts @@ -1,3 +1,7 @@ +// 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'; import type { DriveFilesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/activitypub/models/ApMentionService.ts b/packages/backend/src/core/activitypub/models/ApMentionService.ts index 62ae3cf93d..8fff880d74 100644 --- a/packages/backend/src/core/activitypub/models/ApMentionService.ts +++ b/packages/backend/src/core/activitypub/models/ApMentionService.ts @@ -1,3 +1,7 @@ +// 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'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/activitypub/models/ApNoteService.ts b/packages/backend/src/core/activitypub/models/ApNoteService.ts index 46ed976a6b..ee693ee423 100644 --- a/packages/backend/src/core/activitypub/models/ApNoteService.ts +++ b/packages/backend/src/core/activitypub/models/ApNoteService.ts @@ -1,3 +1,7 @@ +// 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'; import { In } from 'typeorm'; diff --git a/packages/backend/src/core/activitypub/models/ApPersonService.ts b/packages/backend/src/core/activitypub/models/ApPersonService.ts index 8fc083719d..0bb77f8265 100644 --- a/packages/backend/src/core/activitypub/models/ApPersonService.ts +++ b/packages/backend/src/core/activitypub/models/ApPersonService.ts @@ -1,3 +1,7 @@ +// 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'; import { DataSource } from 'typeorm'; diff --git a/packages/backend/src/core/activitypub/models/ApQuestionService.ts b/packages/backend/src/core/activitypub/models/ApQuestionService.ts index 229a44f90f..9fbaf600f2 100644 --- a/packages/backend/src/core/activitypub/models/ApQuestionService.ts +++ b/packages/backend/src/core/activitypub/models/ApQuestionService.ts @@ -1,3 +1,7 @@ +// 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'; import type { NotesRepository, PollsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/activitypub/models/icon.ts b/packages/backend/src/core/activitypub/models/icon.ts index 50794a937d..2b5315b8cf 100644 --- a/packages/backend/src/core/activitypub/models/icon.ts +++ b/packages/backend/src/core/activitypub/models/icon.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export type IIcon = { type: string; mediaType?: string; diff --git a/packages/backend/src/core/activitypub/models/identifier.ts b/packages/backend/src/core/activitypub/models/identifier.ts index f6c3bb8c88..b7d7dbe789 100644 --- a/packages/backend/src/core/activitypub/models/identifier.ts +++ b/packages/backend/src/core/activitypub/models/identifier.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export type IIdentifier = { type: string; name: string; diff --git a/packages/backend/src/core/activitypub/models/tag.ts b/packages/backend/src/core/activitypub/models/tag.ts index 9aeb843562..69eaf35452 100644 --- a/packages/backend/src/core/activitypub/models/tag.ts +++ b/packages/backend/src/core/activitypub/models/tag.ts @@ -1,3 +1,7 @@ +// 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'; import type { IObject, IApHashtag } from '../type.js'; diff --git a/packages/backend/src/core/activitypub/type.ts b/packages/backend/src/core/activitypub/type.ts index 4bb0fa61ec..f559d8991b 100644 --- a/packages/backend/src/core/activitypub/type.ts +++ b/packages/backend/src/core/activitypub/type.ts @@ -1,3 +1,7 @@ +// 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 afd3bab5a2..47b9bc7912 100644 --- a/packages/backend/src/core/chart/ChartLoggerService.ts +++ b/packages/backend/src/core/chart/ChartLoggerService.ts @@ -1,3 +1,7 @@ +// 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'; import { LoggerService } from '@/core/LoggerService.js'; diff --git a/packages/backend/src/core/chart/ChartManagementService.ts b/packages/backend/src/core/chart/ChartManagementService.ts index b0e9e534df..5e0d335fc1 100644 --- a/packages/backend/src/core/chart/ChartManagementService.ts +++ b/packages/backend/src/core/chart/ChartManagementService.ts @@ -1,3 +1,7 @@ +// 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/core/chart/charts/active-users.ts b/packages/backend/src/core/chart/charts/active-users.ts index bc0ba25cbb..4b105507e2 100644 --- a/packages/backend/src/core/chart/charts/active-users.ts +++ b/packages/backend/src/core/chart/charts/active-users.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Injectable, Inject } from '@nestjs/common'; import { DataSource } from 'typeorm'; import { AppLockService } from '@/core/AppLockService.js'; diff --git a/packages/backend/src/core/chart/charts/ap-request.ts b/packages/backend/src/core/chart/charts/ap-request.ts index ce377460c8..0a5e51a477 100644 --- a/packages/backend/src/core/chart/charts/ap-request.ts +++ b/packages/backend/src/core/chart/charts/ap-request.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Injectable, Inject } from '@nestjs/common'; import { DataSource } from 'typeorm'; import { AppLockService } from '@/core/AppLockService.js'; diff --git a/packages/backend/src/core/chart/charts/drive.ts b/packages/backend/src/core/chart/charts/drive.ts index b63db591fb..872ce6f654 100644 --- a/packages/backend/src/core/chart/charts/drive.ts +++ b/packages/backend/src/core/chart/charts/drive.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Injectable, Inject } from '@nestjs/common'; import { DataSource } from 'typeorm'; import type { DriveFile } from '@/models/entities/DriveFile.js'; 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 e291e37c1b..d2225d2a90 100644 --- a/packages/backend/src/core/chart/charts/entities/active-users.ts +++ b/packages/backend/src/core/chart/charts/entities/active-users.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import Chart from '../../core.js'; export const name = 'activeUsers'; 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 3a9f3dacfd..22914dd7c6 100644 --- a/packages/backend/src/core/chart/charts/entities/ap-request.ts +++ b/packages/backend/src/core/chart/charts/entities/ap-request.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import Chart from '../../core.js'; export const name = 'apRequest'; diff --git a/packages/backend/src/core/chart/charts/entities/drive.ts b/packages/backend/src/core/chart/charts/entities/drive.ts index 4bf5bb729e..e005df5e71 100644 --- a/packages/backend/src/core/chart/charts/entities/drive.ts +++ b/packages/backend/src/core/chart/charts/entities/drive.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import Chart from '../../core.js'; export const name = 'drive'; diff --git a/packages/backend/src/core/chart/charts/entities/federation.ts b/packages/backend/src/core/chart/charts/entities/federation.ts index a8466b0b4c..a39181105d 100644 --- a/packages/backend/src/core/chart/charts/entities/federation.ts +++ b/packages/backend/src/core/chart/charts/entities/federation.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import Chart from '../../core.js'; export const name = 'federation'; diff --git a/packages/backend/src/core/chart/charts/entities/instance.ts b/packages/backend/src/core/chart/charts/entities/instance.ts index 06962120e2..2412969688 100644 --- a/packages/backend/src/core/chart/charts/entities/instance.ts +++ b/packages/backend/src/core/chart/charts/entities/instance.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import Chart from '../../core.js'; export const name = 'instance'; diff --git a/packages/backend/src/core/chart/charts/entities/notes.ts b/packages/backend/src/core/chart/charts/entities/notes.ts index 9387dbfb2c..c8521765e2 100644 --- a/packages/backend/src/core/chart/charts/entities/notes.ts +++ b/packages/backend/src/core/chart/charts/entities/notes.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import Chart from '../../core.js'; export const name = 'notes'; 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 6111640ea0..65fe95fa51 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,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import Chart from '../../core.js'; export const name = 'perUserDrive'; 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 4118daa474..a529541321 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,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import Chart from '../../core.js'; export const name = 'perUserFollowing'; 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 c1fa174452..9bf43d39b0 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,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import Chart from '../../core.js'; export const name = 'perUserNotes'; 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 64c8ed1fb1..df0889476a 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,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import Chart from '../../core.js'; export const name = 'perUserPv'; 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 5e1a6c7b30..534bfbfbca 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,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import Chart from '../../core.js'; export const name = 'perUserReaction'; 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 66b6e8e864..654591f1d6 100644 --- a/packages/backend/src/core/chart/charts/entities/test-grouped.ts +++ b/packages/backend/src/core/chart/charts/entities/test-grouped.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import Chart from '../../core.js'; export const name = 'testGrouped'; 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 a3bdcb367f..0a25f0ae3f 100644 --- a/packages/backend/src/core/chart/charts/entities/test-intersection.ts +++ b/packages/backend/src/core/chart/charts/entities/test-intersection.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import Chart from '../../core.js'; export const name = 'testIntersection'; 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 b2cfb71b05..e573d7edd8 100644 --- a/packages/backend/src/core/chart/charts/entities/test-unique.ts +++ b/packages/backend/src/core/chart/charts/entities/test-unique.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import Chart from '../../core.js'; export const name = 'testUnique'; diff --git a/packages/backend/src/core/chart/charts/entities/test.ts b/packages/backend/src/core/chart/charts/entities/test.ts index 7cba21e16a..847f0e6a82 100644 --- a/packages/backend/src/core/chart/charts/entities/test.ts +++ b/packages/backend/src/core/chart/charts/entities/test.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import Chart from '../../core.js'; export const name = 'test'; diff --git a/packages/backend/src/core/chart/charts/entities/users.ts b/packages/backend/src/core/chart/charts/entities/users.ts index c0b83094ae..e450ac6cee 100644 --- a/packages/backend/src/core/chart/charts/entities/users.ts +++ b/packages/backend/src/core/chart/charts/entities/users.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import Chart from '../../core.js'; export const name = 'users'; diff --git a/packages/backend/src/core/chart/charts/federation.ts b/packages/backend/src/core/chart/charts/federation.ts index ae4eb6e48d..21daaca56b 100644 --- a/packages/backend/src/core/chart/charts/federation.ts +++ b/packages/backend/src/core/chart/charts/federation.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Injectable, Inject } from '@nestjs/common'; import { DataSource } from 'typeorm'; import type { FollowingsRepository, InstancesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/chart/charts/instance.ts b/packages/backend/src/core/chart/charts/instance.ts index 8ca88d80e3..d5ca2fecb4 100644 --- a/packages/backend/src/core/chart/charts/instance.ts +++ b/packages/backend/src/core/chart/charts/instance.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Injectable, Inject } from '@nestjs/common'; import { DataSource } from 'typeorm'; import type { DriveFilesRepository, FollowingsRepository, UsersRepository, NotesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/chart/charts/notes.ts b/packages/backend/src/core/chart/charts/notes.ts index 23dc248fec..ebae1e1912 100644 --- a/packages/backend/src/core/chart/charts/notes.ts +++ b/packages/backend/src/core/chart/charts/notes.ts @@ -1,3 +1,7 @@ +// 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'; import type { NotesRepository } from '@/models/index.js'; 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 ffba04b041..fe22dd665d 100644 --- a/packages/backend/src/core/chart/charts/per-user-drive.ts +++ b/packages/backend/src/core/chart/charts/per-user-drive.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Injectable, Inject } from '@nestjs/common'; import { DataSource } from 'typeorm'; import type { DriveFilesRepository } from '@/models/index.js'; 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 aea6d44a9a..4a82da7d25 100644 --- a/packages/backend/src/core/chart/charts/per-user-following.ts +++ b/packages/backend/src/core/chart/charts/per-user-following.ts @@ -1,3 +1,7 @@ +// 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'; import type { User } from '@/models/entities/User.js'; 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 d8966f34c1..1a3845d8a1 100644 --- a/packages/backend/src/core/chart/charts/per-user-notes.ts +++ b/packages/backend/src/core/chart/charts/per-user-notes.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Injectable, Inject } from '@nestjs/common'; import { DataSource } from 'typeorm'; import type { User } from '@/models/entities/User.js'; 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 53c89d8a9a..005d155e9a 100644 --- a/packages/backend/src/core/chart/charts/per-user-pv.ts +++ b/packages/backend/src/core/chart/charts/per-user-pv.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Injectable, Inject } from '@nestjs/common'; import { DataSource } from 'typeorm'; import type { User } from '@/models/entities/User.js'; 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 7bc6d4b521..7ebe8de9dd 100644 --- a/packages/backend/src/core/chart/charts/per-user-reactions.ts +++ b/packages/backend/src/core/chart/charts/per-user-reactions.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Injectable, Inject } from '@nestjs/common'; import { DataSource } from 'typeorm'; import type { User } from '@/models/entities/User.js'; diff --git a/packages/backend/src/core/chart/charts/test-grouped.ts b/packages/backend/src/core/chart/charts/test-grouped.ts index 128967bc65..56d4aa4d07 100644 --- a/packages/backend/src/core/chart/charts/test-grouped.ts +++ b/packages/backend/src/core/chart/charts/test-grouped.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Injectable, Inject } from '@nestjs/common'; import { DataSource } from 'typeorm'; import { AppLockService } from '@/core/AppLockService.js'; diff --git a/packages/backend/src/core/chart/charts/test-intersection.ts b/packages/backend/src/core/chart/charts/test-intersection.ts index 6b4eed9062..98b9a0eb0c 100644 --- a/packages/backend/src/core/chart/charts/test-intersection.ts +++ b/packages/backend/src/core/chart/charts/test-intersection.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Injectable, Inject } from '@nestjs/common'; import { DataSource } from 'typeorm'; import { AppLockService } from '@/core/AppLockService.js'; diff --git a/packages/backend/src/core/chart/charts/test-unique.ts b/packages/backend/src/core/chart/charts/test-unique.ts index 5d2b3f8ab1..e155a47fda 100644 --- a/packages/backend/src/core/chart/charts/test-unique.ts +++ b/packages/backend/src/core/chart/charts/test-unique.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Injectable, Inject } from '@nestjs/common'; import { DataSource } from 'typeorm'; import { AppLockService } from '@/core/AppLockService.js'; diff --git a/packages/backend/src/core/chart/charts/test.ts b/packages/backend/src/core/chart/charts/test.ts index 238351d8b3..ef221c47b0 100644 --- a/packages/backend/src/core/chart/charts/test.ts +++ b/packages/backend/src/core/chart/charts/test.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Injectable, Inject } from '@nestjs/common'; import { DataSource } from 'typeorm'; import { AppLockService } from '@/core/AppLockService.js'; diff --git a/packages/backend/src/core/chart/charts/users.ts b/packages/backend/src/core/chart/charts/users.ts index 7bc3602439..7fdec15cce 100644 --- a/packages/backend/src/core/chart/charts/users.ts +++ b/packages/backend/src/core/chart/charts/users.ts @@ -1,3 +1,7 @@ +// 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'; import type { User } from '@/models/entities/User.js'; diff --git a/packages/backend/src/core/chart/core.ts b/packages/backend/src/core/chart/core.ts index 7a89233eda..988f0cca29 100644 --- a/packages/backend/src/core/chart/core.ts +++ b/packages/backend/src/core/chart/core.ts @@ -1,3 +1,7 @@ +// 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 b44e2e38b7..9a0368a309 100644 --- a/packages/backend/src/core/chart/entities.ts +++ b/packages/backend/src/core/chart/entities.ts @@ -1,3 +1,7 @@ +// 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'; import { entity as UsersChart } from './charts/entities/users.js'; diff --git a/packages/backend/src/core/entities/AbuseUserReportEntityService.ts b/packages/backend/src/core/entities/AbuseUserReportEntityService.ts index 94ae1856b9..286382e235 100644 --- a/packages/backend/src/core/entities/AbuseUserReportEntityService.ts +++ b/packages/backend/src/core/entities/AbuseUserReportEntityService.ts @@ -1,3 +1,7 @@ +// 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'; import type { AbuseUserReportsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/entities/AntennaEntityService.ts b/packages/backend/src/core/entities/AntennaEntityService.ts index 328511f5df..19ea5833de 100644 --- a/packages/backend/src/core/entities/AntennaEntityService.ts +++ b/packages/backend/src/core/entities/AntennaEntityService.ts @@ -1,3 +1,7 @@ +// 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'; import type { AntennasRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/entities/AppEntityService.ts b/packages/backend/src/core/entities/AppEntityService.ts index 0b4c3935c7..28310af3c7 100644 --- a/packages/backend/src/core/entities/AppEntityService.ts +++ b/packages/backend/src/core/entities/AppEntityService.ts @@ -1,3 +1,7 @@ +// 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'; import type { AccessTokensRepository, AppsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/entities/AuthSessionEntityService.ts b/packages/backend/src/core/entities/AuthSessionEntityService.ts index a1874c63ab..c4c4e446d6 100644 --- a/packages/backend/src/core/entities/AuthSessionEntityService.ts +++ b/packages/backend/src/core/entities/AuthSessionEntityService.ts @@ -1,3 +1,7 @@ +// 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'; import type { AuthSessionsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/entities/BlockingEntityService.ts b/packages/backend/src/core/entities/BlockingEntityService.ts index e169c7e90a..5a1b8fe96b 100644 --- a/packages/backend/src/core/entities/BlockingEntityService.ts +++ b/packages/backend/src/core/entities/BlockingEntityService.ts @@ -1,3 +1,7 @@ +// 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'; import type { BlockingsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/entities/ChannelEntityService.ts b/packages/backend/src/core/entities/ChannelEntityService.ts index de99ce72c4..593b2019b7 100644 --- a/packages/backend/src/core/entities/ChannelEntityService.ts +++ b/packages/backend/src/core/entities/ChannelEntityService.ts @@ -1,3 +1,7 @@ +// 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'; import type { ChannelFavoritesRepository, ChannelFollowingsRepository, ChannelsRepository, DriveFilesRepository, NoteUnreadsRepository, NotesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/entities/ClipEntityService.ts b/packages/backend/src/core/entities/ClipEntityService.ts index f558cbc33d..6627935944 100644 --- a/packages/backend/src/core/entities/ClipEntityService.ts +++ b/packages/backend/src/core/entities/ClipEntityService.ts @@ -1,3 +1,7 @@ +// 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'; import type { ClipFavoritesRepository, ClipsRepository, User } from '@/models/index.js'; diff --git a/packages/backend/src/core/entities/DriveFileEntityService.ts b/packages/backend/src/core/entities/DriveFileEntityService.ts index 80442af09b..0ce79b8bca 100644 --- a/packages/backend/src/core/entities/DriveFileEntityService.ts +++ b/packages/backend/src/core/entities/DriveFileEntityService.ts @@ -1,3 +1,7 @@ +// 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'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/entities/DriveFolderEntityService.ts b/packages/backend/src/core/entities/DriveFolderEntityService.ts index 13929b145f..c9530f2537 100644 --- a/packages/backend/src/core/entities/DriveFolderEntityService.ts +++ b/packages/backend/src/core/entities/DriveFolderEntityService.ts @@ -1,3 +1,7 @@ +// 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'; import type { DriveFilesRepository, DriveFoldersRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/entities/EmojiEntityService.ts b/packages/backend/src/core/entities/EmojiEntityService.ts index 4a18cd1b3b..a86730d31f 100644 --- a/packages/backend/src/core/entities/EmojiEntityService.ts +++ b/packages/backend/src/core/entities/EmojiEntityService.ts @@ -1,3 +1,7 @@ +// 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'; import type { EmojisRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/entities/FlashEntityService.ts b/packages/backend/src/core/entities/FlashEntityService.ts index 92345457c9..546782651f 100644 --- a/packages/backend/src/core/entities/FlashEntityService.ts +++ b/packages/backend/src/core/entities/FlashEntityService.ts @@ -1,3 +1,7 @@ +// 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'; import type { FlashsRepository, FlashLikesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/entities/FlashLikeEntityService.ts b/packages/backend/src/core/entities/FlashLikeEntityService.ts index 0351ec3014..397e88d03a 100644 --- a/packages/backend/src/core/entities/FlashLikeEntityService.ts +++ b/packages/backend/src/core/entities/FlashLikeEntityService.ts @@ -1,3 +1,7 @@ +// 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'; import type { FlashLikesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/entities/FollowRequestEntityService.ts b/packages/backend/src/core/entities/FollowRequestEntityService.ts index 6f6f4be412..b72ce0f9eb 100644 --- a/packages/backend/src/core/entities/FollowRequestEntityService.ts +++ b/packages/backend/src/core/entities/FollowRequestEntityService.ts @@ -1,3 +1,7 @@ +// 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'; import type { FollowRequestsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/entities/FollowingEntityService.ts b/packages/backend/src/core/entities/FollowingEntityService.ts index 55ba4e67ad..28d5def595 100644 --- a/packages/backend/src/core/entities/FollowingEntityService.ts +++ b/packages/backend/src/core/entities/FollowingEntityService.ts @@ -1,3 +1,7 @@ +// 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'; import type { FollowingsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/entities/GalleryLikeEntityService.ts b/packages/backend/src/core/entities/GalleryLikeEntityService.ts index 73c264da94..c859f8a899 100644 --- a/packages/backend/src/core/entities/GalleryLikeEntityService.ts +++ b/packages/backend/src/core/entities/GalleryLikeEntityService.ts @@ -1,3 +1,7 @@ +// 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'; import type { GalleryLikesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/entities/GalleryPostEntityService.ts b/packages/backend/src/core/entities/GalleryPostEntityService.ts index c44a5df118..5be9dab125 100644 --- a/packages/backend/src/core/entities/GalleryPostEntityService.ts +++ b/packages/backend/src/core/entities/GalleryPostEntityService.ts @@ -1,3 +1,7 @@ +// 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'; import type { GalleryLikesRepository, GalleryPostsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/entities/HashtagEntityService.ts b/packages/backend/src/core/entities/HashtagEntityService.ts index 2cd79b8f8c..9d8fa9516d 100644 --- a/packages/backend/src/core/entities/HashtagEntityService.ts +++ b/packages/backend/src/core/entities/HashtagEntityService.ts @@ -1,3 +1,7 @@ +// 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'; import type { HashtagsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/entities/InstanceEntityService.ts b/packages/backend/src/core/entities/InstanceEntityService.ts index 3bf84ed375..fabde175db 100644 --- a/packages/backend/src/core/entities/InstanceEntityService.ts +++ b/packages/backend/src/core/entities/InstanceEntityService.ts @@ -1,3 +1,7 @@ +// 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'; import type { InstancesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/entities/InviteCodeEntityService.ts b/packages/backend/src/core/entities/InviteCodeEntityService.ts index 2d8e7a4681..ec2dbcf161 100644 --- a/packages/backend/src/core/entities/InviteCodeEntityService.ts +++ b/packages/backend/src/core/entities/InviteCodeEntityService.ts @@ -1,3 +1,7 @@ +// 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'; import type { RegistrationTicketsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/entities/ModerationLogEntityService.ts b/packages/backend/src/core/entities/ModerationLogEntityService.ts index 59815d2639..f48826dd67 100644 --- a/packages/backend/src/core/entities/ModerationLogEntityService.ts +++ b/packages/backend/src/core/entities/ModerationLogEntityService.ts @@ -1,3 +1,7 @@ +// 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'; import type { ModerationLogsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/entities/MutingEntityService.ts b/packages/backend/src/core/entities/MutingEntityService.ts index 561d53292e..83e833033f 100644 --- a/packages/backend/src/core/entities/MutingEntityService.ts +++ b/packages/backend/src/core/entities/MutingEntityService.ts @@ -1,3 +1,7 @@ +// 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'; import type { MutingsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/entities/NoteEntityService.ts b/packages/backend/src/core/entities/NoteEntityService.ts index 546e5f56d2..46acc1ad75 100644 --- a/packages/backend/src/core/entities/NoteEntityService.ts +++ b/packages/backend/src/core/entities/NoteEntityService.ts @@ -1,3 +1,7 @@ +// 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'; import * as mfm from 'mfm-js'; diff --git a/packages/backend/src/core/entities/NoteFavoriteEntityService.ts b/packages/backend/src/core/entities/NoteFavoriteEntityService.ts index badb8fb816..58613f3169 100644 --- a/packages/backend/src/core/entities/NoteFavoriteEntityService.ts +++ b/packages/backend/src/core/entities/NoteFavoriteEntityService.ts @@ -1,3 +1,7 @@ +// 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'; import type { NoteFavoritesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/entities/NoteReactionEntityService.ts b/packages/backend/src/core/entities/NoteReactionEntityService.ts index d454ddb70a..9ad299ed06 100644 --- a/packages/backend/src/core/entities/NoteReactionEntityService.ts +++ b/packages/backend/src/core/entities/NoteReactionEntityService.ts @@ -1,3 +1,7 @@ +// 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'; import type { NoteReactionsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/entities/NotificationEntityService.ts b/packages/backend/src/core/entities/NotificationEntityService.ts index 02c6982847..7e7f36544b 100644 --- a/packages/backend/src/core/entities/NotificationEntityService.ts +++ b/packages/backend/src/core/entities/NotificationEntityService.ts @@ -1,3 +1,7 @@ +// 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'; import { In } from 'typeorm'; diff --git a/packages/backend/src/core/entities/PageEntityService.ts b/packages/backend/src/core/entities/PageEntityService.ts index 94b26a5017..c33ec72059 100644 --- a/packages/backend/src/core/entities/PageEntityService.ts +++ b/packages/backend/src/core/entities/PageEntityService.ts @@ -1,3 +1,7 @@ +// 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'; import type { DriveFilesRepository, PagesRepository, PageLikesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/entities/PageLikeEntityService.ts b/packages/backend/src/core/entities/PageLikeEntityService.ts index 99465d0ea3..e93fdd239c 100644 --- a/packages/backend/src/core/entities/PageLikeEntityService.ts +++ b/packages/backend/src/core/entities/PageLikeEntityService.ts @@ -1,3 +1,7 @@ +// 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'; import type { PageLikesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/entities/RenoteMutingEntityService.ts b/packages/backend/src/core/entities/RenoteMutingEntityService.ts index f8871e0495..d489c4c667 100644 --- a/packages/backend/src/core/entities/RenoteMutingEntityService.ts +++ b/packages/backend/src/core/entities/RenoteMutingEntityService.ts @@ -1,3 +1,7 @@ +// 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'; import type { RenoteMutingsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/entities/RoleEntityService.ts b/packages/backend/src/core/entities/RoleEntityService.ts index 54818782dd..59ca7f0621 100644 --- a/packages/backend/src/core/entities/RoleEntityService.ts +++ b/packages/backend/src/core/entities/RoleEntityService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import { Brackets } from 'typeorm'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/core/entities/SigninEntityService.ts b/packages/backend/src/core/entities/SigninEntityService.ts index a6c4407ce8..f0d760d729 100644 --- a/packages/backend/src/core/entities/SigninEntityService.ts +++ b/packages/backend/src/core/entities/SigninEntityService.ts @@ -1,3 +1,7 @@ +// 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'; import type { SigninsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/core/entities/UserEntityService.ts b/packages/backend/src/core/entities/UserEntityService.ts index 7d248f8524..1ec018550f 100644 --- a/packages/backend/src/core/entities/UserEntityService.ts +++ b/packages/backend/src/core/entities/UserEntityService.ts @@ -1,3 +1,7 @@ +// 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'; import * as Redis from 'ioredis'; diff --git a/packages/backend/src/core/entities/UserListEntityService.ts b/packages/backend/src/core/entities/UserListEntityService.ts index 8628819278..0bdfa73225 100644 --- a/packages/backend/src/core/entities/UserListEntityService.ts +++ b/packages/backend/src/core/entities/UserListEntityService.ts @@ -1,3 +1,7 @@ +// 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'; import type { UserListJoiningsRepository, UserListsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/daemons/DaemonModule.ts b/packages/backend/src/daemons/DaemonModule.ts index 683f9cbfe3..d3c1612b05 100644 --- a/packages/backend/src/daemons/DaemonModule.ts +++ b/packages/backend/src/daemons/DaemonModule.ts @@ -1,3 +1,7 @@ +// 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'; import { GlobalModule } from '@/GlobalModule.js'; diff --git a/packages/backend/src/daemons/JanitorService.ts b/packages/backend/src/daemons/JanitorService.ts index f826d50625..da6fb3fd99 100644 --- a/packages/backend/src/daemons/JanitorService.ts +++ b/packages/backend/src/daemons/JanitorService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import { LessThan } from 'typeorm'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/daemons/QueueStatsService.ts b/packages/backend/src/daemons/QueueStatsService.ts index 4d0cb96a2f..47e5d59e67 100644 --- a/packages/backend/src/daemons/QueueStatsService.ts +++ b/packages/backend/src/daemons/QueueStatsService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import Xev from 'xev'; import * as Bull from 'bullmq'; diff --git a/packages/backend/src/daemons/ServerStatsService.ts b/packages/backend/src/daemons/ServerStatsService.ts index 375fd5e516..0df871cd28 100644 --- a/packages/backend/src/daemons/ServerStatsService.ts +++ b/packages/backend/src/daemons/ServerStatsService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Injectable } from '@nestjs/common'; import si from 'systeminformation'; import Xev from 'xev'; diff --git a/packages/backend/src/decorators.ts b/packages/backend/src/decorators.ts index db23317eef..5099a8d62c 100644 --- a/packages/backend/src/decorators.ts +++ b/packages/backend/src/decorators.ts @@ -1,3 +1,7 @@ +// 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 4a073f102f..cd5dd3422f 100644 --- a/packages/backend/src/di-symbols.ts +++ b/packages/backend/src/di-symbols.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export const DI = { config: Symbol('config'), db: Symbol('db'), diff --git a/packages/backend/src/env.ts b/packages/backend/src/env.ts index d7c8304b47..2695c08ebf 100644 --- a/packages/backend/src/env.ts +++ b/packages/backend/src/env.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + const envOption = { onlyQueue: false, onlyServer: false, diff --git a/packages/backend/src/global.d.ts b/packages/backend/src/global.d.ts index 7343aa1994..65b24582f1 100644 --- a/packages/backend/src/global.d.ts +++ b/packages/backend/src/global.d.ts @@ -1 +1,5 @@ +// 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 465b557ce4..0bf54b0ed6 100644 --- a/packages/backend/src/logger.ts +++ b/packages/backend/src/logger.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import cluster from 'node:cluster'; import chalk from 'chalk'; import { default as convertColor } from 'color-convert'; diff --git a/packages/backend/src/misc/acct.ts b/packages/backend/src/misc/acct.ts index fb3b657cf7..796245a01b 100644 --- a/packages/backend/src/misc/acct.ts +++ b/packages/backend/src/misc/acct.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export type Acct = { username: string; host: string | null; diff --git a/packages/backend/src/misc/api-permissions.ts b/packages/backend/src/misc/api-permissions.ts index 160cdf9fd6..f8838205ca 100644 --- a/packages/backend/src/misc/api-permissions.ts +++ b/packages/backend/src/misc/api-permissions.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export const kinds = [ 'read:account', 'write:account', diff --git a/packages/backend/src/misc/cache.ts b/packages/backend/src/misc/cache.ts index e825d51371..cf9672874e 100644 --- a/packages/backend/src/misc/cache.ts +++ b/packages/backend/src/misc/cache.ts @@ -1,3 +1,7 @@ +// 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 612032fe97..2fdea7efa3 100644 --- a/packages/backend/src/misc/check-https.ts +++ b/packages/backend/src/misc/check-https.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export function checkHttps(url: string): boolean { return url.startsWith('https://') || (url.startsWith('http://') && process.env.NODE_ENV !== 'production'); diff --git a/packages/backend/src/misc/check-word-mute.ts b/packages/backend/src/misc/check-word-mute.ts index 910bebfcfe..7220671d16 100644 --- a/packages/backend/src/misc/check-word-mute.ts +++ b/packages/backend/src/misc/check-word-mute.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { AhoCorasick } from 'slacc'; import RE2 from 're2'; import type { Note } from '@/models/entities/Note.js'; diff --git a/packages/backend/src/misc/clone.ts b/packages/backend/src/misc/clone.ts index 16fad24129..8ec8317e10 100644 --- a/packages/backend/src/misc/clone.ts +++ b/packages/backend/src/misc/clone.ts @@ -1,3 +1,7 @@ +// 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 b2aec471d5..70fe631665 100644 --- a/packages/backend/src/misc/content-disposition.ts +++ b/packages/backend/src/misc/content-disposition.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import cd from 'content-disposition'; export function contentDisposition(type: 'inline' | 'attachment', filename: string): string { diff --git a/packages/backend/src/misc/correct-filename.ts b/packages/backend/src/misc/correct-filename.ts index 23a0699f39..085f092f72 100644 --- a/packages/backend/src/misc/correct-filename.ts +++ b/packages/backend/src/misc/correct-filename.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + // 与えられた拡張子とファイル名が一致しているかどうかを確認し、 // 一致していない場合は拡張子を付与して返す export function correctFilename(filename: string, ext: string | null) { diff --git a/packages/backend/src/misc/create-temp.ts b/packages/backend/src/misc/create-temp.ts index 7b8942e308..f2714477a1 100644 --- a/packages/backend/src/misc/create-temp.ts +++ b/packages/backend/src/misc/create-temp.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import * as tmp from 'tmp'; export function createTemp(): Promise<[string, () => void]> { diff --git a/packages/backend/src/misc/dev-null.ts b/packages/backend/src/misc/dev-null.ts index 6706af5e52..c22bb24fa8 100644 --- a/packages/backend/src/misc/dev-null.ts +++ b/packages/backend/src/misc/dev-null.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Writable, WritableOptions } from 'node:stream'; export class DevNull extends Writable implements NodeJS.WritableStream { diff --git a/packages/backend/src/misc/emoji-regex.ts b/packages/backend/src/misc/emoji-regex.ts index 1c6f5776db..5a39ccc372 100644 --- a/packages/backend/src/misc/emoji-regex.ts +++ b/packages/backend/src/misc/emoji-regex.ts @@ -1,3 +1,7 @@ +// 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 14c25922ad..e21fec28c9 100644 --- a/packages/backend/src/misc/extract-custom-emojis-from-mfm.ts +++ b/packages/backend/src/misc/extract-custom-emojis-from-mfm.ts @@ -1,3 +1,7 @@ +// 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 d293fd7f52..17f0896e8d 100644 --- a/packages/backend/src/misc/extract-hashtags.ts +++ b/packages/backend/src/misc/extract-hashtags.ts @@ -1,3 +1,7 @@ +// 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 c8762e797b..2e3f88ad40 100644 --- a/packages/backend/src/misc/extract-mentions.ts +++ b/packages/backend/src/misc/extract-mentions.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + // test is located in test/extract-mentions import * as mfm from 'mfm-js'; diff --git a/packages/backend/src/misc/fastify-reply-error.ts b/packages/backend/src/misc/fastify-reply-error.ts index 4e987175e2..539f953120 100644 --- a/packages/backend/src/misc/fastify-reply-error.ts +++ b/packages/backend/src/misc/fastify-reply-error.ts @@ -1,3 +1,7 @@ +// 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 { public message: string; diff --git a/packages/backend/src/misc/gen-identicon.ts b/packages/backend/src/misc/gen-identicon.ts index b40745973e..cec0c1d383 100644 --- a/packages/backend/src/misc/gen-identicon.ts +++ b/packages/backend/src/misc/gen-identicon.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + /** * Identicon generator * https://en.wikipedia.org/wiki/Identicon diff --git a/packages/backend/src/misc/gen-key-pair.ts b/packages/backend/src/misc/gen-key-pair.ts index e2ad598501..4578c7339e 100644 --- a/packages/backend/src/misc/gen-key-pair.ts +++ b/packages/backend/src/misc/gen-key-pair.ts @@ -1,3 +1,7 @@ +// 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 617b27361d..8607d0679b 100644 --- a/packages/backend/src/misc/generate-invite-code.ts +++ b/packages/backend/src/misc/generate-invite-code.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { secureRndstr } from './secure-rndstr.js'; const CHARS = '23456789ABCDEFGHJKLMNPQRSTUVWXYZ'; // [0-9A-Z] w/o [01IO] (32 patterns) diff --git a/packages/backend/src/misc/generate-native-user-token.ts b/packages/backend/src/misc/generate-native-user-token.ts index 7292d765a8..5ae943f72c 100644 --- a/packages/backend/src/misc/generate-native-user-token.ts +++ b/packages/backend/src/misc/generate-native-user-token.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { secureRndstr } from '@/misc/secure-rndstr.js'; export default () => secureRndstr(16); diff --git a/packages/backend/src/misc/get-ip-hash.ts b/packages/backend/src/misc/get-ip-hash.ts index 1a86fb8814..377ff9a0f8 100644 --- a/packages/backend/src/misc/get-ip-hash.ts +++ b/packages/backend/src/misc/get-ip-hash.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import IPCIDR from 'ip-cidr'; export function getIpHash(ip: string): string { diff --git a/packages/backend/src/misc/get-note-summary.ts b/packages/backend/src/misc/get-note-summary.ts index 964f20b25b..bca5914b08 100644 --- a/packages/backend/src/misc/get-note-summary.ts +++ b/packages/backend/src/misc/get-note-summary.ts @@ -1,3 +1,7 @@ +// 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 c2e0b98582..eddfc5b393 100644 --- a/packages/backend/src/misc/get-reaction-emoji.ts +++ b/packages/backend/src/misc/get-reaction-emoji.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export default function(reaction: string): string { switch (reaction) { case 'like': return '👍'; diff --git a/packages/backend/src/misc/i18n.ts b/packages/backend/src/misc/i18n.ts index b1c727827d..c43810049f 100644 --- a/packages/backend/src/misc/i18n.ts +++ b/packages/backend/src/misc/i18n.ts @@ -1,3 +1,7 @@ +// 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 f0cbc9900d..bf406bcdd0 100644 --- a/packages/backend/src/misc/id/aid.ts +++ b/packages/backend/src/misc/id/aid.ts @@ -1,3 +1,7 @@ +// 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 337416b059..65da3181bf 100644 --- a/packages/backend/src/misc/id/meid.ts +++ b/packages/backend/src/misc/id/meid.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + const CHARS = '0123456789abcdef'; // same as object-id diff --git a/packages/backend/src/misc/id/meidg.ts b/packages/backend/src/misc/id/meidg.ts index 19d0bc1fd2..cbdc14a81f 100644 --- a/packages/backend/src/misc/id/meidg.ts +++ b/packages/backend/src/misc/id/meidg.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + const CHARS = '0123456789abcdef'; // 4bit Fixed hex value 'g' diff --git a/packages/backend/src/misc/id/object-id.ts b/packages/backend/src/misc/id/object-id.ts index aec3447bd7..a5a92bb306 100644 --- a/packages/backend/src/misc/id/object-id.ts +++ b/packages/backend/src/misc/id/object-id.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + const CHARS = '0123456789abcdef'; // same as meid diff --git a/packages/backend/src/misc/id/ulid.ts b/packages/backend/src/misc/id/ulid.ts index bfbc363cf5..466871e36b 100644 --- a/packages/backend/src/misc/id/ulid.ts +++ b/packages/backend/src/misc/id/ulid.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + // Crockford's Base32 // https://github.com/ulid/spec#encoding const CHARS = '0123456789ABCDEFGHJKMNPQRSTVWXYZ'; diff --git a/packages/backend/src/misc/identifiable-error.ts b/packages/backend/src/misc/identifiable-error.ts index e394123f1b..0e8c23a16e 100644 --- a/packages/backend/src/misc/identifiable-error.ts +++ b/packages/backend/src/misc/identifiable-error.ts @@ -1,3 +1,7 @@ +// 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 f5343d187c..e5a2059116 100644 --- a/packages/backend/src/misc/is-duplicate-key-value-error.ts +++ b/packages/backend/src/misc/is-duplicate-key-value-error.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { QueryFailedError } from 'typeorm'; export function isDuplicateKeyValueError(e: unknown | Error): boolean { diff --git a/packages/backend/src/misc/is-instance-muted.ts b/packages/backend/src/misc/is-instance-muted.ts index 73ad0b3b82..ec37dfd212 100644 --- a/packages/backend/src/misc/is-instance-muted.ts +++ b/packages/backend/src/misc/is-instance-muted.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import type { Packed } from './json-schema.js'; export function isInstanceMuted(note: Packed<'Note'>, mutedInstances: Set): boolean { diff --git a/packages/backend/src/misc/is-mime-image.ts b/packages/backend/src/misc/is-mime-image.ts index 46a66efc0f..8bcefc3bb5 100644 --- a/packages/backend/src/misc/is-mime-image.ts +++ b/packages/backend/src/misc/is-mime-image.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { FILE_TYPE_BROWSERSAFE } from '@/const.js'; const dictionary = { diff --git a/packages/backend/src/misc/is-native-token.ts b/packages/backend/src/misc/is-native-token.ts index 2833c570c8..5072359f5c 100644 --- a/packages/backend/src/misc/is-native-token.ts +++ b/packages/backend/src/misc/is-native-token.ts @@ -1 +1,5 @@ +// 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 d89a1957be..402d57be38 100644 --- a/packages/backend/src/misc/is-not-null.ts +++ b/packages/backend/src/misc/is-not-null.ts @@ -1,3 +1,7 @@ +// 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 export function isNotNull(input: T | undefined | null): input is T { diff --git a/packages/backend/src/misc/is-quote.ts b/packages/backend/src/misc/is-quote.ts index 248b25a0bf..5f3ea5aeb7 100644 --- a/packages/backend/src/misc/is-quote.ts +++ b/packages/backend/src/misc/is-quote.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import type { Note } from '@/models/entities/Note.js'; export default function(note: Note): boolean { diff --git a/packages/backend/src/misc/is-user-related.ts b/packages/backend/src/misc/is-user-related.ts index e6bbdb5d35..7302d8ed75 100644 --- a/packages/backend/src/misc/is-user-related.ts +++ b/packages/backend/src/misc/is-user-related.ts @@ -1,3 +1,7 @@ +// 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)) { return true; diff --git a/packages/backend/src/misc/json-schema.ts b/packages/backend/src/misc/json-schema.ts index ec6bc4a5fb..1ef5b7eb10 100644 --- a/packages/backend/src/misc/json-schema.ts +++ b/packages/backend/src/misc/json-schema.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { packedUserLiteSchema, packedUserDetailedNotMeOnlySchema, diff --git a/packages/backend/src/misc/langmap.ts b/packages/backend/src/misc/langmap.ts index 5ee85e6c09..71ea340dce 100644 --- a/packages/backend/src/misc/langmap.ts +++ b/packages/backend/src/misc/langmap.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + // TODO: sharedに置いてフロントエンドのと統合したい export const langmap = { 'ach': { diff --git a/packages/backend/src/misc/normalize-for-search.ts b/packages/backend/src/misc/normalize-for-search.ts index 200540566e..a411d32542 100644 --- a/packages/backend/src/misc/normalize-for-search.ts +++ b/packages/backend/src/misc/normalize-for-search.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export function normalizeForSearch(tag: string): string { // ref. // - https://analytics-note.xyz/programming/unicode-normalization-forms/ diff --git a/packages/backend/src/misc/nyaize.ts b/packages/backend/src/misc/nyaize.ts index 350f8d2172..4286572a50 100644 --- a/packages/backend/src/misc/nyaize.ts +++ b/packages/backend/src/misc/nyaize.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export function nyaize(text: string): string { return text // ja-JP diff --git a/packages/backend/src/misc/prelude/array.ts b/packages/backend/src/misc/prelude/array.ts index 2524eacfb3..47e0117557 100644 --- a/packages/backend/src/misc/prelude/array.ts +++ b/packages/backend/src/misc/prelude/array.ts @@ -1,3 +1,7 @@ +// 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 fd9832d6f8..47dea9c71b 100644 --- a/packages/backend/src/misc/prelude/await-all.ts +++ b/packages/backend/src/misc/prelude/await-all.ts @@ -1,3 +1,7 @@ +// 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 07b94bec30..1be7b64fac 100644 --- a/packages/backend/src/misc/prelude/math.ts +++ b/packages/backend/src/misc/prelude/math.ts @@ -1,3 +1,7 @@ +// 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 df7c4ed52a..aa4a5b905f 100644 --- a/packages/backend/src/misc/prelude/maybe.ts +++ b/packages/backend/src/misc/prelude/maybe.ts @@ -1,3 +1,7 @@ +// 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 1f4703f52f..41c622a30e 100644 --- a/packages/backend/src/misc/prelude/relation.ts +++ b/packages/backend/src/misc/prelude/relation.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export type Predicate = (a: T) => boolean; export type Relation = (a: T, b: U) => boolean; diff --git a/packages/backend/src/misc/prelude/string.ts b/packages/backend/src/misc/prelude/string.ts index b907e0a2e1..307d3e2f85 100644 --- a/packages/backend/src/misc/prelude/string.ts +++ b/packages/backend/src/misc/prelude/string.ts @@ -1,3 +1,7 @@ +// 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 51e12f7450..eac8f71031 100644 --- a/packages/backend/src/misc/prelude/symbol.ts +++ b/packages/backend/src/misc/prelude/symbol.ts @@ -1 +1,5 @@ +// 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 b21978b186..cdc3f68485 100644 --- a/packages/backend/src/misc/prelude/time.ts +++ b/packages/backend/src/misc/prelude/time.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + const dateTimeIntervals = { 'day': 86400000, 'hour': 3600000, diff --git a/packages/backend/src/misc/prelude/url.ts b/packages/backend/src/misc/prelude/url.ts index 5239678280..d46d7b89ed 100644 --- a/packages/backend/src/misc/prelude/url.ts +++ b/packages/backend/src/misc/prelude/url.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + /* objを検査して * 1. 配列に何も入っていない時はクエリを付けない * 2. プロパティがundefinedの時はクエリを付けない diff --git a/packages/backend/src/misc/prelude/xml.ts b/packages/backend/src/misc/prelude/xml.ts index b4469a1d8d..16eff2b2ce 100644 --- a/packages/backend/src/misc/prelude/xml.ts +++ b/packages/backend/src/misc/prelude/xml.ts @@ -1,3 +1,7 @@ +// 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 835cd2ba28..e04f5ffd0c 100644 --- a/packages/backend/src/misc/reset-db.ts +++ b/packages/backend/src/misc/reset-db.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import type { DataSource } from 'typeorm'; export async function resetDb(db: DataSource) { diff --git a/packages/backend/src/misc/safe-for-sql.ts b/packages/backend/src/misc/safe-for-sql.ts index 02eb7f0a26..2f3b3a4925 100644 --- a/packages/backend/src/misc/safe-for-sql.ts +++ b/packages/backend/src/misc/safe-for-sql.ts @@ -1,3 +1,7 @@ +// 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 cde64c8142..b2057e7844 100644 --- a/packages/backend/src/misc/secure-rndstr.ts +++ b/packages/backend/src/misc/secure-rndstr.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import * as crypto from 'node:crypto'; export const L_CHARS = '0123456789abcdefghijklmnopqrstuvwxyz'; diff --git a/packages/backend/src/misc/show-machine-info.ts b/packages/backend/src/misc/show-machine-info.ts index fa5a53e313..9e11994656 100644 --- a/packages/backend/src/misc/show-machine-info.ts +++ b/packages/backend/src/misc/show-machine-info.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import * as os from 'node:os'; import sysUtils from 'systeminformation'; import type Logger from '@/logger.js'; diff --git a/packages/backend/src/misc/sql-like-escape.ts b/packages/backend/src/misc/sql-like-escape.ts index 8470dca3de..0a6ec2c31e 100644 --- a/packages/backend/src/misc/sql-like-escape.ts +++ b/packages/backend/src/misc/sql-like-escape.ts @@ -1,3 +1,7 @@ +// 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 0a33f8acaf..5eaa12800a 100644 --- a/packages/backend/src/misc/status-error.ts +++ b/packages/backend/src/misc/status-error.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export class StatusError extends Error { public statusCode: number; public statusMessage?: string; diff --git a/packages/backend/src/misc/truncate.ts b/packages/backend/src/misc/truncate.ts index cb120331a1..06b27db58b 100644 --- a/packages/backend/src/misc/truncate.ts +++ b/packages/backend/src/misc/truncate.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { substring } from 'stringz'; export function truncate(input: string, size: number): string; diff --git a/packages/backend/src/models/RepositoryModule.ts b/packages/backend/src/models/RepositoryModule.ts index 4231acc046..cfd681e7fc 100644 --- a/packages/backend/src/models/RepositoryModule.ts +++ b/packages/backend/src/models/RepositoryModule.ts @@ -1,3 +1,7 @@ +// 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'; import { User, Note, Announcement, AnnouncementRead, App, NoteFavorite, NoteThreadMuting, NoteReaction, NoteUnread, Poll, PollVote, UserProfile, UserKeypair, UserPending, AttestationChallenge, UserSecurityKey, UserPublickey, UserList, UserListJoining, UserNotePining, UserIp, UsedUsername, Following, FollowRequest, Instance, Emoji, DriveFile, DriveFolder, Meta, Muting, RenoteMuting, Blocking, SwSubscription, Hashtag, AbuseUserReport, RegistrationTicket, AuthSession, AccessToken, Signin, Page, PageLike, GalleryPost, GalleryLike, ModerationLog, Clip, ClipNote, Antenna, PromoNote, PromoRead, Relay, MutedNote, Channel, ChannelFollowing, ChannelFavorite, RegistryItem, Webhook, Ad, PasswordResetRequest, RetentionAggregation, FlashLike, Flash, Role, RoleAssignment, ClipFavorite, UserMemo, UserListFavorite } from './index.js'; diff --git a/packages/backend/src/models/entities/AbuseUserReport.ts b/packages/backend/src/models/entities/AbuseUserReport.ts index 07305cf23a..868ee4e86e 100644 --- a/packages/backend/src/models/entities/AbuseUserReport.ts +++ b/packages/backend/src/models/entities/AbuseUserReport.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/AccessToken.ts b/packages/backend/src/models/entities/AccessToken.ts index 8e987ffeef..6f0e8e677f 100644 --- a/packages/backend/src/models/entities/AccessToken.ts +++ b/packages/backend/src/models/entities/AccessToken.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/Ad.ts b/packages/backend/src/models/entities/Ad.ts index a496a6d276..3f2b196966 100644 --- a/packages/backend/src/models/entities/Ad.ts +++ b/packages/backend/src/models/entities/Ad.ts @@ -1,3 +1,7 @@ +// 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 beb2f82462..607eb2d1aa 100644 --- a/packages/backend/src/models/entities/Announcement.ts +++ b/packages/backend/src/models/entities/Announcement.ts @@ -1,3 +1,7 @@ +// 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 72cf688800..b33d472736 100644 --- a/packages/backend/src/models/entities/AnnouncementRead.ts +++ b/packages/backend/src/models/entities/AnnouncementRead.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/Antenna.ts b/packages/backend/src/models/entities/Antenna.ts index e63e7f2c72..1e8ae1d18d 100644 --- a/packages/backend/src/models/entities/Antenna.ts +++ b/packages/backend/src/models/entities/Antenna.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/App.ts b/packages/backend/src/models/entities/App.ts index 3a1ea7732e..168cda30b5 100644 --- a/packages/backend/src/models/entities/App.ts +++ b/packages/backend/src/models/entities/App.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/AttestationChallenge.ts b/packages/backend/src/models/entities/AttestationChallenge.ts index 4795642657..bea9bf52a8 100644 --- a/packages/backend/src/models/entities/AttestationChallenge.ts +++ b/packages/backend/src/models/entities/AttestationChallenge.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/AuthSession.ts b/packages/backend/src/models/entities/AuthSession.ts index 6b2f50e8d6..0eed3aabc6 100644 --- a/packages/backend/src/models/entities/AuthSession.ts +++ b/packages/backend/src/models/entities/AuthSession.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/Blocking.ts b/packages/backend/src/models/entities/Blocking.ts index 9892ff308e..cc4a3b63c4 100644 --- a/packages/backend/src/models/entities/Blocking.ts +++ b/packages/backend/src/models/entities/Blocking.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/Channel.ts b/packages/backend/src/models/entities/Channel.ts index d7c4583da3..eb4d7b3829 100644 --- a/packages/backend/src/models/entities/Channel.ts +++ b/packages/backend/src/models/entities/Channel.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/ChannelFavorite.ts b/packages/backend/src/models/entities/ChannelFavorite.ts index cfb2c892cf..0ce5b76632 100644 --- a/packages/backend/src/models/entities/ChannelFavorite.ts +++ b/packages/backend/src/models/entities/ChannelFavorite.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/ChannelFollowing.ts b/packages/backend/src/models/entities/ChannelFollowing.ts index c65c38b67d..4353529b45 100644 --- a/packages/backend/src/models/entities/ChannelFollowing.ts +++ b/packages/backend/src/models/entities/ChannelFollowing.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/Clip.ts b/packages/backend/src/models/entities/Clip.ts index 825a32c981..3eb4132637 100644 --- a/packages/backend/src/models/entities/Clip.ts +++ b/packages/backend/src/models/entities/Clip.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/ClipFavorite.ts b/packages/backend/src/models/entities/ClipFavorite.ts index 623471e671..7a9ff18821 100644 --- a/packages/backend/src/models/entities/ClipFavorite.ts +++ b/packages/backend/src/models/entities/ClipFavorite.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/ClipNote.ts b/packages/backend/src/models/entities/ClipNote.ts index bc9ef4b874..784992fb92 100644 --- a/packages/backend/src/models/entities/ClipNote.ts +++ b/packages/backend/src/models/entities/ClipNote.ts @@ -1,3 +1,7 @@ +// 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'; import { Note } from './Note.js'; diff --git a/packages/backend/src/models/entities/DriveFile.ts b/packages/backend/src/models/entities/DriveFile.ts index 7b9670fb92..de9902a2ee 100644 --- a/packages/backend/src/models/entities/DriveFile.ts +++ b/packages/backend/src/models/entities/DriveFile.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/DriveFolder.ts b/packages/backend/src/models/entities/DriveFolder.ts index 2a73a0875d..65b0a3e4e4 100644 --- a/packages/backend/src/models/entities/DriveFolder.ts +++ b/packages/backend/src/models/entities/DriveFolder.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/Emoji.ts b/packages/backend/src/models/entities/Emoji.ts index 8fd3e65f5e..a871b57bfd 100644 --- a/packages/backend/src/models/entities/Emoji.ts +++ b/packages/backend/src/models/entities/Emoji.ts @@ -1,3 +1,7 @@ +// 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 4ccc908a6a..31e4b8b482 100644 --- a/packages/backend/src/models/entities/Flash.ts +++ b/packages/backend/src/models/entities/Flash.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/FlashLike.ts b/packages/backend/src/models/entities/FlashLike.ts index 81d39191ca..dc2949b559 100644 --- a/packages/backend/src/models/entities/FlashLike.ts +++ b/packages/backend/src/models/entities/FlashLike.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/FollowRequest.ts b/packages/backend/src/models/entities/FollowRequest.ts index 0988e7e504..21283c8b82 100644 --- a/packages/backend/src/models/entities/FollowRequest.ts +++ b/packages/backend/src/models/entities/FollowRequest.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/Following.ts b/packages/backend/src/models/entities/Following.ts index 112afd7e6e..9b1a86fdf7 100644 --- a/packages/backend/src/models/entities/Following.ts +++ b/packages/backend/src/models/entities/Following.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/GalleryLike.ts b/packages/backend/src/models/entities/GalleryLike.ts index cc54b528e9..fca13fb2d4 100644 --- a/packages/backend/src/models/entities/GalleryLike.ts +++ b/packages/backend/src/models/entities/GalleryLike.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/GalleryPost.ts b/packages/backend/src/models/entities/GalleryPost.ts index 36e879afa7..910a09a644 100644 --- a/packages/backend/src/models/entities/GalleryPost.ts +++ b/packages/backend/src/models/entities/GalleryPost.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/Hashtag.ts b/packages/backend/src/models/entities/Hashtag.ts index 2d6bfaa045..98780ce1cd 100644 --- a/packages/backend/src/models/entities/Hashtag.ts +++ b/packages/backend/src/models/entities/Hashtag.ts @@ -1,3 +1,7 @@ +// 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'; import type { User } from './User.js'; diff --git a/packages/backend/src/models/entities/Instance.ts b/packages/backend/src/models/entities/Instance.ts index 09328b57f8..76dffe76ee 100644 --- a/packages/backend/src/models/entities/Instance.ts +++ b/packages/backend/src/models/entities/Instance.ts @@ -1,3 +1,7 @@ +// 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 7bb1b67712..58300b953f 100644 --- a/packages/backend/src/models/entities/Meta.ts +++ b/packages/backend/src/models/entities/Meta.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/ModerationLog.ts b/packages/backend/src/models/entities/ModerationLog.ts index ab6a226cf7..0a0e382ba0 100644 --- a/packages/backend/src/models/entities/ModerationLog.ts +++ b/packages/backend/src/models/entities/ModerationLog.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/MutedNote.ts b/packages/backend/src/models/entities/MutedNote.ts index 78347d8917..bdec0201a2 100644 --- a/packages/backend/src/models/entities/MutedNote.ts +++ b/packages/backend/src/models/entities/MutedNote.ts @@ -1,3 +1,7 @@ +// 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'; import { mutedNoteReasons } from '../../types.js'; diff --git a/packages/backend/src/models/entities/Muting.ts b/packages/backend/src/models/entities/Muting.ts index bf5498b96a..ee53f693b6 100644 --- a/packages/backend/src/models/entities/Muting.ts +++ b/packages/backend/src/models/entities/Muting.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/Note.ts b/packages/backend/src/models/entities/Note.ts index 4f49a05950..2a4df4b29d 100644 --- a/packages/backend/src/models/entities/Note.ts +++ b/packages/backend/src/models/entities/Note.ts @@ -1,3 +1,7 @@ +// 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'; import { noteVisibilities } from '../../types.js'; diff --git a/packages/backend/src/models/entities/NoteFavorite.ts b/packages/backend/src/models/entities/NoteFavorite.ts index 80c97cb531..540f4c4b25 100644 --- a/packages/backend/src/models/entities/NoteFavorite.ts +++ b/packages/backend/src/models/entities/NoteFavorite.ts @@ -1,3 +1,7 @@ +// 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'; import { Note } from './Note.js'; diff --git a/packages/backend/src/models/entities/NoteReaction.ts b/packages/backend/src/models/entities/NoteReaction.ts index c3c381af56..b09673f23d 100644 --- a/packages/backend/src/models/entities/NoteReaction.ts +++ b/packages/backend/src/models/entities/NoteReaction.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/NoteThreadMuting.ts b/packages/backend/src/models/entities/NoteThreadMuting.ts index 3c884fe615..9bf2d678d7 100644 --- a/packages/backend/src/models/entities/NoteThreadMuting.ts +++ b/packages/backend/src/models/entities/NoteThreadMuting.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/NoteUnread.ts b/packages/backend/src/models/entities/NoteUnread.ts index af91234d0f..865b1aa544 100644 --- a/packages/backend/src/models/entities/NoteUnread.ts +++ b/packages/backend/src/models/entities/NoteUnread.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/Notification.ts b/packages/backend/src/models/entities/Notification.ts index aa6f997124..b160b1ddbb 100644 --- a/packages/backend/src/models/entities/Notification.ts +++ b/packages/backend/src/models/entities/Notification.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { notificationTypes } from '@/types.js'; import { User } from './User.js'; import { Note } from './Note.js'; diff --git a/packages/backend/src/models/entities/Page.ts b/packages/backend/src/models/entities/Page.ts index 6078bc1bc7..2eb15983bc 100644 --- a/packages/backend/src/models/entities/Page.ts +++ b/packages/backend/src/models/entities/Page.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/PageLike.ts b/packages/backend/src/models/entities/PageLike.ts index f8c5943a3e..36380c7fe7 100644 --- a/packages/backend/src/models/entities/PageLike.ts +++ b/packages/backend/src/models/entities/PageLike.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/PasswordResetRequest.ts b/packages/backend/src/models/entities/PasswordResetRequest.ts index 939fcc460f..41cd37c6fb 100644 --- a/packages/backend/src/models/entities/PasswordResetRequest.ts +++ b/packages/backend/src/models/entities/PasswordResetRequest.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/Poll.ts b/packages/backend/src/models/entities/Poll.ts index ee1d646020..52de923dc9 100644 --- a/packages/backend/src/models/entities/Poll.ts +++ b/packages/backend/src/models/entities/Poll.ts @@ -1,3 +1,7 @@ +// 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'; import { noteVisibilities } from '../../types.js'; diff --git a/packages/backend/src/models/entities/PollVote.ts b/packages/backend/src/models/entities/PollVote.ts index d447a7be8f..9828a630cb 100644 --- a/packages/backend/src/models/entities/PollVote.ts +++ b/packages/backend/src/models/entities/PollVote.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/PromoNote.ts b/packages/backend/src/models/entities/PromoNote.ts index 958008338a..0a285694b5 100644 --- a/packages/backend/src/models/entities/PromoNote.ts +++ b/packages/backend/src/models/entities/PromoNote.ts @@ -1,3 +1,7 @@ +// 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'; import { Note } from './Note.js'; diff --git a/packages/backend/src/models/entities/PromoRead.ts b/packages/backend/src/models/entities/PromoRead.ts index 27f5d0dc11..8f99818606 100644 --- a/packages/backend/src/models/entities/PromoRead.ts +++ b/packages/backend/src/models/entities/PromoRead.ts @@ -1,3 +1,7 @@ +// 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'; import { Note } from './Note.js'; diff --git a/packages/backend/src/models/entities/RegistrationTicket.ts b/packages/backend/src/models/entities/RegistrationTicket.ts index 4c42b20be8..84dbf1f31b 100644 --- a/packages/backend/src/models/entities/RegistrationTicket.ts +++ b/packages/backend/src/models/entities/RegistrationTicket.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/RegistryItem.ts b/packages/backend/src/models/entities/RegistryItem.ts index 670a236ea0..9ee024d91b 100644 --- a/packages/backend/src/models/entities/RegistryItem.ts +++ b/packages/backend/src/models/entities/RegistryItem.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/Relay.ts b/packages/backend/src/models/entities/Relay.ts index 94d1929574..3b515376da 100644 --- a/packages/backend/src/models/entities/Relay.ts +++ b/packages/backend/src/models/entities/Relay.ts @@ -1,3 +1,7 @@ +// 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 2f803a5fa8..402c440a8a 100644 --- a/packages/backend/src/models/entities/RenoteMuting.ts +++ b/packages/backend/src/models/entities/RenoteMuting.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/RetentionAggregation.ts b/packages/backend/src/models/entities/RetentionAggregation.ts index c7bf38b3af..4a74b614d0 100644 --- a/packages/backend/src/models/entities/RetentionAggregation.ts +++ b/packages/backend/src/models/entities/RetentionAggregation.ts @@ -1,3 +1,7 @@ +// 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'; import type { User } from './User.js'; diff --git a/packages/backend/src/models/entities/Role.ts b/packages/backend/src/models/entities/Role.ts index 61f40d59da..fb90cba410 100644 --- a/packages/backend/src/models/entities/Role.ts +++ b/packages/backend/src/models/entities/Role.ts @@ -1,3 +1,7 @@ +// 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 972810940f..c487695688 100644 --- a/packages/backend/src/models/entities/RoleAssignment.ts +++ b/packages/backend/src/models/entities/RoleAssignment.ts @@ -1,3 +1,7 @@ +// 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'; import { Role } from './Role.js'; diff --git a/packages/backend/src/models/entities/Signin.ts b/packages/backend/src/models/entities/Signin.ts index 380bf028a6..ae8d745b2d 100644 --- a/packages/backend/src/models/entities/Signin.ts +++ b/packages/backend/src/models/entities/Signin.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/SwSubscription.ts b/packages/backend/src/models/entities/SwSubscription.ts index 0658294983..2d296dced8 100644 --- a/packages/backend/src/models/entities/SwSubscription.ts +++ b/packages/backend/src/models/entities/SwSubscription.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/UsedUsername.ts b/packages/backend/src/models/entities/UsedUsername.ts index eb90bef6ca..72d940f839 100644 --- a/packages/backend/src/models/entities/UsedUsername.ts +++ b/packages/backend/src/models/entities/UsedUsername.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { PrimaryColumn, Entity, Column } from 'typeorm'; @Entity() diff --git a/packages/backend/src/models/entities/User.ts b/packages/backend/src/models/entities/User.ts index 6669890cf6..0ec0810d30 100644 --- a/packages/backend/src/models/entities/User.ts +++ b/packages/backend/src/models/entities/User.ts @@ -1,3 +1,7 @@ +// 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'; import { DriveFile } from './DriveFile.js'; diff --git a/packages/backend/src/models/entities/UserIp.ts b/packages/backend/src/models/entities/UserIp.ts index 628e3d0361..3074ad7991 100644 --- a/packages/backend/src/models/entities/UserIp.ts +++ b/packages/backend/src/models/entities/UserIp.ts @@ -1,3 +1,7 @@ +// 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'; import type { User } from './User.js'; diff --git a/packages/backend/src/models/entities/UserKeypair.ts b/packages/backend/src/models/entities/UserKeypair.ts index 3cd02d3c4f..d073c24aaf 100644 --- a/packages/backend/src/models/entities/UserKeypair.ts +++ b/packages/backend/src/models/entities/UserKeypair.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/UserList.ts b/packages/backend/src/models/entities/UserList.ts index 94f3dc3cb3..a9be31d286 100644 --- a/packages/backend/src/models/entities/UserList.ts +++ b/packages/backend/src/models/entities/UserList.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/UserListFavorite.ts b/packages/backend/src/models/entities/UserListFavorite.ts index e57abb460a..1c68e8f21d 100644 --- a/packages/backend/src/models/entities/UserListFavorite.ts +++ b/packages/backend/src/models/entities/UserListFavorite.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/UserListJoining.ts b/packages/backend/src/models/entities/UserListJoining.ts index a40793a3e8..8f792b43a8 100644 --- a/packages/backend/src/models/entities/UserListJoining.ts +++ b/packages/backend/src/models/entities/UserListJoining.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/UserMemo.ts b/packages/backend/src/models/entities/UserMemo.ts index 7dc34b4346..45d1853cba 100644 --- a/packages/backend/src/models/entities/UserMemo.ts +++ b/packages/backend/src/models/entities/UserMemo.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/UserNotePining.ts b/packages/backend/src/models/entities/UserNotePining.ts index fee95d4f7d..05bcd82c7e 100644 --- a/packages/backend/src/models/entities/UserNotePining.ts +++ b/packages/backend/src/models/entities/UserNotePining.ts @@ -1,3 +1,7 @@ +// 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'; import { Note } from './Note.js'; diff --git a/packages/backend/src/models/entities/UserPending.ts b/packages/backend/src/models/entities/UserPending.ts index 7637948841..16f106e6a0 100644 --- a/packages/backend/src/models/entities/UserPending.ts +++ b/packages/backend/src/models/entities/UserPending.ts @@ -1,3 +1,7 @@ +// 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 c4ed9db9bb..d33ddd5aa1 100644 --- a/packages/backend/src/models/entities/UserProfile.ts +++ b/packages/backend/src/models/entities/UserProfile.ts @@ -1,3 +1,7 @@ +// 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'; import { id } from '../id.js'; diff --git a/packages/backend/src/models/entities/UserPublickey.ts b/packages/backend/src/models/entities/UserPublickey.ts index 7b505e5b4c..3911909198 100644 --- a/packages/backend/src/models/entities/UserPublickey.ts +++ b/packages/backend/src/models/entities/UserPublickey.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/UserSecurityKey.ts b/packages/backend/src/models/entities/UserSecurityKey.ts index 947692a32b..7eaa6d5874 100644 --- a/packages/backend/src/models/entities/UserSecurityKey.ts +++ b/packages/backend/src/models/entities/UserSecurityKey.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/entities/Webhook.ts b/packages/backend/src/models/entities/Webhook.ts index eabb604de9..bf06dc4e3c 100644 --- a/packages/backend/src/models/entities/Webhook.ts +++ b/packages/backend/src/models/entities/Webhook.ts @@ -1,3 +1,7 @@ +// 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'; import { User } from './User.js'; diff --git a/packages/backend/src/models/id.ts b/packages/backend/src/models/id.ts index d614fc5048..089d886907 100644 --- a/packages/backend/src/models/id.ts +++ b/packages/backend/src/models/id.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export const id = () => ({ type: 'varchar' as const, length: 32, diff --git a/packages/backend/src/models/index.ts b/packages/backend/src/models/index.ts index 627281df73..84e66ccd01 100644 --- a/packages/backend/src/models/index.ts +++ b/packages/backend/src/models/index.ts @@ -1,3 +1,7 @@ +// 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'; import { Ad } from '@/models/entities/Ad.js'; diff --git a/packages/backend/src/models/json-schema/antenna.ts b/packages/backend/src/models/json-schema/antenna.ts index 4483510610..efa9c44f98 100644 --- a/packages/backend/src/models/json-schema/antenna.ts +++ b/packages/backend/src/models/json-schema/antenna.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export const packedAntennaSchema = { type: 'object', properties: { diff --git a/packages/backend/src/models/json-schema/app.ts b/packages/backend/src/models/json-schema/app.ts index c80dc81c33..cf4bd1697d 100644 --- a/packages/backend/src/models/json-schema/app.ts +++ b/packages/backend/src/models/json-schema/app.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export const packedAppSchema = { type: 'object', properties: { diff --git a/packages/backend/src/models/json-schema/blocking.ts b/packages/backend/src/models/json-schema/blocking.ts index 5532322420..b8596201fd 100644 --- a/packages/backend/src/models/json-schema/blocking.ts +++ b/packages/backend/src/models/json-schema/blocking.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export const packedBlockingSchema = { type: 'object', properties: { diff --git a/packages/backend/src/models/json-schema/channel.ts b/packages/backend/src/models/json-schema/channel.ts index fd61a70c0e..c7d1f87135 100644 --- a/packages/backend/src/models/json-schema/channel.ts +++ b/packages/backend/src/models/json-schema/channel.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export const packedChannelSchema = { type: 'object', properties: { diff --git a/packages/backend/src/models/json-schema/clip.ts b/packages/backend/src/models/json-schema/clip.ts index 7310e59013..ad0f3d0dc8 100644 --- a/packages/backend/src/models/json-schema/clip.ts +++ b/packages/backend/src/models/json-schema/clip.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export const packedClipSchema = { type: 'object', properties: { diff --git a/packages/backend/src/models/json-schema/drive-file.ts b/packages/backend/src/models/json-schema/drive-file.ts index 4359076612..3d1acce22f 100644 --- a/packages/backend/src/models/json-schema/drive-file.ts +++ b/packages/backend/src/models/json-schema/drive-file.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export const packedDriveFileSchema = { type: 'object', properties: { diff --git a/packages/backend/src/models/json-schema/drive-folder.ts b/packages/backend/src/models/json-schema/drive-folder.ts index 88cb8ab4a2..636712c9a9 100644 --- a/packages/backend/src/models/json-schema/drive-folder.ts +++ b/packages/backend/src/models/json-schema/drive-folder.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export const packedDriveFolderSchema = { type: 'object', properties: { diff --git a/packages/backend/src/models/json-schema/emoji.ts b/packages/backend/src/models/json-schema/emoji.ts index 63f56e77cb..89a824d95d 100644 --- a/packages/backend/src/models/json-schema/emoji.ts +++ b/packages/backend/src/models/json-schema/emoji.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export const packedEmojiSimpleSchema = { type: 'object', properties: { diff --git a/packages/backend/src/models/json-schema/federation-instance.ts b/packages/backend/src/models/json-schema/federation-instance.ts index 42d93dfac9..0f259af803 100644 --- a/packages/backend/src/models/json-schema/federation-instance.ts +++ b/packages/backend/src/models/json-schema/federation-instance.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export const packedFederationInstanceSchema = { type: 'object', properties: { diff --git a/packages/backend/src/models/json-schema/flash.ts b/packages/backend/src/models/json-schema/flash.ts index 8471a138ec..b76c3b926d 100644 --- a/packages/backend/src/models/json-schema/flash.ts +++ b/packages/backend/src/models/json-schema/flash.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export const packedFlashSchema = { type: 'object', properties: { diff --git a/packages/backend/src/models/json-schema/following.ts b/packages/backend/src/models/json-schema/following.ts index 2bcffbfc4d..34a83c5b0f 100644 --- a/packages/backend/src/models/json-schema/following.ts +++ b/packages/backend/src/models/json-schema/following.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export const packedFollowingSchema = { type: 'object', properties: { diff --git a/packages/backend/src/models/json-schema/gallery-post.ts b/packages/backend/src/models/json-schema/gallery-post.ts index fc503d4a64..ff36f399a0 100644 --- a/packages/backend/src/models/json-schema/gallery-post.ts +++ b/packages/backend/src/models/json-schema/gallery-post.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export const packedGalleryPostSchema = { type: 'object', properties: { diff --git a/packages/backend/src/models/json-schema/hashtag.ts b/packages/backend/src/models/json-schema/hashtag.ts index 98f8827640..9ffa2dabfe 100644 --- a/packages/backend/src/models/json-schema/hashtag.ts +++ b/packages/backend/src/models/json-schema/hashtag.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export const packedHashtagSchema = { type: 'object', properties: { diff --git a/packages/backend/src/models/json-schema/invite-code.ts b/packages/backend/src/models/json-schema/invite-code.ts index b70a779f29..ad42169375 100644 --- a/packages/backend/src/models/json-schema/invite-code.ts +++ b/packages/backend/src/models/json-schema/invite-code.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export const packedInviteCodeSchema = { type: 'object', properties: { diff --git a/packages/backend/src/models/json-schema/muting.ts b/packages/backend/src/models/json-schema/muting.ts index 3ab99e17e7..72f75eeb23 100644 --- a/packages/backend/src/models/json-schema/muting.ts +++ b/packages/backend/src/models/json-schema/muting.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export const packedMutingSchema = { type: 'object', properties: { diff --git a/packages/backend/src/models/json-schema/note-favorite.ts b/packages/backend/src/models/json-schema/note-favorite.ts index d133f7367d..842e001930 100644 --- a/packages/backend/src/models/json-schema/note-favorite.ts +++ b/packages/backend/src/models/json-schema/note-favorite.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export const packedNoteFavoriteSchema = { type: 'object', properties: { diff --git a/packages/backend/src/models/json-schema/note-reaction.ts b/packages/backend/src/models/json-schema/note-reaction.ts index 0d8fc5449b..150c23f109 100644 --- a/packages/backend/src/models/json-schema/note-reaction.ts +++ b/packages/backend/src/models/json-schema/note-reaction.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export const packedNoteReactionSchema = { type: 'object', properties: { diff --git a/packages/backend/src/models/json-schema/note.ts b/packages/backend/src/models/json-schema/note.ts index 58ef425dcd..9c8ea97c8b 100644 --- a/packages/backend/src/models/json-schema/note.ts +++ b/packages/backend/src/models/json-schema/note.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export const packedNoteSchema = { type: 'object', properties: { diff --git a/packages/backend/src/models/json-schema/notification.ts b/packages/backend/src/models/json-schema/notification.ts index e88ca61ba0..efc14e12b0 100644 --- a/packages/backend/src/models/json-schema/notification.ts +++ b/packages/backend/src/models/json-schema/notification.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { notificationTypes } from '@/types.js'; export const packedNotificationSchema = { diff --git a/packages/backend/src/models/json-schema/page.ts b/packages/backend/src/models/json-schema/page.ts index 55ba3ce7f7..21106b0450 100644 --- a/packages/backend/src/models/json-schema/page.ts +++ b/packages/backend/src/models/json-schema/page.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export const packedPageSchema = { type: 'object', properties: { diff --git a/packages/backend/src/models/json-schema/queue.ts b/packages/backend/src/models/json-schema/queue.ts index 7ceeda26af..b26e5f58d3 100644 --- a/packages/backend/src/models/json-schema/queue.ts +++ b/packages/backend/src/models/json-schema/queue.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export const packedQueueCountSchema = { type: 'object', properties: { diff --git a/packages/backend/src/models/json-schema/renote-muting.ts b/packages/backend/src/models/json-schema/renote-muting.ts index 69ed8510da..bba6e38dfe 100644 --- a/packages/backend/src/models/json-schema/renote-muting.ts +++ b/packages/backend/src/models/json-schema/renote-muting.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export const packedRenoteMutingSchema = { type: 'object', properties: { diff --git a/packages/backend/src/models/json-schema/user-list.ts b/packages/backend/src/models/json-schema/user-list.ts index 1e620516e4..9682857ed2 100644 --- a/packages/backend/src/models/json-schema/user-list.ts +++ b/packages/backend/src/models/json-schema/user-list.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export const packedUserListSchema = { type: 'object', properties: { diff --git a/packages/backend/src/models/json-schema/user.ts b/packages/backend/src/models/json-schema/user.ts index f9a20ac398..053f9f2aaf 100644 --- a/packages/backend/src/models/json-schema/user.ts +++ b/packages/backend/src/models/json-schema/user.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + export const packedUserLiteSchema = { type: 'object', properties: { diff --git a/packages/backend/src/postgres.ts b/packages/backend/src/postgres.ts index 488979c409..2ebefc0da4 100644 --- a/packages/backend/src/postgres.ts +++ b/packages/backend/src/postgres.ts @@ -1,3 +1,7 @@ +// 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'; pg.types.setTypeParser(20, Number); diff --git a/packages/backend/src/queue/QueueLoggerService.ts b/packages/backend/src/queue/QueueLoggerService.ts index 648af893c2..123a54c907 100644 --- a/packages/backend/src/queue/QueueLoggerService.ts +++ b/packages/backend/src/queue/QueueLoggerService.ts @@ -1,3 +1,7 @@ +// 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'; import { LoggerService } from '@/core/LoggerService.js'; diff --git a/packages/backend/src/queue/QueueProcessorModule.ts b/packages/backend/src/queue/QueueProcessorModule.ts index e1c6b93d9b..4b16b14a52 100644 --- a/packages/backend/src/queue/QueueProcessorModule.ts +++ b/packages/backend/src/queue/QueueProcessorModule.ts @@ -1,3 +1,7 @@ +// 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'; import { GlobalModule } from '@/GlobalModule.js'; diff --git a/packages/backend/src/queue/QueueProcessorService.ts b/packages/backend/src/queue/QueueProcessorService.ts index f575b1718e..ba21e2d4b8 100644 --- a/packages/backend/src/queue/QueueProcessorService.ts +++ b/packages/backend/src/queue/QueueProcessorService.ts @@ -1,3 +1,7 @@ +// 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'; import type { Config } from '@/config.js'; diff --git a/packages/backend/src/queue/const.ts b/packages/backend/src/queue/const.ts index d49951a1c3..1b61767037 100644 --- a/packages/backend/src/queue/const.ts +++ b/packages/backend/src/queue/const.ts @@ -1,3 +1,7 @@ +// 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'; diff --git a/packages/backend/src/queue/processors/AggregateRetentionProcessorService.ts b/packages/backend/src/queue/processors/AggregateRetentionProcessorService.ts index 600ce0828f..f7a95cbaff 100644 --- a/packages/backend/src/queue/processors/AggregateRetentionProcessorService.ts +++ b/packages/backend/src/queue/processors/AggregateRetentionProcessorService.ts @@ -1,3 +1,7 @@ +// 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'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/queue/processors/CheckExpiredMutingsProcessorService.ts b/packages/backend/src/queue/processors/CheckExpiredMutingsProcessorService.ts index c4ee212bab..40ec8f3f5e 100644 --- a/packages/backend/src/queue/processors/CheckExpiredMutingsProcessorService.ts +++ b/packages/backend/src/queue/processors/CheckExpiredMutingsProcessorService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import { In } from 'typeorm'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/queue/processors/CleanChartsProcessorService.ts b/packages/backend/src/queue/processors/CleanChartsProcessorService.ts index 22d7c1b4fb..8e0b0f5e7a 100644 --- a/packages/backend/src/queue/processors/CleanChartsProcessorService.ts +++ b/packages/backend/src/queue/processors/CleanChartsProcessorService.ts @@ -1,3 +1,7 @@ +// 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'; import type { Config } from '@/config.js'; diff --git a/packages/backend/src/queue/processors/CleanProcessorService.ts b/packages/backend/src/queue/processors/CleanProcessorService.ts index cefa6da5e9..3d16e9105b 100644 --- a/packages/backend/src/queue/processors/CleanProcessorService.ts +++ b/packages/backend/src/queue/processors/CleanProcessorService.ts @@ -1,3 +1,7 @@ +// 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'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/queue/processors/CleanRemoteFilesProcessorService.ts b/packages/backend/src/queue/processors/CleanRemoteFilesProcessorService.ts index 6f887089eb..b1838f5e03 100644 --- a/packages/backend/src/queue/processors/CleanRemoteFilesProcessorService.ts +++ b/packages/backend/src/queue/processors/CleanRemoteFilesProcessorService.ts @@ -1,3 +1,7 @@ +// 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'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/queue/processors/DeleteAccountProcessorService.ts b/packages/backend/src/queue/processors/DeleteAccountProcessorService.ts index 3b7db5f05c..f5213d6382 100644 --- a/packages/backend/src/queue/processors/DeleteAccountProcessorService.ts +++ b/packages/backend/src/queue/processors/DeleteAccountProcessorService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import { MoreThan } from 'typeorm'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/queue/processors/DeleteDriveFilesProcessorService.ts b/packages/backend/src/queue/processors/DeleteDriveFilesProcessorService.ts index 07e3762330..186b173c8c 100644 --- a/packages/backend/src/queue/processors/DeleteDriveFilesProcessorService.ts +++ b/packages/backend/src/queue/processors/DeleteDriveFilesProcessorService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import { MoreThan } from 'typeorm'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/queue/processors/DeleteFileProcessorService.ts b/packages/backend/src/queue/processors/DeleteFileProcessorService.ts index edf87bd921..5001cc1686 100644 --- a/packages/backend/src/queue/processors/DeleteFileProcessorService.ts +++ b/packages/backend/src/queue/processors/DeleteFileProcessorService.ts @@ -1,3 +1,7 @@ +// 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'; import type { Config } from '@/config.js'; diff --git a/packages/backend/src/queue/processors/DeliverProcessorService.ts b/packages/backend/src/queue/processors/DeliverProcessorService.ts index 406e9df850..7987d4f91d 100644 --- a/packages/backend/src/queue/processors/DeliverProcessorService.ts +++ b/packages/backend/src/queue/processors/DeliverProcessorService.ts @@ -1,3 +1,7 @@ +// 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'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/queue/processors/EndedPollNotificationProcessorService.ts b/packages/backend/src/queue/processors/EndedPollNotificationProcessorService.ts index 21501592f2..3facc7e848 100644 --- a/packages/backend/src/queue/processors/EndedPollNotificationProcessorService.ts +++ b/packages/backend/src/queue/processors/EndedPollNotificationProcessorService.ts @@ -1,3 +1,7 @@ +// 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'; import type { PollVotesRepository, NotesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/queue/processors/ExportAntennasProcessorService.ts b/packages/backend/src/queue/processors/ExportAntennasProcessorService.ts index 21c0bfe80e..b44e2401b7 100644 --- a/packages/backend/src/queue/processors/ExportAntennasProcessorService.ts +++ b/packages/backend/src/queue/processors/ExportAntennasProcessorService.ts @@ -1,3 +1,7 @@ +// 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'; import { format as DateFormat } from 'date-fns'; diff --git a/packages/backend/src/queue/processors/ExportBlockingProcessorService.ts b/packages/backend/src/queue/processors/ExportBlockingProcessorService.ts index d100c6d09f..a2379ebb7d 100644 --- a/packages/backend/src/queue/processors/ExportBlockingProcessorService.ts +++ b/packages/backend/src/queue/processors/ExportBlockingProcessorService.ts @@ -1,3 +1,7 @@ +// 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'; import { MoreThan } from 'typeorm'; diff --git a/packages/backend/src/queue/processors/ExportCustomEmojisProcessorService.ts b/packages/backend/src/queue/processors/ExportCustomEmojisProcessorService.ts index 3203d9f3e5..4655a905d4 100644 --- a/packages/backend/src/queue/processors/ExportCustomEmojisProcessorService.ts +++ b/packages/backend/src/queue/processors/ExportCustomEmojisProcessorService.ts @@ -1,3 +1,7 @@ +// 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'; import { IsNull } from 'typeorm'; diff --git a/packages/backend/src/queue/processors/ExportFavoritesProcessorService.ts b/packages/backend/src/queue/processors/ExportFavoritesProcessorService.ts index 2be42b1a7a..30dc196eca 100644 --- a/packages/backend/src/queue/processors/ExportFavoritesProcessorService.ts +++ b/packages/backend/src/queue/processors/ExportFavoritesProcessorService.ts @@ -1,3 +1,7 @@ +// 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'; import { MoreThan } from 'typeorm'; diff --git a/packages/backend/src/queue/processors/ExportFollowingProcessorService.ts b/packages/backend/src/queue/processors/ExportFollowingProcessorService.ts index d54e5e0b34..08fdfcf24f 100644 --- a/packages/backend/src/queue/processors/ExportFollowingProcessorService.ts +++ b/packages/backend/src/queue/processors/ExportFollowingProcessorService.ts @@ -1,3 +1,7 @@ +// 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'; import { In, MoreThan, Not } from 'typeorm'; diff --git a/packages/backend/src/queue/processors/ExportMutingProcessorService.ts b/packages/backend/src/queue/processors/ExportMutingProcessorService.ts index 030e38931e..4e04dc03a9 100644 --- a/packages/backend/src/queue/processors/ExportMutingProcessorService.ts +++ b/packages/backend/src/queue/processors/ExportMutingProcessorService.ts @@ -1,3 +1,7 @@ +// 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'; import { IsNull, MoreThan } from 'typeorm'; diff --git a/packages/backend/src/queue/processors/ExportNotesProcessorService.ts b/packages/backend/src/queue/processors/ExportNotesProcessorService.ts index 94c81a3cf8..bd563f6909 100644 --- a/packages/backend/src/queue/processors/ExportNotesProcessorService.ts +++ b/packages/backend/src/queue/processors/ExportNotesProcessorService.ts @@ -1,3 +1,7 @@ +// 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'; import { MoreThan } from 'typeorm'; diff --git a/packages/backend/src/queue/processors/ExportUserListsProcessorService.ts b/packages/backend/src/queue/processors/ExportUserListsProcessorService.ts index ec63358053..f72e44d44a 100644 --- a/packages/backend/src/queue/processors/ExportUserListsProcessorService.ts +++ b/packages/backend/src/queue/processors/ExportUserListsProcessorService.ts @@ -1,3 +1,7 @@ +// 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'; import { In } from 'typeorm'; diff --git a/packages/backend/src/queue/processors/ImportAntennasProcessorService.ts b/packages/backend/src/queue/processors/ImportAntennasProcessorService.ts index 74ef20fdd8..466b8510c5 100644 --- a/packages/backend/src/queue/processors/ImportAntennasProcessorService.ts +++ b/packages/backend/src/queue/processors/ImportAntennasProcessorService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Injectable, Inject } from '@nestjs/common'; import _Ajv from 'ajv'; import { IdService } from '@/core/IdService.js'; diff --git a/packages/backend/src/queue/processors/ImportBlockingProcessorService.ts b/packages/backend/src/queue/processors/ImportBlockingProcessorService.ts index 2f1a9e5b03..cdc4456418 100644 --- a/packages/backend/src/queue/processors/ImportBlockingProcessorService.ts +++ b/packages/backend/src/queue/processors/ImportBlockingProcessorService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import { IsNull } from 'typeorm'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/queue/processors/ImportCustomEmojisProcessorService.ts b/packages/backend/src/queue/processors/ImportCustomEmojisProcessorService.ts index 37b929cb03..f3f1edab0a 100644 --- a/packages/backend/src/queue/processors/ImportCustomEmojisProcessorService.ts +++ b/packages/backend/src/queue/processors/ImportCustomEmojisProcessorService.ts @@ -1,3 +1,7 @@ +// 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'; import { ZipReader } from 'slacc'; diff --git a/packages/backend/src/queue/processors/ImportFollowingProcessorService.ts b/packages/backend/src/queue/processors/ImportFollowingProcessorService.ts index 15bee9672e..7f30999e04 100644 --- a/packages/backend/src/queue/processors/ImportFollowingProcessorService.ts +++ b/packages/backend/src/queue/processors/ImportFollowingProcessorService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import { IsNull } from 'typeorm'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/queue/processors/ImportMutingProcessorService.ts b/packages/backend/src/queue/processors/ImportMutingProcessorService.ts index 723935cd31..b4eaad0bb8 100644 --- a/packages/backend/src/queue/processors/ImportMutingProcessorService.ts +++ b/packages/backend/src/queue/processors/ImportMutingProcessorService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import { IsNull } from 'typeorm'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/queue/processors/ImportUserListsProcessorService.ts b/packages/backend/src/queue/processors/ImportUserListsProcessorService.ts index 824ee8157a..c34f0b9730 100644 --- a/packages/backend/src/queue/processors/ImportUserListsProcessorService.ts +++ b/packages/backend/src/queue/processors/ImportUserListsProcessorService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import { IsNull } from 'typeorm'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/queue/processors/InboxProcessorService.ts b/packages/backend/src/queue/processors/InboxProcessorService.ts index ce1d7aaa1b..66bbce5a8d 100644 --- a/packages/backend/src/queue/processors/InboxProcessorService.ts +++ b/packages/backend/src/queue/processors/InboxProcessorService.ts @@ -1,3 +1,7 @@ +// 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'; import httpSignature from '@peertube/http-signature'; diff --git a/packages/backend/src/queue/processors/RelationshipProcessorService.ts b/packages/backend/src/queue/processors/RelationshipProcessorService.ts index 816c5fc5ec..9bc5f24516 100644 --- a/packages/backend/src/queue/processors/RelationshipProcessorService.ts +++ b/packages/backend/src/queue/processors/RelationshipProcessorService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import { UserFollowingService } from '@/core/UserFollowingService.js'; diff --git a/packages/backend/src/queue/processors/ResyncChartsProcessorService.ts b/packages/backend/src/queue/processors/ResyncChartsProcessorService.ts index eab8e1e68d..800c67e74b 100644 --- a/packages/backend/src/queue/processors/ResyncChartsProcessorService.ts +++ b/packages/backend/src/queue/processors/ResyncChartsProcessorService.ts @@ -1,3 +1,7 @@ +// 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'; import type { Config } from '@/config.js'; diff --git a/packages/backend/src/queue/processors/TickChartsProcessorService.ts b/packages/backend/src/queue/processors/TickChartsProcessorService.ts index f1696bf567..50e1d519d1 100644 --- a/packages/backend/src/queue/processors/TickChartsProcessorService.ts +++ b/packages/backend/src/queue/processors/TickChartsProcessorService.ts @@ -1,3 +1,7 @@ +// 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'; import type { Config } from '@/config.js'; diff --git a/packages/backend/src/queue/processors/WebhookDeliverProcessorService.ts b/packages/backend/src/queue/processors/WebhookDeliverProcessorService.ts index 25e91761ef..c6783f3f32 100644 --- a/packages/backend/src/queue/processors/WebhookDeliverProcessorService.ts +++ b/packages/backend/src/queue/processors/WebhookDeliverProcessorService.ts @@ -1,3 +1,7 @@ +// 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'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/queue/types.ts b/packages/backend/src/queue/types.ts index 776dd3aa12..9bd55d40f5 100644 --- a/packages/backend/src/queue/types.ts +++ b/packages/backend/src/queue/types.ts @@ -1,3 +1,7 @@ +// 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'; import type { Note } from '@/models/entities/Note.js'; diff --git a/packages/backend/src/server/ActivityPubServerService.ts b/packages/backend/src/server/ActivityPubServerService.ts index 634f5f0a4e..2815869a10 100644 --- a/packages/backend/src/server/ActivityPubServerService.ts +++ b/packages/backend/src/server/ActivityPubServerService.ts @@ -1,3 +1,7 @@ +// 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'; import fastifyAccepts from '@fastify/accepts'; diff --git a/packages/backend/src/server/FileServerService.ts b/packages/backend/src/server/FileServerService.ts index 2547d73365..ea7ecf5236 100644 --- a/packages/backend/src/server/FileServerService.ts +++ b/packages/backend/src/server/FileServerService.ts @@ -1,3 +1,7 @@ +// 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'; import { dirname } from 'node:path'; diff --git a/packages/backend/src/server/NodeinfoServerService.ts b/packages/backend/src/server/NodeinfoServerService.ts index 666a91fcee..846f8e67f2 100644 --- a/packages/backend/src/server/NodeinfoServerService.ts +++ b/packages/backend/src/server/NodeinfoServerService.ts @@ -1,3 +1,7 @@ +// 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'; import type { NotesRepository, UsersRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/ServerModule.ts b/packages/backend/src/server/ServerModule.ts index da86b2c1d3..840d383315 100644 --- a/packages/backend/src/server/ServerModule.ts +++ b/packages/backend/src/server/ServerModule.ts @@ -1,3 +1,7 @@ +// 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'; import { CoreModule } from '@/core/CoreModule.js'; diff --git a/packages/backend/src/server/ServerService.ts b/packages/backend/src/server/ServerService.ts index 051920958e..6f9eac96d9 100644 --- a/packages/backend/src/server/ServerService.ts +++ b/packages/backend/src/server/ServerService.ts @@ -1,3 +1,7 @@ +// 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'; import { fileURLToPath } from 'node:url'; diff --git a/packages/backend/src/server/WellKnownServerService.ts b/packages/backend/src/server/WellKnownServerService.ts index aabe631fb2..4780c12dd6 100644 --- a/packages/backend/src/server/WellKnownServerService.ts +++ b/packages/backend/src/server/WellKnownServerService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import { IsNull } from 'typeorm'; import vary from 'vary'; diff --git a/packages/backend/src/server/api/ApiCallService.ts b/packages/backend/src/server/api/ApiCallService.ts index c4c02e7afe..548c1e2fee 100644 --- a/packages/backend/src/server/api/ApiCallService.ts +++ b/packages/backend/src/server/api/ApiCallService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { randomUUID } from 'node:crypto'; import { pipeline } from 'node:stream'; 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 7f534b1efd..08bc320973 100644 --- a/packages/backend/src/server/api/ApiLoggerService.ts +++ b/packages/backend/src/server/api/ApiLoggerService.ts @@ -1,3 +1,7 @@ +// 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'; import { LoggerService } from '@/core/LoggerService.js'; diff --git a/packages/backend/src/server/api/ApiServerService.ts b/packages/backend/src/server/api/ApiServerService.ts index d3b1c7786d..a8551c7cdb 100644 --- a/packages/backend/src/server/api/ApiServerService.ts +++ b/packages/backend/src/server/api/ApiServerService.ts @@ -1,3 +1,7 @@ +// 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'; import multipart from '@fastify/multipart'; diff --git a/packages/backend/src/server/api/AuthenticateService.ts b/packages/backend/src/server/api/AuthenticateService.ts index 8b0fff80d9..5340a6dd1e 100644 --- a/packages/backend/src/server/api/AuthenticateService.ts +++ b/packages/backend/src/server/api/AuthenticateService.ts @@ -1,3 +1,7 @@ +// 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'; import type { AccessTokensRepository, AppsRepository, UsersRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/EndpointsModule.ts b/packages/backend/src/server/api/EndpointsModule.ts index 4e6bc46e67..c97ca6548b 100644 --- a/packages/backend/src/server/api/EndpointsModule.ts +++ b/packages/backend/src/server/api/EndpointsModule.ts @@ -1,3 +1,7 @@ +// 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/server/api/GetterService.ts b/packages/backend/src/server/api/GetterService.ts index c94884a78c..bc483793f4 100644 --- a/packages/backend/src/server/api/GetterService.ts +++ b/packages/backend/src/server/api/GetterService.ts @@ -1,3 +1,7 @@ +// 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'; import type { NotesRepository, UsersRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/RateLimiterService.ts b/packages/backend/src/server/api/RateLimiterService.ts index f6ffbfab50..c4210306d7 100644 --- a/packages/backend/src/server/api/RateLimiterService.ts +++ b/packages/backend/src/server/api/RateLimiterService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import Limiter from 'ratelimiter'; import * as Redis from 'ioredis'; diff --git a/packages/backend/src/server/api/SigninApiService.ts b/packages/backend/src/server/api/SigninApiService.ts index bd3d8a28da..07025bc996 100644 --- a/packages/backend/src/server/api/SigninApiService.ts +++ b/packages/backend/src/server/api/SigninApiService.ts @@ -1,3 +1,7 @@ +// 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'; import bcrypt from 'bcryptjs'; diff --git a/packages/backend/src/server/api/SigninService.ts b/packages/backend/src/server/api/SigninService.ts index 96666f1f49..9c888f370d 100644 --- a/packages/backend/src/server/api/SigninService.ts +++ b/packages/backend/src/server/api/SigninService.ts @@ -1,3 +1,7 @@ +// 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'; import type { SigninsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/SignupApiService.ts b/packages/backend/src/server/api/SignupApiService.ts index 7b215cea79..1dbf099c34 100644 --- a/packages/backend/src/server/api/SignupApiService.ts +++ b/packages/backend/src/server/api/SignupApiService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import bcrypt from 'bcryptjs'; import { IsNull } from 'typeorm'; diff --git a/packages/backend/src/server/api/StreamingApiServerService.ts b/packages/backend/src/server/api/StreamingApiServerService.ts index e4291becf0..a774bdab23 100644 --- a/packages/backend/src/server/api/StreamingApiServerService.ts +++ b/packages/backend/src/server/api/StreamingApiServerService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { EventEmitter } from 'events'; import { Inject, Injectable } from '@nestjs/common'; import * as Redis from 'ioredis'; diff --git a/packages/backend/src/server/api/endpoint-base.ts b/packages/backend/src/server/api/endpoint-base.ts index 364fa7a19b..a18c6a7907 100644 --- a/packages/backend/src/server/api/endpoint-base.ts +++ b/packages/backend/src/server/api/endpoint-base.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import * as fs from 'node:fs'; import _Ajv from 'ajv'; import type { Schema, SchemaType } from '@/misc/json-schema.js'; diff --git a/packages/backend/src/server/api/endpoints.ts b/packages/backend/src/server/api/endpoints.ts index 41c3a29eec..b1cb397939 100644 --- a/packages/backend/src/server/api/endpoints.ts +++ b/packages/backend/src/server/api/endpoints.ts @@ -1,3 +1,7 @@ +// 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 b8ea74b7c5..fd6b2d09de 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,3 +1,7 @@ +// 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'; import type { AbuseUserReportsRepository } from '@/models/index.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 8a3541dffe..903aac3ae6 100644 --- a/packages/backend/src/server/api/endpoints/admin/accounts/create.ts +++ b/packages/backend/src/server/api/endpoints/admin/accounts/create.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import { IsNull } from 'typeorm'; import { Endpoint } from '@/server/api/endpoint-base.js'; 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 16232813a8..c0005fea66 100644 --- a/packages/backend/src/server/api/endpoints/admin/accounts/delete.ts +++ b/packages/backend/src/server/api/endpoints/admin/accounts/delete.ts @@ -1,3 +1,7 @@ +// 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'; import type { UsersRepository } from '@/models/index.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 757030839e..56da73738c 100644 --- a/packages/backend/src/server/api/endpoints/admin/ad/create.ts +++ b/packages/backend/src/server/api/endpoints/admin/ad/create.ts @@ -1,3 +1,7 @@ +// 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'; import type { AdsRepository } from '@/models/index.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 f4c9885408..59fe9b380c 100644 --- a/packages/backend/src/server/api/endpoints/admin/ad/delete.ts +++ b/packages/backend/src/server/api/endpoints/admin/ad/delete.ts @@ -1,3 +1,7 @@ +// 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'; import type { AdsRepository } from '@/models/index.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 725ddb58be..578fa45710 100644 --- a/packages/backend/src/server/api/endpoints/admin/ad/list.ts +++ b/packages/backend/src/server/api/endpoints/admin/ad/list.ts @@ -1,3 +1,7 @@ +// 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'; import type { AdsRepository } from '@/models/index.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 70082290ba..aa5cf327c2 100644 --- a/packages/backend/src/server/api/endpoints/admin/ad/update.ts +++ b/packages/backend/src/server/api/endpoints/admin/ad/update.ts @@ -1,3 +1,7 @@ +// 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'; import type { AdsRepository } from '@/models/index.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 751b6be7f4..8873901fd0 100644 --- a/packages/backend/src/server/api/endpoints/admin/announcements/create.ts +++ b/packages/backend/src/server/api/endpoints/admin/announcements/create.ts @@ -1,3 +1,7 @@ +// 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'; import type { AnnouncementsRepository } from '@/models/index.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 18d50b8b2a..e5ac2b00ce 100644 --- a/packages/backend/src/server/api/endpoints/admin/announcements/delete.ts +++ b/packages/backend/src/server/api/endpoints/admin/announcements/delete.ts @@ -1,3 +1,7 @@ +// 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'; import type { AnnouncementsRepository } from '@/models/index.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 11231f6e04..63bcd31d97 100644 --- a/packages/backend/src/server/api/endpoints/admin/announcements/list.ts +++ b/packages/backend/src/server/api/endpoints/admin/announcements/list.ts @@ -1,3 +1,7 @@ +// 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'; import type { Announcement } from '@/models/entities/Announcement.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 8cf9341a71..787fc48bdb 100644 --- a/packages/backend/src/server/api/endpoints/admin/announcements/update.ts +++ b/packages/backend/src/server/api/endpoints/admin/announcements/update.ts @@ -1,3 +1,7 @@ +// 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'; import type { AnnouncementsRepository } from '@/models/index.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 d0485fddd8..4e85bc2b40 100644 --- a/packages/backend/src/server/api/endpoints/admin/delete-account.ts +++ b/packages/backend/src/server/api/endpoints/admin/delete-account.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.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 c193ed3fb3..0b1be4ec2a 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,3 +1,7 @@ +// 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'; import type { DriveFilesRepository } from '@/models/index.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 a8964af449..4bc2a407ec 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,3 +1,7 @@ +// 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'; import { QueueService } from '@/core/QueueService.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 4f7e02fe92..dd7b91e097 100644 --- a/packages/backend/src/server/api/endpoints/admin/drive/cleanup.ts +++ b/packages/backend/src/server/api/endpoints/admin/drive/cleanup.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { IsNull } from 'typeorm'; 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/files.ts b/packages/backend/src/server/api/endpoints/admin/drive/files.ts index 2901fdb774..544d7b0b5b 100644 --- a/packages/backend/src/server/api/endpoints/admin/drive/files.ts +++ b/packages/backend/src/server/api/endpoints/admin/drive/files.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.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 1d27ac2137..35d1df23b4 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,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.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 6e604ed885..0adb57f606 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,3 +1,7 @@ +// 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'; import { CustomEmojiService } from '@/core/CustomEmojiService.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 200ede0b06..b0900886ef 100644 --- a/packages/backend/src/server/api/endpoints/admin/emoji/add.ts +++ b/packages/backend/src/server/api/endpoints/admin/emoji/add.ts @@ -1,3 +1,7 @@ +// 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'; import type { DriveFilesRepository } from '@/models/index.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 82dca9cc70..f5d2acd0e2 100644 --- a/packages/backend/src/server/api/endpoints/admin/emoji/copy.ts +++ b/packages/backend/src/server/api/endpoints/admin/emoji/copy.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import { DataSource } from 'typeorm'; import { Endpoint } from '@/server/api/endpoint-base.js'; 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 9f8263629b..080afd6cca 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,3 +1,7 @@ +// 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'; import { CustomEmojiService } from '@/core/CustomEmojiService.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 429c819fe0..e781a8f419 100644 --- a/packages/backend/src/server/api/endpoints/admin/emoji/delete.ts +++ b/packages/backend/src/server/api/endpoints/admin/emoji/delete.ts @@ -1,3 +1,7 @@ +// 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'; import { CustomEmojiService } from '@/core/CustomEmojiService.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 e26f0506ce..daa5cc7a9a 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,3 +1,7 @@ +// 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'; import { QueueService } from '@/core/QueueService.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 8d50413e95..93c5c06fbc 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,3 +1,7 @@ +// 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'; import type { EmojisRepository } from '@/models/index.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 29b20fab86..ca3a4af88c 100644 --- a/packages/backend/src/server/api/endpoints/admin/emoji/list.ts +++ b/packages/backend/src/server/api/endpoints/admin/emoji/list.ts @@ -1,3 +1,7 @@ +// 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'; import type { EmojisRepository } from '@/models/index.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 83f882cac5..d1a59f7e76 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,3 +1,7 @@ +// 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'; import { CustomEmojiService } from '@/core/CustomEmojiService.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 1d3a432bb7..5136f90985 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,3 +1,7 @@ +// 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'; import { CustomEmojiService } from '@/core/CustomEmojiService.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 453968c7a9..83047d5b7f 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,3 +1,7 @@ +// 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'; import { CustomEmojiService } from '@/core/CustomEmojiService.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 b90b9757be..d0dc26e917 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,3 +1,7 @@ +// 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'; import { CustomEmojiService } from '@/core/CustomEmojiService.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 edc1af5a53..cc222ffefb 100644 --- a/packages/backend/src/server/api/endpoints/admin/emoji/update.ts +++ b/packages/backend/src/server/api/endpoints/admin/emoji/update.ts @@ -1,3 +1,7 @@ +// 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'; import { CustomEmojiService } from '@/core/CustomEmojiService.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 38fe99b222..f49a91a9d7 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,3 +1,7 @@ +// 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'; import type { DriveFilesRepository } from '@/models/index.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 b7f2858a77..2d442f92ee 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,3 +1,7 @@ +// 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'; import type { InstancesRepository } from '@/models/index.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 83f729953a..b0f80e19da 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,3 +1,7 @@ +// 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'; import type { FollowingsRepository, UsersRepository } from '@/models/index.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 4fd74e591d..739c78402b 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,3 +1,7 @@ +// 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'; import type { InstancesRepository } from '@/models/index.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 8ffd2b01e7..08e31c67f5 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,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import { DataSource } from 'typeorm'; import { Endpoint } from '@/server/api/endpoint-base.js'; 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 09d61bd741..c492f1c40b 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,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import { DataSource } from 'typeorm'; import { Endpoint } from '@/server/api/endpoint-base.js'; 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 bfcc8a700b..9ebd4b511b 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,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.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 664b4d819f..77898ce722 100644 --- a/packages/backend/src/server/api/endpoints/admin/invite/create.ts +++ b/packages/backend/src/server/api/endpoints/admin/invite/create.ts @@ -1,3 +1,7 @@ +// 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'; import type { RegistrationTicketsRepository } from '@/models/index.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 5d7a7f632c..24eef4ef1a 100644 --- a/packages/backend/src/server/api/endpoints/admin/invite/list.ts +++ b/packages/backend/src/server/api/endpoints/admin/invite/list.ts @@ -1,3 +1,7 @@ +// 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'; import type { RegistrationTicketsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/admin/meta.ts b/packages/backend/src/server/api/endpoints/admin/meta.ts index 084bdb598b..6f2fdb9cbe 100644 --- a/packages/backend/src/server/api/endpoints/admin/meta.ts +++ b/packages/backend/src/server/api/endpoints/admin/meta.ts @@ -1,3 +1,7 @@ +// 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'; import { MetaService } from '@/core/MetaService.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 8401cf51d9..45bf2fdfe6 100644 --- a/packages/backend/src/server/api/endpoints/admin/promo/create.ts +++ b/packages/backend/src/server/api/endpoints/admin/promo/create.ts @@ -1,3 +1,7 @@ +// 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'; import type { PromoNotesRepository } from '@/models/index.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 099e2ff220..9fa93c2115 100644 --- a/packages/backend/src/server/api/endpoints/admin/queue/clear.ts +++ b/packages/backend/src/server/api/endpoints/admin/queue/clear.ts @@ -1,3 +1,7 @@ +// 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'; import { ModerationLogService } from '@/core/ModerationLogService.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 9442bda5eb..eb0e447473 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,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; 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 55a3410d49..a6ec84528a 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,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; 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 8330d6c82f..c7f95e9c8e 100644 --- a/packages/backend/src/server/api/endpoints/admin/queue/promote.ts +++ b/packages/backend/src/server/api/endpoints/admin/queue/promote.ts @@ -1,3 +1,7 @@ +// 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'; import { ModerationLogService } from '@/core/ModerationLogService.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 7f3732c970..c2fb1e1628 100644 --- a/packages/backend/src/server/api/endpoints/admin/queue/stats.ts +++ b/packages/backend/src/server/api/endpoints/admin/queue/stats.ts @@ -1,3 +1,7 @@ +// 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'; import type { DbQueue, DeliverQueue, EndedPollNotificationQueue, InboxQueue, ObjectStorageQueue, SystemQueue, WebhookDeliverQueue } from '@/core/QueueModule.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 f2d4aa8996..b1793d768e 100644 --- a/packages/backend/src/server/api/endpoints/admin/relays/add.ts +++ b/packages/backend/src/server/api/endpoints/admin/relays/add.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { URL } from 'node:url'; import { Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; 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 910c90e78e..cbec0f97ab 100644 --- a/packages/backend/src/server/api/endpoints/admin/relays/list.ts +++ b/packages/backend/src/server/api/endpoints/admin/relays/list.ts @@ -1,3 +1,7 @@ +// 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'; import { RelayService } from '@/core/RelayService.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 5e26f61fa7..0971308023 100644 --- a/packages/backend/src/server/api/endpoints/admin/relays/remove.ts +++ b/packages/backend/src/server/api/endpoints/admin/relays/remove.ts @@ -1,3 +1,7 @@ +// 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'; import { RelayService } from '@/core/RelayService.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 e9c3b0e69f..a1aa49b5b8 100644 --- a/packages/backend/src/server/api/endpoints/admin/reset-password.ts +++ b/packages/backend/src/server/api/endpoints/admin/reset-password.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import bcrypt from 'bcryptjs'; import { Endpoint } from '@/server/api/endpoint-base.js'; 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 aead894611..e02f43dc8f 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,3 +1,7 @@ +// 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'; import type { UsersRepository, AbuseUserReportsRepository } from '@/models/index.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 b80aaba122..ac0c834ecd 100644 --- a/packages/backend/src/server/api/endpoints/admin/roles/assign.ts +++ b/packages/backend/src/server/api/endpoints/admin/roles/assign.ts @@ -1,3 +1,7 @@ +// 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'; import type { RolesRepository, UsersRepository } from '@/models/index.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 916172f54a..f76c645b64 100644 --- a/packages/backend/src/server/api/endpoints/admin/roles/create.ts +++ b/packages/backend/src/server/api/endpoints/admin/roles/create.ts @@ -1,3 +1,7 @@ +// 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'; import type { RolesRepository } from '@/models/index.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 b56ebdb3ee..69a8947cd5 100644 --- a/packages/backend/src/server/api/endpoints/admin/roles/delete.ts +++ b/packages/backend/src/server/api/endpoints/admin/roles/delete.ts @@ -1,3 +1,7 @@ +// 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'; import type { RolesRepository } from '@/models/index.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 edaf638ea9..918bce71fd 100644 --- a/packages/backend/src/server/api/endpoints/admin/roles/list.ts +++ b/packages/backend/src/server/api/endpoints/admin/roles/list.ts @@ -1,3 +1,7 @@ +// 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'; import type { RolesRepository } from '@/models/index.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 01028a086f..10e51aa919 100644 --- a/packages/backend/src/server/api/endpoints/admin/roles/show.ts +++ b/packages/backend/src/server/api/endpoints/admin/roles/show.ts @@ -1,3 +1,7 @@ +// 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'; import type { RolesRepository } from '@/models/index.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 45c4f76943..9686ee54ed 100644 --- a/packages/backend/src/server/api/endpoints/admin/roles/unassign.ts +++ b/packages/backend/src/server/api/endpoints/admin/roles/unassign.ts @@ -1,3 +1,7 @@ +// 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'; import type { RolesRepository, UsersRepository } from '@/models/index.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 5a34eee96c..da45e358b5 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,3 +1,7 @@ +// 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'; import { GlobalEventService } from '@/core/GlobalEventService.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 1fedab4540..79ddf399d7 100644 --- a/packages/backend/src/server/api/endpoints/admin/roles/update.ts +++ b/packages/backend/src/server/api/endpoints/admin/roles/update.ts @@ -1,3 +1,7 @@ +// 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'; import type { RolesRepository } from '@/models/index.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 63650bb2bf..159994495a 100644 --- a/packages/backend/src/server/api/endpoints/admin/roles/users.ts +++ b/packages/backend/src/server/api/endpoints/admin/roles/users.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import { Brackets } from 'typeorm'; import type { RoleAssignmentsRepository, RolesRepository } from '@/models/index.js'; 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 5ddc62f476..864ad48a25 100644 --- a/packages/backend/src/server/api/endpoints/admin/send-email.ts +++ b/packages/backend/src/server/api/endpoints/admin/send-email.ts @@ -1,3 +1,7 @@ +// 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'; import { EmailService } from '@/core/EmailService.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 4ef4fdc665..cbcc12218e 100644 --- a/packages/backend/src/server/api/endpoints/admin/server-info.ts +++ b/packages/backend/src/server/api/endpoints/admin/server-info.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import * as os from 'node:os'; import si from 'systeminformation'; import { Inject, Injectable } from '@nestjs/common'; 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 69c95ef19c..00748140f8 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,3 +1,7 @@ +// 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'; import type { ModerationLogsRepository } from '@/models/index.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 6f805b6b4e..3539f845bc 100644 --- a/packages/backend/src/server/api/endpoints/admin/show-user.ts +++ b/packages/backend/src/server/api/endpoints/admin/show-user.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.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 0a150d1dfd..63b4cbad2a 100644 --- a/packages/backend/src/server/api/endpoints/admin/show-users.ts +++ b/packages/backend/src/server/api/endpoints/admin/show-users.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.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 eabbceac0e..a0a00d2499 100644 --- a/packages/backend/src/server/api/endpoints/admin/suspend-user.ts +++ b/packages/backend/src/server/api/endpoints/admin/suspend-user.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; 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 2805c21a74..ff2a9e7be6 100644 --- a/packages/backend/src/server/api/endpoints/admin/unsuspend-user.ts +++ b/packages/backend/src/server/api/endpoints/admin/unsuspend-user.ts @@ -1,3 +1,7 @@ +// 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'; import type { UsersRepository } from '@/models/index.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 144360a921..fca394ea3b 100644 --- a/packages/backend/src/server/api/endpoints/admin/update-meta.ts +++ b/packages/backend/src/server/api/endpoints/admin/update-meta.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import { DataSource } from 'typeorm'; import type { Meta } from '@/models/entities/Meta.js'; 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 33808ee70f..697e4c827e 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,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/announcements.ts b/packages/backend/src/server/api/endpoints/announcements.ts index 735af51ee2..43dfe2640a 100644 --- a/packages/backend/src/server/api/endpoints/announcements.ts +++ b/packages/backend/src/server/api/endpoints/announcements.ts @@ -1,3 +1,7 @@ +// 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'; import { QueryService } from '@/core/QueryService.js'; diff --git a/packages/backend/src/server/api/endpoints/antennas/create.ts b/packages/backend/src/server/api/endpoints/antennas/create.ts index 5754a9f12a..21f5e20e34 100644 --- a/packages/backend/src/server/api/endpoints/antennas/create.ts +++ b/packages/backend/src/server/api/endpoints/antennas/create.ts @@ -1,3 +1,7 @@ +// 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'; import { IdService } from '@/core/IdService.js'; diff --git a/packages/backend/src/server/api/endpoints/antennas/delete.ts b/packages/backend/src/server/api/endpoints/antennas/delete.ts index 5da7a2cb66..c2a1880f1f 100644 --- a/packages/backend/src/server/api/endpoints/antennas/delete.ts +++ b/packages/backend/src/server/api/endpoints/antennas/delete.ts @@ -1,3 +1,7 @@ +// 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'; import type { AntennasRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/antennas/list.ts b/packages/backend/src/server/api/endpoints/antennas/list.ts index a0f8979574..17714bbe24 100644 --- a/packages/backend/src/server/api/endpoints/antennas/list.ts +++ b/packages/backend/src/server/api/endpoints/antennas/list.ts @@ -1,3 +1,7 @@ +// 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'; import type { AntennasRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/antennas/notes.ts b/packages/backend/src/server/api/endpoints/antennas/notes.ts index 2c4247cb70..5b1f347563 100644 --- a/packages/backend/src/server/api/endpoints/antennas/notes.ts +++ b/packages/backend/src/server/api/endpoints/antennas/notes.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/antennas/show.ts b/packages/backend/src/server/api/endpoints/antennas/show.ts index ef7ed5b72c..c2b50e4879 100644 --- a/packages/backend/src/server/api/endpoints/antennas/show.ts +++ b/packages/backend/src/server/api/endpoints/antennas/show.ts @@ -1,3 +1,7 @@ +// 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'; import type { AntennasRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/antennas/update.ts b/packages/backend/src/server/api/endpoints/antennas/update.ts index 55218b644b..941c59b439 100644 --- a/packages/backend/src/server/api/endpoints/antennas/update.ts +++ b/packages/backend/src/server/api/endpoints/antennas/update.ts @@ -1,3 +1,7 @@ +// 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'; import type { AntennasRepository, UserListsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/ap/get.ts b/packages/backend/src/server/api/endpoints/ap/get.ts index c45a86761c..09043f7bd3 100644 --- a/packages/backend/src/server/api/endpoints/ap/get.ts +++ b/packages/backend/src/server/api/endpoints/ap/get.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Injectable } from '@nestjs/common'; import ms from 'ms'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/ap/show.ts b/packages/backend/src/server/api/endpoints/ap/show.ts index a103d4196a..3eda7f7a95 100644 --- a/packages/backend/src/server/api/endpoints/ap/show.ts +++ b/packages/backend/src/server/api/endpoints/ap/show.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import ms from 'ms'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/app/create.ts b/packages/backend/src/server/api/endpoints/app/create.ts index aaef02d03f..4bc96f2a53 100644 --- a/packages/backend/src/server/api/endpoints/app/create.ts +++ b/packages/backend/src/server/api/endpoints/app/create.ts @@ -1,3 +1,7 @@ +// 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'; import type { AppsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/app/show.ts b/packages/backend/src/server/api/endpoints/app/show.ts index eaafa8dc1b..39acc7f7fb 100644 --- a/packages/backend/src/server/api/endpoints/app/show.ts +++ b/packages/backend/src/server/api/endpoints/app/show.ts @@ -1,3 +1,7 @@ +// 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'; import type { AppsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/auth/accept.ts b/packages/backend/src/server/api/endpoints/auth/accept.ts index aa199ab730..a24bf8b14a 100644 --- a/packages/backend/src/server/api/endpoints/auth/accept.ts +++ b/packages/backend/src/server/api/endpoints/auth/accept.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; 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 631fb4f024..8d7a5d49ac 100644 --- a/packages/backend/src/server/api/endpoints/auth/session/generate.ts +++ b/packages/backend/src/server/api/endpoints/auth/session/generate.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; 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 db3bf7aa63..f4ae07aa92 100644 --- a/packages/backend/src/server/api/endpoints/auth/session/show.ts +++ b/packages/backend/src/server/api/endpoints/auth/session/show.ts @@ -1,3 +1,7 @@ +// 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'; import type { AuthSessionsRepository } from '@/models/index.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 b1e7bbfded..cef5740df7 100644 --- a/packages/backend/src/server/api/endpoints/auth/session/userkey.ts +++ b/packages/backend/src/server/api/endpoints/auth/session/userkey.ts @@ -1,3 +1,7 @@ +// 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'; import type { UsersRepository, AppsRepository, AccessTokensRepository, AuthSessionsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/blocking/create.ts b/packages/backend/src/server/api/endpoints/blocking/create.ts index 4ad40c8f1c..958a6362d3 100644 --- a/packages/backend/src/server/api/endpoints/blocking/create.ts +++ b/packages/backend/src/server/api/endpoints/blocking/create.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import ms from 'ms'; import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/blocking/delete.ts b/packages/backend/src/server/api/endpoints/blocking/delete.ts index ad3d9f22b3..16e9ac3d8c 100644 --- a/packages/backend/src/server/api/endpoints/blocking/delete.ts +++ b/packages/backend/src/server/api/endpoints/blocking/delete.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import ms from 'ms'; import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/blocking/list.ts b/packages/backend/src/server/api/endpoints/blocking/list.ts index d61bb0d214..32974840a4 100644 --- a/packages/backend/src/server/api/endpoints/blocking/list.ts +++ b/packages/backend/src/server/api/endpoints/blocking/list.ts @@ -1,3 +1,7 @@ +// 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'; import type { BlockingsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/channels/create.ts b/packages/backend/src/server/api/endpoints/channels/create.ts index 69e2f2504c..912ae919fe 100644 --- a/packages/backend/src/server/api/endpoints/channels/create.ts +++ b/packages/backend/src/server/api/endpoints/channels/create.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import ms from 'ms'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/channels/favorite.ts b/packages/backend/src/server/api/endpoints/channels/favorite.ts index c8544273a1..07c2773970 100644 --- a/packages/backend/src/server/api/endpoints/channels/favorite.ts +++ b/packages/backend/src/server/api/endpoints/channels/favorite.ts @@ -1,3 +1,7 @@ +// 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'; import type { ChannelFavoritesRepository, ChannelsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/channels/featured.ts b/packages/backend/src/server/api/endpoints/channels/featured.ts index 953f027aa2..078e0620b7 100644 --- a/packages/backend/src/server/api/endpoints/channels/featured.ts +++ b/packages/backend/src/server/api/endpoints/channels/featured.ts @@ -1,3 +1,7 @@ +// 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'; import type { ChannelsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/channels/follow.ts b/packages/backend/src/server/api/endpoints/channels/follow.ts index f3ca66cfd2..1583ab577b 100644 --- a/packages/backend/src/server/api/endpoints/channels/follow.ts +++ b/packages/backend/src/server/api/endpoints/channels/follow.ts @@ -1,3 +1,7 @@ +// 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'; import type { ChannelFollowingsRepository, ChannelsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/channels/followed.ts b/packages/backend/src/server/api/endpoints/channels/followed.ts index a1656903aa..8dabf4fbd6 100644 --- a/packages/backend/src/server/api/endpoints/channels/followed.ts +++ b/packages/backend/src/server/api/endpoints/channels/followed.ts @@ -1,3 +1,7 @@ +// 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'; import type { ChannelFollowingsRepository } from '@/models/index.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 60525ed060..72539cc437 100644 --- a/packages/backend/src/server/api/endpoints/channels/my-favorites.ts +++ b/packages/backend/src/server/api/endpoints/channels/my-favorites.ts @@ -1,3 +1,7 @@ +// 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'; import type { ChannelFavoritesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/channels/owned.ts b/packages/backend/src/server/api/endpoints/channels/owned.ts index 4561bb2e94..9c914aabca 100644 --- a/packages/backend/src/server/api/endpoints/channels/owned.ts +++ b/packages/backend/src/server/api/endpoints/channels/owned.ts @@ -1,3 +1,7 @@ +// 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'; import type { ChannelsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/channels/search.ts b/packages/backend/src/server/api/endpoints/channels/search.ts index dfb6937964..3a052c445c 100644 --- a/packages/backend/src/server/api/endpoints/channels/search.ts +++ b/packages/backend/src/server/api/endpoints/channels/search.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import { Brackets } from 'typeorm'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/channels/show.ts b/packages/backend/src/server/api/endpoints/channels/show.ts index 070d14631e..64f359941c 100644 --- a/packages/backend/src/server/api/endpoints/channels/show.ts +++ b/packages/backend/src/server/api/endpoints/channels/show.ts @@ -1,3 +1,7 @@ +// 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'; import type { ChannelsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/channels/timeline.ts b/packages/backend/src/server/api/endpoints/channels/timeline.ts index e3119cc40f..aa6cf43f3e 100644 --- a/packages/backend/src/server/api/endpoints/channels/timeline.ts +++ b/packages/backend/src/server/api/endpoints/channels/timeline.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/channels/unfavorite.ts b/packages/backend/src/server/api/endpoints/channels/unfavorite.ts index 67fb1ea03e..db529e9ea6 100644 --- a/packages/backend/src/server/api/endpoints/channels/unfavorite.ts +++ b/packages/backend/src/server/api/endpoints/channels/unfavorite.ts @@ -1,3 +1,7 @@ +// 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'; import type { ChannelFavoritesRepository, ChannelsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/channels/unfollow.ts b/packages/backend/src/server/api/endpoints/channels/unfollow.ts index f46ff9f286..81f78adbdc 100644 --- a/packages/backend/src/server/api/endpoints/channels/unfollow.ts +++ b/packages/backend/src/server/api/endpoints/channels/unfollow.ts @@ -1,3 +1,7 @@ +// 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'; import type { ChannelFollowingsRepository, ChannelsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/channels/update.ts b/packages/backend/src/server/api/endpoints/channels/update.ts index 30d7f8b244..2df1780cae 100644 --- a/packages/backend/src/server/api/endpoints/channels/update.ts +++ b/packages/backend/src/server/api/endpoints/channels/update.ts @@ -1,3 +1,7 @@ +// 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'; import type { DriveFilesRepository, ChannelsRepository } from '@/models/index.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 2ab58e4309..42dca6f2c1 100644 --- a/packages/backend/src/server/api/endpoints/charts/active-users.ts +++ b/packages/backend/src/server/api/endpoints/charts/active-users.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.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 e40a53d82e..87c1767726 100644 --- a/packages/backend/src/server/api/endpoints/charts/ap-request.ts +++ b/packages/backend/src/server/api/endpoints/charts/ap-request.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/charts/drive.ts b/packages/backend/src/server/api/endpoints/charts/drive.ts index 9a5aff4af9..d54f1cfd8a 100644 --- a/packages/backend/src/server/api/endpoints/charts/drive.ts +++ b/packages/backend/src/server/api/endpoints/charts/drive.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/charts/federation.ts b/packages/backend/src/server/api/endpoints/charts/federation.ts index ed3a968681..c07c4d4f10 100644 --- a/packages/backend/src/server/api/endpoints/charts/federation.ts +++ b/packages/backend/src/server/api/endpoints/charts/federation.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/charts/instance.ts b/packages/backend/src/server/api/endpoints/charts/instance.ts index c992d525c9..4134400fe7 100644 --- a/packages/backend/src/server/api/endpoints/charts/instance.ts +++ b/packages/backend/src/server/api/endpoints/charts/instance.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/charts/notes.ts b/packages/backend/src/server/api/endpoints/charts/notes.ts index 5750cd5b78..acfa737aab 100644 --- a/packages/backend/src/server/api/endpoints/charts/notes.ts +++ b/packages/backend/src/server/api/endpoints/charts/notes.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.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 5e372294b7..25aa1a21ad 100644 --- a/packages/backend/src/server/api/endpoints/charts/user/drive.ts +++ b/packages/backend/src/server/api/endpoints/charts/user/drive.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.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 3f50918fa7..6173a9c8ef 100644 --- a/packages/backend/src/server/api/endpoints/charts/user/following.ts +++ b/packages/backend/src/server/api/endpoints/charts/user/following.ts @@ -1,3 +1,7 @@ +// 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'; import { getJsonSchema } from '@/core/chart/core.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 0517b3283f..d38da17e98 100644 --- a/packages/backend/src/server/api/endpoints/charts/user/notes.ts +++ b/packages/backend/src/server/api/endpoints/charts/user/notes.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.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 8d1a9aee10..f0df333ae3 100644 --- a/packages/backend/src/server/api/endpoints/charts/user/pv.ts +++ b/packages/backend/src/server/api/endpoints/charts/user/pv.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.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 f2ff413195..64b17efef2 100644 --- a/packages/backend/src/server/api/endpoints/charts/user/reactions.ts +++ b/packages/backend/src/server/api/endpoints/charts/user/reactions.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/charts/users.ts b/packages/backend/src/server/api/endpoints/charts/users.ts index 1374f02046..51a17cdee9 100644 --- a/packages/backend/src/server/api/endpoints/charts/users.ts +++ b/packages/backend/src/server/api/endpoints/charts/users.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.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 2837f2cf81..4c75b64071 100644 --- a/packages/backend/src/server/api/endpoints/clips/add-note.ts +++ b/packages/backend/src/server/api/endpoints/clips/add-note.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import ms from 'ms'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/clips/create.ts b/packages/backend/src/server/api/endpoints/clips/create.ts index 5395a5c373..a8f65c9315 100644 --- a/packages/backend/src/server/api/endpoints/clips/create.ts +++ b/packages/backend/src/server/api/endpoints/clips/create.ts @@ -1,3 +1,7 @@ +// 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'; import { IdService } from '@/core/IdService.js'; diff --git a/packages/backend/src/server/api/endpoints/clips/delete.ts b/packages/backend/src/server/api/endpoints/clips/delete.ts index 077a9ec40f..0f36cf7b69 100644 --- a/packages/backend/src/server/api/endpoints/clips/delete.ts +++ b/packages/backend/src/server/api/endpoints/clips/delete.ts @@ -1,3 +1,7 @@ +// 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'; import type { ClipsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/clips/favorite.ts b/packages/backend/src/server/api/endpoints/clips/favorite.ts index ce09855531..af63d8bc76 100644 --- a/packages/backend/src/server/api/endpoints/clips/favorite.ts +++ b/packages/backend/src/server/api/endpoints/clips/favorite.ts @@ -1,3 +1,7 @@ +// 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'; import { IdService } from '@/core/IdService.js'; diff --git a/packages/backend/src/server/api/endpoints/clips/list.ts b/packages/backend/src/server/api/endpoints/clips/list.ts index 3b8deab709..58605ff071 100644 --- a/packages/backend/src/server/api/endpoints/clips/list.ts +++ b/packages/backend/src/server/api/endpoints/clips/list.ts @@ -1,3 +1,7 @@ +// 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'; import type { ClipsRepository } from '@/models/index.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 fc727e93bd..9c4c0e6805 100644 --- a/packages/backend/src/server/api/endpoints/clips/my-favorites.ts +++ b/packages/backend/src/server/api/endpoints/clips/my-favorites.ts @@ -1,3 +1,7 @@ +// 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'; import type { ClipFavoritesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/clips/notes.ts b/packages/backend/src/server/api/endpoints/clips/notes.ts index 49607babee..87fe571e82 100644 --- a/packages/backend/src/server/api/endpoints/clips/notes.ts +++ b/packages/backend/src/server/api/endpoints/clips/notes.ts @@ -1,3 +1,7 @@ +// 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'; import type { NotesRepository, ClipsRepository, ClipNotesRepository } from '@/models/index.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 d0ef795819..33088b6406 100644 --- a/packages/backend/src/server/api/endpoints/clips/remove-note.ts +++ b/packages/backend/src/server/api/endpoints/clips/remove-note.ts @@ -1,3 +1,7 @@ +// 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'; import type { ClipNotesRepository, ClipsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/clips/show.ts b/packages/backend/src/server/api/endpoints/clips/show.ts index 99d630a9b5..aa0aa11bfd 100644 --- a/packages/backend/src/server/api/endpoints/clips/show.ts +++ b/packages/backend/src/server/api/endpoints/clips/show.ts @@ -1,3 +1,7 @@ +// 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'; import type { ClipsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/clips/unfavorite.ts b/packages/backend/src/server/api/endpoints/clips/unfavorite.ts index 3da252a226..378e5bc554 100644 --- a/packages/backend/src/server/api/endpoints/clips/unfavorite.ts +++ b/packages/backend/src/server/api/endpoints/clips/unfavorite.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/clips/update.ts b/packages/backend/src/server/api/endpoints/clips/update.ts index 70f1959353..a486d62e9f 100644 --- a/packages/backend/src/server/api/endpoints/clips/update.ts +++ b/packages/backend/src/server/api/endpoints/clips/update.ts @@ -1,3 +1,7 @@ +// 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'; import type { ClipsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/drive.ts b/packages/backend/src/server/api/endpoints/drive.ts index a6ece0311b..fa6a6b708b 100644 --- a/packages/backend/src/server/api/endpoints/drive.ts +++ b/packages/backend/src/server/api/endpoints/drive.ts @@ -1,3 +1,7 @@ +// 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'; import { MetaService } from '@/core/MetaService.js'; diff --git a/packages/backend/src/server/api/endpoints/drive/files.ts b/packages/backend/src/server/api/endpoints/drive/files.ts index f4343248b8..4a28ed0f86 100644 --- a/packages/backend/src/server/api/endpoints/drive/files.ts +++ b/packages/backend/src/server/api/endpoints/drive/files.ts @@ -1,3 +1,7 @@ +// 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'; import type { DriveFilesRepository } from '@/models/index.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 328d0e4643..c6422f8a28 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,3 +1,7 @@ +// 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'; import type { NotesRepository, DriveFilesRepository } from '@/models/index.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 cdcdde7e8a..603e1ba8e6 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,3 +1,7 @@ +// 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'; import type { DriveFilesRepository } from '@/models/index.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 a1c1f9325e..958ab23004 100644 --- a/packages/backend/src/server/api/endpoints/drive/files/create.ts +++ b/packages/backend/src/server/api/endpoints/drive/files/create.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import ms from 'ms'; import { Inject, Injectable } from '@nestjs/common'; import type { DriveFilesRepository } from '@/models/index.js'; 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 2ced97ee02..6a2db278f9 100644 --- a/packages/backend/src/server/api/endpoints/drive/files/delete.ts +++ b/packages/backend/src/server/api/endpoints/drive/files/delete.ts @@ -1,3 +1,7 @@ +// 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'; import type { DriveFilesRepository } from '@/models/index.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 d6d85f4e77..f0f2092632 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,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.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 858063eb4b..a4a33b5c79 100644 --- a/packages/backend/src/server/api/endpoints/drive/files/find.ts +++ b/packages/backend/src/server/api/endpoints/drive/files/find.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import { IsNull } from 'typeorm'; import { Endpoint } from '@/server/api/endpoint-base.js'; 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 271b33ef4b..634e85293d 100644 --- a/packages/backend/src/server/api/endpoints/drive/files/show.ts +++ b/packages/backend/src/server/api/endpoints/drive/files/show.ts @@ -1,3 +1,7 @@ +// 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'; import type { DriveFilesRepository } from '@/models/index.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 c43f812e2f..01297a1a18 100644 --- a/packages/backend/src/server/api/endpoints/drive/files/update.ts +++ b/packages/backend/src/server/api/endpoints/drive/files/update.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.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 c835587c4a..06ce803baf 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,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import ms from 'ms'; import { Inject, Injectable } from '@nestjs/common'; import type { DriveFilesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/drive/folders.ts b/packages/backend/src/server/api/endpoints/drive/folders.ts index eb674f3e15..c4199e5f59 100644 --- a/packages/backend/src/server/api/endpoints/drive/folders.ts +++ b/packages/backend/src/server/api/endpoints/drive/folders.ts @@ -1,3 +1,7 @@ +// 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'; import type { DriveFoldersRepository } from '@/models/index.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 39c9c6bc58..49ac7afeaf 100644 --- a/packages/backend/src/server/api/endpoints/drive/folders/create.ts +++ b/packages/backend/src/server/api/endpoints/drive/folders/create.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import ms from 'ms'; import { Endpoint } from '@/server/api/endpoint-base.js'; 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 d921bc1b17..481fceaa24 100644 --- a/packages/backend/src/server/api/endpoints/drive/folders/delete.ts +++ b/packages/backend/src/server/api/endpoints/drive/folders/delete.ts @@ -1,3 +1,7 @@ +// 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'; import type { DriveFoldersRepository, DriveFilesRepository } from '@/models/index.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 ee24db11f2..5b3e2fce99 100644 --- a/packages/backend/src/server/api/endpoints/drive/folders/find.ts +++ b/packages/backend/src/server/api/endpoints/drive/folders/find.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import { IsNull } from 'typeorm'; import { Endpoint } from '@/server/api/endpoint-base.js'; 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 c06263b902..d7206a513a 100644 --- a/packages/backend/src/server/api/endpoints/drive/folders/show.ts +++ b/packages/backend/src/server/api/endpoints/drive/folders/show.ts @@ -1,3 +1,7 @@ +// 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'; import type { DriveFoldersRepository } from '@/models/index.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 ff0a78b929..59e6730b80 100644 --- a/packages/backend/src/server/api/endpoints/drive/folders/update.ts +++ b/packages/backend/src/server/api/endpoints/drive/folders/update.ts @@ -1,3 +1,7 @@ +// 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'; import type { DriveFoldersRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/drive/stream.ts b/packages/backend/src/server/api/endpoints/drive/stream.ts index a1c14a8e3f..01978deecb 100644 --- a/packages/backend/src/server/api/endpoints/drive/stream.ts +++ b/packages/backend/src/server/api/endpoints/drive/stream.ts @@ -1,3 +1,7 @@ +// 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'; import type { DriveFilesRepository } from '@/models/index.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 0f13b14d01..34e295f542 100644 --- a/packages/backend/src/server/api/endpoints/email-address/available.ts +++ b/packages/backend/src/server/api/endpoints/email-address/available.ts @@ -1,3 +1,7 @@ +// 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'; import { EmailService } from '@/core/EmailService.js'; diff --git a/packages/backend/src/server/api/endpoints/emoji.ts b/packages/backend/src/server/api/endpoints/emoji.ts index 51027f35c0..fe1227f347 100644 --- a/packages/backend/src/server/api/endpoints/emoji.ts +++ b/packages/backend/src/server/api/endpoints/emoji.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { IsNull } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; import type { EmojisRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/emojis.ts b/packages/backend/src/server/api/endpoints/emojis.ts index 3c2d0ce4a4..f68b6707ae 100644 --- a/packages/backend/src/server/api/endpoints/emojis.ts +++ b/packages/backend/src/server/api/endpoints/emojis.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { IsNull } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; import type { EmojisRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/endpoint.ts b/packages/backend/src/server/api/endpoints/endpoint.ts index b38c97f60a..d6444e2fe0 100644 --- a/packages/backend/src/server/api/endpoints/endpoint.ts +++ b/packages/backend/src/server/api/endpoints/endpoint.ts @@ -1,3 +1,7 @@ +// 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'; import endpoints from '../endpoints.js'; diff --git a/packages/backend/src/server/api/endpoints/endpoints.ts b/packages/backend/src/server/api/endpoints/endpoints.ts index 9e706db747..ef045f4328 100644 --- a/packages/backend/src/server/api/endpoints/endpoints.ts +++ b/packages/backend/src/server/api/endpoints/endpoints.ts @@ -1,3 +1,7 @@ +// 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'; import endpoints from '../endpoints.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 6b6079ad51..fba6fe3b15 100644 --- a/packages/backend/src/server/api/endpoints/export-custom-emojis.ts +++ b/packages/backend/src/server/api/endpoints/export-custom-emojis.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import ms from 'ms'; import { Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/federation/followers.ts b/packages/backend/src/server/api/endpoints/federation/followers.ts index 1b2f9446f8..3f34c71f74 100644 --- a/packages/backend/src/server/api/endpoints/federation/followers.ts +++ b/packages/backend/src/server/api/endpoints/federation/followers.ts @@ -1,3 +1,7 @@ +// 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'; import type { FollowingsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/federation/following.ts b/packages/backend/src/server/api/endpoints/federation/following.ts index c5aa1ec60b..1726eae8ae 100644 --- a/packages/backend/src/server/api/endpoints/federation/following.ts +++ b/packages/backend/src/server/api/endpoints/federation/following.ts @@ -1,3 +1,7 @@ +// 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'; import type { FollowingsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/federation/instances.ts b/packages/backend/src/server/api/endpoints/federation/instances.ts index ddf1a178b1..cc4e820822 100644 --- a/packages/backend/src/server/api/endpoints/federation/instances.ts +++ b/packages/backend/src/server/api/endpoints/federation/instances.ts @@ -1,3 +1,7 @@ +// 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'; import type { InstancesRepository } from '@/models/index.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 66502748b3..30c05e0162 100644 --- a/packages/backend/src/server/api/endpoints/federation/show-instance.ts +++ b/packages/backend/src/server/api/endpoints/federation/show-instance.ts @@ -1,3 +1,7 @@ +// 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'; import type { InstancesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/federation/stats.ts b/packages/backend/src/server/api/endpoints/federation/stats.ts index 19418e698c..8895dccd8e 100644 --- a/packages/backend/src/server/api/endpoints/federation/stats.ts +++ b/packages/backend/src/server/api/endpoints/federation/stats.ts @@ -1,3 +1,7 @@ +// 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'; import type { FollowingsRepository, InstancesRepository } from '@/models/index.js'; 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 4596e0c0b5..056531f31e 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,3 +1,7 @@ +// 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'; import { ApPersonService } from '@/core/activitypub/models/ApPersonService.js'; diff --git a/packages/backend/src/server/api/endpoints/federation/users.ts b/packages/backend/src/server/api/endpoints/federation/users.ts index 06f252005b..8a15ba4d82 100644 --- a/packages/backend/src/server/api/endpoints/federation/users.ts +++ b/packages/backend/src/server/api/endpoints/federation/users.ts @@ -1,3 +1,7 @@ +// 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'; import type { UsersRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/fetch-rss.ts b/packages/backend/src/server/api/endpoints/fetch-rss.ts index 5849d3111f..abc27b7f5a 100644 --- a/packages/backend/src/server/api/endpoints/fetch-rss.ts +++ b/packages/backend/src/server/api/endpoints/fetch-rss.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/flash/create.ts b/packages/backend/src/server/api/endpoints/flash/create.ts index 3172bdbfda..2ca33bc3c9 100644 --- a/packages/backend/src/server/api/endpoints/flash/create.ts +++ b/packages/backend/src/server/api/endpoints/flash/create.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import ms from 'ms'; import { Inject, Injectable } from '@nestjs/common'; import type { FlashsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/flash/delete.ts b/packages/backend/src/server/api/endpoints/flash/delete.ts index e94ede9f68..9914b3e3c6 100644 --- a/packages/backend/src/server/api/endpoints/flash/delete.ts +++ b/packages/backend/src/server/api/endpoints/flash/delete.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/flash/featured.ts b/packages/backend/src/server/api/endpoints/flash/featured.ts index 99c8763b11..0dce7ae890 100644 --- a/packages/backend/src/server/api/endpoints/flash/featured.ts +++ b/packages/backend/src/server/api/endpoints/flash/featured.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/flash/like.ts b/packages/backend/src/server/api/endpoints/flash/like.ts index 57245f9f41..df33d8595e 100644 --- a/packages/backend/src/server/api/endpoints/flash/like.ts +++ b/packages/backend/src/server/api/endpoints/flash/like.ts @@ -1,3 +1,7 @@ +// 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'; import { IdService } from '@/core/IdService.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 7d1149ada9..6559dffd4f 100644 --- a/packages/backend/src/server/api/endpoints/flash/my-likes.ts +++ b/packages/backend/src/server/api/endpoints/flash/my-likes.ts @@ -1,3 +1,7 @@ +// 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'; import type { FlashLikesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/flash/my.ts b/packages/backend/src/server/api/endpoints/flash/my.ts index 45a3b50e08..74142a67bf 100644 --- a/packages/backend/src/server/api/endpoints/flash/my.ts +++ b/packages/backend/src/server/api/endpoints/flash/my.ts @@ -1,3 +1,7 @@ +// 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'; import type { FlashsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/flash/show.ts b/packages/backend/src/server/api/endpoints/flash/show.ts index 14720a8c8d..5f4c913012 100644 --- a/packages/backend/src/server/api/endpoints/flash/show.ts +++ b/packages/backend/src/server/api/endpoints/flash/show.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/flash/unlike.ts b/packages/backend/src/server/api/endpoints/flash/unlike.ts index 696512b06c..3e694b7e1a 100644 --- a/packages/backend/src/server/api/endpoints/flash/unlike.ts +++ b/packages/backend/src/server/api/endpoints/flash/unlike.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/flash/update.ts b/packages/backend/src/server/api/endpoints/flash/update.ts index 78dfd4a06a..f22692895e 100644 --- a/packages/backend/src/server/api/endpoints/flash/update.ts +++ b/packages/backend/src/server/api/endpoints/flash/update.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import ms from 'ms'; import { Inject, Injectable } from '@nestjs/common'; import type { FlashsRepository, DriveFilesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/following/create.ts b/packages/backend/src/server/api/endpoints/following/create.ts index 009fc96f64..88a58443a0 100644 --- a/packages/backend/src/server/api/endpoints/following/create.ts +++ b/packages/backend/src/server/api/endpoints/following/create.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import ms from 'ms'; import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/following/delete.ts b/packages/backend/src/server/api/endpoints/following/delete.ts index 77ef263169..3fa8fe7d96 100644 --- a/packages/backend/src/server/api/endpoints/following/delete.ts +++ b/packages/backend/src/server/api/endpoints/following/delete.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import ms from 'ms'; import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/following/invalidate.ts b/packages/backend/src/server/api/endpoints/following/invalidate.ts index 0e57f6328f..f0be8c2b2f 100644 --- a/packages/backend/src/server/api/endpoints/following/invalidate.ts +++ b/packages/backend/src/server/api/endpoints/following/invalidate.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import ms from 'ms'; 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/accept.ts b/packages/backend/src/server/api/endpoints/following/requests/accept.ts index cca3e60614..78d06054e3 100644 --- a/packages/backend/src/server/api/endpoints/following/requests/accept.ts +++ b/packages/backend/src/server/api/endpoints/following/requests/accept.ts @@ -1,3 +1,7 @@ +// 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'; import { GetterService } from '@/server/api/GetterService.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 7325e73cac..a39f278217 100644 --- a/packages/backend/src/server/api/endpoints/following/requests/cancel.ts +++ b/packages/backend/src/server/api/endpoints/following/requests/cancel.ts @@ -1,3 +1,7 @@ +// 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'; import type { FollowingsRepository } from '@/models/index.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 29588e8731..631c464d39 100644 --- a/packages/backend/src/server/api/endpoints/following/requests/list.ts +++ b/packages/backend/src/server/api/endpoints/following/requests/list.ts @@ -1,3 +1,7 @@ +// 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'; import { QueryService } from '@/core/QueryService.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 a8fdc44876..3b467908c3 100644 --- a/packages/backend/src/server/api/endpoints/following/requests/reject.ts +++ b/packages/backend/src/server/api/endpoints/following/requests/reject.ts @@ -1,3 +1,7 @@ +// 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'; import { GetterService } from '@/server/api/GetterService.js'; diff --git a/packages/backend/src/server/api/endpoints/gallery/featured.ts b/packages/backend/src/server/api/endpoints/gallery/featured.ts index 46347247f0..22f5c5f0ac 100644 --- a/packages/backend/src/server/api/endpoints/gallery/featured.ts +++ b/packages/backend/src/server/api/endpoints/gallery/featured.ts @@ -1,3 +1,7 @@ +// 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'; import type { GalleryPostsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/gallery/popular.ts b/packages/backend/src/server/api/endpoints/gallery/popular.ts index 4ee3d68a92..cf7b85a91c 100644 --- a/packages/backend/src/server/api/endpoints/gallery/popular.ts +++ b/packages/backend/src/server/api/endpoints/gallery/popular.ts @@ -1,3 +1,7 @@ +// 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'; import type { GalleryPostsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/gallery/posts.ts b/packages/backend/src/server/api/endpoints/gallery/posts.ts index b9aac3fb34..93303b46e5 100644 --- a/packages/backend/src/server/api/endpoints/gallery/posts.ts +++ b/packages/backend/src/server/api/endpoints/gallery/posts.ts @@ -1,3 +1,7 @@ +// 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'; import type { GalleryPostsRepository } from '@/models/index.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 ca6bfa7e0f..0a62d3bdb8 100644 --- a/packages/backend/src/server/api/endpoints/gallery/posts/create.ts +++ b/packages/backend/src/server/api/endpoints/gallery/posts/create.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import ms from 'ms'; 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/delete.ts b/packages/backend/src/server/api/endpoints/gallery/posts/delete.ts index 6cdcc17b39..388388ebc0 100644 --- a/packages/backend/src/server/api/endpoints/gallery/posts/delete.ts +++ b/packages/backend/src/server/api/endpoints/gallery/posts/delete.ts @@ -1,3 +1,7 @@ +// 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'; import type { GalleryPostsRepository } from '@/models/index.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 c0bb55f640..00e69c07ea 100644 --- a/packages/backend/src/server/api/endpoints/gallery/posts/like.ts +++ b/packages/backend/src/server/api/endpoints/gallery/posts/like.ts @@ -1,3 +1,7 @@ +// 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'; import type { GalleryLikesRepository, GalleryPostsRepository } from '@/models/index.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 f7e828142b..b11dc7f756 100644 --- a/packages/backend/src/server/api/endpoints/gallery/posts/show.ts +++ b/packages/backend/src/server/api/endpoints/gallery/posts/show.ts @@ -1,3 +1,7 @@ +// 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'; import type { GalleryPostsRepository } from '@/models/index.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 513089217d..e109bd505f 100644 --- a/packages/backend/src/server/api/endpoints/gallery/posts/unlike.ts +++ b/packages/backend/src/server/api/endpoints/gallery/posts/unlike.ts @@ -1,3 +1,7 @@ +// 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'; import type { GalleryPostsRepository, GalleryLikesRepository } from '@/models/index.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 a2a10d8400..7af1e34bbf 100644 --- a/packages/backend/src/server/api/endpoints/gallery/posts/update.ts +++ b/packages/backend/src/server/api/endpoints/gallery/posts/update.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import ms from 'ms'; import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; 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 810bde03e8..55671afe5d 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,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { MoreThan } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; import { USER_ONLINE_THRESHOLD } from '@/const.js'; diff --git a/packages/backend/src/server/api/endpoints/hashtags/list.ts b/packages/backend/src/server/api/endpoints/hashtags/list.ts index 693d938bf0..3cfcec5efc 100644 --- a/packages/backend/src/server/api/endpoints/hashtags/list.ts +++ b/packages/backend/src/server/api/endpoints/hashtags/list.ts @@ -1,3 +1,7 @@ +// 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'; import type { HashtagsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/hashtags/search.ts b/packages/backend/src/server/api/endpoints/hashtags/search.ts index e2e00def79..58ec261612 100644 --- a/packages/backend/src/server/api/endpoints/hashtags/search.ts +++ b/packages/backend/src/server/api/endpoints/hashtags/search.ts @@ -1,3 +1,7 @@ +// 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'; import type { HashtagsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/hashtags/show.ts b/packages/backend/src/server/api/endpoints/hashtags/show.ts index 06b0d6e9b2..3cb46c6879 100644 --- a/packages/backend/src/server/api/endpoints/hashtags/show.ts +++ b/packages/backend/src/server/api/endpoints/hashtags/show.ts @@ -1,3 +1,7 @@ +// 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'; import type { HashtagsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/hashtags/trend.ts b/packages/backend/src/server/api/endpoints/hashtags/trend.ts index ce1cd9f01f..a8523a7bcc 100644 --- a/packages/backend/src/server/api/endpoints/hashtags/trend.ts +++ b/packages/backend/src/server/api/endpoints/hashtags/trend.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Brackets } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/hashtags/users.ts b/packages/backend/src/server/api/endpoints/hashtags/users.ts index b00b005add..7931804e3e 100644 --- a/packages/backend/src/server/api/endpoints/hashtags/users.ts +++ b/packages/backend/src/server/api/endpoints/hashtags/users.ts @@ -1,3 +1,7 @@ +// 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'; import type { UsersRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/i.ts b/packages/backend/src/server/api/endpoints/i.ts index 4d593542db..acc64fe770 100644 --- a/packages/backend/src/server/api/endpoints/i.ts +++ b/packages/backend/src/server/api/endpoints/i.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.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 6c31075e05..8cf4f4c519 100644 --- a/packages/backend/src/server/api/endpoints/i/2fa/done.ts +++ b/packages/backend/src/server/api/endpoints/i/2fa/done.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; 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 a7e39fc028..766cc9ab46 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,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { promisify } from 'node:util'; import bcrypt from 'bcryptjs'; import cbor from 'cbor'; 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 0ee9f556a8..35af06c957 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,3 +1,7 @@ +// 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'; import { UserEntityService } from '@/core/entities/UserEntityService.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 19c77365c6..0218511ac7 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,3 +1,7 @@ +// 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'; import bcrypt from 'bcryptjs'; 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 eb4d7f9c14..ba0bf73827 100644 --- a/packages/backend/src/server/api/endpoints/i/2fa/register.ts +++ b/packages/backend/src/server/api/endpoints/i/2fa/register.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import bcrypt from 'bcryptjs'; import * as OTPAuth from 'otpauth'; import * as QRCode from 'qrcode'; 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 4b726aed80..d11cd931da 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,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import bcrypt from 'bcryptjs'; 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/unregister.ts b/packages/backend/src/server/api/endpoints/i/2fa/unregister.ts index e0e7ba6658..80a3f5939a 100644 --- a/packages/backend/src/server/api/endpoints/i/2fa/unregister.ts +++ b/packages/backend/src/server/api/endpoints/i/2fa/unregister.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import bcrypt from 'bcryptjs'; 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/update-key.ts b/packages/backend/src/server/api/endpoints/i/2fa/update-key.ts index 2ef5e5a279..a55da32d6a 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,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import bcrypt from 'bcryptjs'; import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/i/apps.ts b/packages/backend/src/server/api/endpoints/i/apps.ts index 48fb03a8af..2068760bac 100644 --- a/packages/backend/src/server/api/endpoints/i/apps.ts +++ b/packages/backend/src/server/api/endpoints/i/apps.ts @@ -1,3 +1,7 @@ +// 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'; import type { AccessTokensRepository } from '@/models/index.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 f5a946eb91..e3fa51b442 100644 --- a/packages/backend/src/server/api/endpoints/i/authorized-apps.ts +++ b/packages/backend/src/server/api/endpoints/i/authorized-apps.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; 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 873835a36c..df7f9b6967 100644 --- a/packages/backend/src/server/api/endpoints/i/change-password.ts +++ b/packages/backend/src/server/api/endpoints/i/change-password.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import bcrypt from 'bcryptjs'; import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; 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 4eef496385..b7f47e54b2 100644 --- a/packages/backend/src/server/api/endpoints/i/claim-achievement.ts +++ b/packages/backend/src/server/api/endpoints/i/claim-achievement.ts @@ -1,3 +1,7 @@ +// 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'; import { AchievementService, ACHIEVEMENT_TYPES } from '@/core/AchievementService.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 77a03d9811..0239f4a794 100644 --- a/packages/backend/src/server/api/endpoints/i/delete-account.ts +++ b/packages/backend/src/server/api/endpoints/i/delete-account.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import bcrypt from 'bcryptjs'; import { Inject, Injectable } from '@nestjs/common'; import type { UsersRepository, UserProfilesRepository } from '@/models/index.js'; 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 4182c1b247..10eae4d3ec 100644 --- a/packages/backend/src/server/api/endpoints/i/export-antennas.ts +++ b/packages/backend/src/server/api/endpoints/i/export-antennas.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Injectable } from '@nestjs/common'; import ms from 'ms'; import { Endpoint } from '@/server/api/endpoint-base.js'; 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 4be88cbc2b..691c9dced7 100644 --- a/packages/backend/src/server/api/endpoints/i/export-blocking.ts +++ b/packages/backend/src/server/api/endpoints/i/export-blocking.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Injectable } from '@nestjs/common'; import ms from 'ms'; import { Endpoint } from '@/server/api/endpoint-base.js'; 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 f522d4c409..2c48ae81ed 100644 --- a/packages/backend/src/server/api/endpoints/i/export-favorites.ts +++ b/packages/backend/src/server/api/endpoints/i/export-favorites.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Injectable } from '@nestjs/common'; import ms from 'ms'; import { Endpoint } from '@/server/api/endpoint-base.js'; 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 1741781c0f..f2ded6e25b 100644 --- a/packages/backend/src/server/api/endpoints/i/export-following.ts +++ b/packages/backend/src/server/api/endpoints/i/export-following.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Injectable } from '@nestjs/common'; import ms from 'ms'; import { Endpoint } from '@/server/api/endpoint-base.js'; 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 8e8042b1f9..d660c1a143 100644 --- a/packages/backend/src/server/api/endpoints/i/export-mute.ts +++ b/packages/backend/src/server/api/endpoints/i/export-mute.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Injectable } from '@nestjs/common'; import ms from 'ms'; import { Endpoint } from '@/server/api/endpoint-base.js'; 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 ed54c9991c..6f94a9534b 100644 --- a/packages/backend/src/server/api/endpoints/i/export-notes.ts +++ b/packages/backend/src/server/api/endpoints/i/export-notes.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Injectable } from '@nestjs/common'; import ms from 'ms'; import { Endpoint } from '@/server/api/endpoint-base.js'; 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 5c2be38b71..12ae069c6e 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,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Injectable } from '@nestjs/common'; import ms from 'ms'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/i/favorites.ts b/packages/backend/src/server/api/endpoints/i/favorites.ts index bdfb63974a..45b20b8518 100644 --- a/packages/backend/src/server/api/endpoints/i/favorites.ts +++ b/packages/backend/src/server/api/endpoints/i/favorites.ts @@ -1,3 +1,7 @@ +// 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'; import type { NoteFavoritesRepository } from '@/models/index.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 915639e5f7..25ea73f08e 100644 --- a/packages/backend/src/server/api/endpoints/i/gallery/likes.ts +++ b/packages/backend/src/server/api/endpoints/i/gallery/likes.ts @@ -1,3 +1,7 @@ +// 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'; import type { GalleryLikesRepository } from '@/models/index.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 5ba9afd4a8..133c1cc88f 100644 --- a/packages/backend/src/server/api/endpoints/i/gallery/posts.ts +++ b/packages/backend/src/server/api/endpoints/i/gallery/posts.ts @@ -1,3 +1,7 @@ +// 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'; import type { GalleryPostsRepository } from '@/models/index.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 3179457817..f5b56d3d7b 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,3 +1,7 @@ +// 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'; import type { MutedNotesRepository } from '@/models/index.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 8582e98f76..1835d38827 100644 --- a/packages/backend/src/server/api/endpoints/i/import-antennas.ts +++ b/packages/backend/src/server/api/endpoints/i/import-antennas.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import ms from 'ms'; import { Endpoint } from '@/server/api/endpoint-base.js'; 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 32c16300fb..b7f37b704d 100644 --- a/packages/backend/src/server/api/endpoints/i/import-blocking.ts +++ b/packages/backend/src/server/api/endpoints/i/import-blocking.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import ms from 'ms'; import { Endpoint } from '@/server/api/endpoint-base.js'; 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 1926a1f503..4df96cbd81 100644 --- a/packages/backend/src/server/api/endpoints/i/import-following.ts +++ b/packages/backend/src/server/api/endpoints/i/import-following.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import ms from 'ms'; import { Endpoint } from '@/server/api/endpoint-base.js'; 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 34f2627563..cdbe4167e9 100644 --- a/packages/backend/src/server/api/endpoints/i/import-muting.ts +++ b/packages/backend/src/server/api/endpoints/i/import-muting.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import ms from 'ms'; import { Endpoint } from '@/server/api/endpoint-base.js'; 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 1b3cb5359d..83a10ec419 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,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import ms from 'ms'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/i/move.ts b/packages/backend/src/server/api/endpoints/i/move.ts index 261dd527c0..e3dbc4f120 100644 --- a/packages/backend/src/server/api/endpoints/i/move.ts +++ b/packages/backend/src/server/api/endpoints/i/move.ts @@ -1,3 +1,7 @@ +// 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 f5662f4a0e..d3142bf6e0 100644 --- a/packages/backend/src/server/api/endpoints/i/notifications.ts +++ b/packages/backend/src/server/api/endpoints/i/notifications.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Brackets, In } from 'typeorm'; import * as Redis from 'ioredis'; import { Inject, Injectable } from '@nestjs/common'; 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 9f073ba596..bbb1e515a7 100644 --- a/packages/backend/src/server/api/endpoints/i/page-likes.ts +++ b/packages/backend/src/server/api/endpoints/i/page-likes.ts @@ -1,3 +1,7 @@ +// 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'; import type { PageLikesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/i/pages.ts b/packages/backend/src/server/api/endpoints/i/pages.ts index 772486befc..a43a956508 100644 --- a/packages/backend/src/server/api/endpoints/i/pages.ts +++ b/packages/backend/src/server/api/endpoints/i/pages.ts @@ -1,3 +1,7 @@ +// 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'; import type { PagesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/i/pin.ts b/packages/backend/src/server/api/endpoints/i/pin.ts index 2293500945..706a65ea3d 100644 --- a/packages/backend/src/server/api/endpoints/i/pin.ts +++ b/packages/backend/src/server/api/endpoints/i/pin.ts @@ -1,3 +1,7 @@ +// 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'; import { UserEntityService } from '@/core/entities/UserEntityService.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 b92de4b739..78ef10c82c 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,3 +1,7 @@ +// 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'; import type { NoteUnreadsRepository } from '@/models/index.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 352fe54c5d..41d0f96c8e 100644 --- a/packages/backend/src/server/api/endpoints/i/read-announcement.ts +++ b/packages/backend/src/server/api/endpoints/i/read-announcement.ts @@ -1,3 +1,7 @@ +// 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'; import { IdService } from '@/core/IdService.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 23ff63f5e9..9f6098407a 100644 --- a/packages/backend/src/server/api/endpoints/i/regenerate-token.ts +++ b/packages/backend/src/server/api/endpoints/i/regenerate-token.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import bcrypt from 'bcryptjs'; 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-all.ts b/packages/backend/src/server/api/endpoints/i/registry/get-all.ts index 17154c1f76..ada05a3bb6 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,3 +1,7 @@ +// 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'; import type { RegistryItemsRepository } from '@/models/index.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 233686dbe1..b11d3c58a4 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,3 +1,7 @@ +// 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'; import type { RegistryItemsRepository } from '@/models/index.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 99cdf95bad..d18c6dbc84 100644 --- a/packages/backend/src/server/api/endpoints/i/registry/get.ts +++ b/packages/backend/src/server/api/endpoints/i/registry/get.ts @@ -1,3 +1,7 @@ +// 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'; import type { RegistryItemsRepository } from '@/models/index.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 362a5e89f4..0da2a7c78c 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,3 +1,7 @@ +// 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'; import type { RegistryItemsRepository } from '@/models/index.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 99f69d8bed..c8a8610c5a 100644 --- a/packages/backend/src/server/api/endpoints/i/registry/keys.ts +++ b/packages/backend/src/server/api/endpoints/i/registry/keys.ts @@ -1,3 +1,7 @@ +// 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'; import type { RegistryItemsRepository } from '@/models/index.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 78a641f5e2..7af6bf127b 100644 --- a/packages/backend/src/server/api/endpoints/i/registry/remove.ts +++ b/packages/backend/src/server/api/endpoints/i/registry/remove.ts @@ -1,3 +1,7 @@ +// 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'; import type { RegistryItemsRepository } from '@/models/index.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 0a4ecb9c51..f548df00b1 100644 --- a/packages/backend/src/server/api/endpoints/i/registry/scopes.ts +++ b/packages/backend/src/server/api/endpoints/i/registry/scopes.ts @@ -1,3 +1,7 @@ +// 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'; import type { RegistryItemsRepository } from '@/models/index.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 c8e72203c4..41651bc4cf 100644 --- a/packages/backend/src/server/api/endpoints/i/registry/set.ts +++ b/packages/backend/src/server/api/endpoints/i/registry/set.ts @@ -1,3 +1,7 @@ +// 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'; import type { RegistryItemsRepository } from '@/models/index.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 415a60147b..e42b6294dc 100644 --- a/packages/backend/src/server/api/endpoints/i/revoke-token.ts +++ b/packages/backend/src/server/api/endpoints/i/revoke-token.ts @@ -1,3 +1,7 @@ +// 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'; import type { AccessTokensRepository } from '@/models/index.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 aa8cb5cf42..4e20dafca4 100644 --- a/packages/backend/src/server/api/endpoints/i/signin-history.ts +++ b/packages/backend/src/server/api/endpoints/i/signin-history.ts @@ -1,3 +1,7 @@ +// 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'; import type { SigninsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/i/unpin.ts b/packages/backend/src/server/api/endpoints/i/unpin.ts index db239dc284..d8768cc6c8 100644 --- a/packages/backend/src/server/api/endpoints/i/unpin.ts +++ b/packages/backend/src/server/api/endpoints/i/unpin.ts @@ -1,3 +1,7 @@ +// 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'; import { UserEntityService } from '@/core/entities/UserEntityService.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 58e056bd37..0ae0477871 100644 --- a/packages/backend/src/server/api/endpoints/i/update-email.ts +++ b/packages/backend/src/server/api/endpoints/i/update-email.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import ms from 'ms'; import bcrypt from 'bcryptjs'; diff --git a/packages/backend/src/server/api/endpoints/i/update.ts b/packages/backend/src/server/api/endpoints/i/update.ts index 8f5e6177c2..4fc2484e8c 100644 --- a/packages/backend/src/server/api/endpoints/i/update.ts +++ b/packages/backend/src/server/api/endpoints/i/update.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import RE2 from 're2'; import * as mfm from 'mfm-js'; import { Inject, Injectable } from '@nestjs/common'; 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 51fcce6cf0..927daca99c 100644 --- a/packages/backend/src/server/api/endpoints/i/webhooks/create.ts +++ b/packages/backend/src/server/api/endpoints/i/webhooks/create.ts @@ -1,3 +1,7 @@ +// 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'; import { IdService } from '@/core/IdService.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 7bdad136aa..2df128948c 100644 --- a/packages/backend/src/server/api/endpoints/i/webhooks/delete.ts +++ b/packages/backend/src/server/api/endpoints/i/webhooks/delete.ts @@ -1,3 +1,7 @@ +// 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'; import type { WebhooksRepository } from '@/models/index.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 58c84938cc..f1fc7b4074 100644 --- a/packages/backend/src/server/api/endpoints/i/webhooks/list.ts +++ b/packages/backend/src/server/api/endpoints/i/webhooks/list.ts @@ -1,3 +1,7 @@ +// 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'; import type { WebhooksRepository } from '@/models/index.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 d15ca0050d..64e6e54039 100644 --- a/packages/backend/src/server/api/endpoints/i/webhooks/show.ts +++ b/packages/backend/src/server/api/endpoints/i/webhooks/show.ts @@ -1,3 +1,7 @@ +// 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'; import type { WebhooksRepository } from '@/models/index.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 8ec308eda7..e690ad9f21 100644 --- a/packages/backend/src/server/api/endpoints/i/webhooks/update.ts +++ b/packages/backend/src/server/api/endpoints/i/webhooks/update.ts @@ -1,3 +1,7 @@ +// 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'; import type { WebhooksRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/invite/create.ts b/packages/backend/src/server/api/endpoints/invite/create.ts index a64184be10..2acc14958f 100644 --- a/packages/backend/src/server/api/endpoints/invite/create.ts +++ b/packages/backend/src/server/api/endpoints/invite/create.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { MoreThan } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/invite/delete.ts b/packages/backend/src/server/api/endpoints/invite/delete.ts index afca44954d..1bd71cc840 100644 --- a/packages/backend/src/server/api/endpoints/invite/delete.ts +++ b/packages/backend/src/server/api/endpoints/invite/delete.ts @@ -1,3 +1,7 @@ +// 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'; import type { RegistrationTicketsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/invite/limit.ts b/packages/backend/src/server/api/endpoints/invite/limit.ts index 9a213b7b25..f4667f6500 100644 --- a/packages/backend/src/server/api/endpoints/invite/limit.ts +++ b/packages/backend/src/server/api/endpoints/invite/limit.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import { MoreThan } from 'typeorm'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/invite/list.ts b/packages/backend/src/server/api/endpoints/invite/list.ts index e047790261..8acc7580cd 100644 --- a/packages/backend/src/server/api/endpoints/invite/list.ts +++ b/packages/backend/src/server/api/endpoints/invite/list.ts @@ -1,3 +1,7 @@ +// 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'; import type { RegistrationTicketsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/meta.ts b/packages/backend/src/server/api/endpoints/meta.ts index adfa579558..acfcdd748d 100644 --- a/packages/backend/src/server/api/endpoints/meta.ts +++ b/packages/backend/src/server/api/endpoints/meta.ts @@ -1,3 +1,7 @@ +// 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'; import JSON5 from 'json5'; 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 0ea29f04dc..11d4f1802a 100644 --- a/packages/backend/src/server/api/endpoints/miauth/gen-token.ts +++ b/packages/backend/src/server/api/endpoints/miauth/gen-token.ts @@ -1,3 +1,7 @@ +// 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'; import type { AccessTokensRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/mute/create.ts b/packages/backend/src/server/api/endpoints/mute/create.ts index ef53f9ef41..a54c04ae29 100644 --- a/packages/backend/src/server/api/endpoints/mute/create.ts +++ b/packages/backend/src/server/api/endpoints/mute/create.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import ms from 'ms'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/mute/delete.ts b/packages/backend/src/server/api/endpoints/mute/delete.ts index 90b74590be..d637b8f8e2 100644 --- a/packages/backend/src/server/api/endpoints/mute/delete.ts +++ b/packages/backend/src/server/api/endpoints/mute/delete.ts @@ -1,3 +1,7 @@ +// 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'; import type { MutingsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/mute/list.ts b/packages/backend/src/server/api/endpoints/mute/list.ts index 4711e86d6b..7fc27c83ae 100644 --- a/packages/backend/src/server/api/endpoints/mute/list.ts +++ b/packages/backend/src/server/api/endpoints/mute/list.ts @@ -1,3 +1,7 @@ +// 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'; import type { MutingsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/my/apps.ts b/packages/backend/src/server/api/endpoints/my/apps.ts index 4b7ed80123..8bff3c86fb 100644 --- a/packages/backend/src/server/api/endpoints/my/apps.ts +++ b/packages/backend/src/server/api/endpoints/my/apps.ts @@ -1,3 +1,7 @@ +// 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'; import type { AppsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/notes.ts b/packages/backend/src/server/api/endpoints/notes.ts index 9013b300e7..9aeedc8122 100644 --- a/packages/backend/src/server/api/endpoints/notes.ts +++ b/packages/backend/src/server/api/endpoints/notes.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/notes/children.ts b/packages/backend/src/server/api/endpoints/notes/children.ts index 5f03fd4b74..2447120fe1 100644 --- a/packages/backend/src/server/api/endpoints/notes/children.ts +++ b/packages/backend/src/server/api/endpoints/notes/children.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Brackets } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; import type { NotesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/notes/clips.ts b/packages/backend/src/server/api/endpoints/notes/clips.ts index 0a5542f497..023d03cb5a 100644 --- a/packages/backend/src/server/api/endpoints/notes/clips.ts +++ b/packages/backend/src/server/api/endpoints/notes/clips.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { In } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; import type { ClipNotesRepository, ClipsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/notes/conversation.ts b/packages/backend/src/server/api/endpoints/notes/conversation.ts index 10f43b04c0..25626e9489 100644 --- a/packages/backend/src/server/api/endpoints/notes/conversation.ts +++ b/packages/backend/src/server/api/endpoints/notes/conversation.ts @@ -1,3 +1,7 @@ +// 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'; import type { NotesRepository } from '@/models/index.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 6bff7fc0c9..6e6682f45c 100644 --- a/packages/backend/src/server/api/endpoints/notes/create.test.ts +++ b/packages/backend/src/server/api/endpoints/notes/create.test.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + process.env.NODE_ENV = 'test'; import { readFile } from 'node:fs/promises'; diff --git a/packages/backend/src/server/api/endpoints/notes/create.ts b/packages/backend/src/server/api/endpoints/notes/create.ts index 739316997a..280405e2c8 100644 --- a/packages/backend/src/server/api/endpoints/notes/create.ts +++ b/packages/backend/src/server/api/endpoints/notes/create.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import ms from 'ms'; import { In } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/notes/delete.ts b/packages/backend/src/server/api/endpoints/notes/delete.ts index 16c4c01387..ce265af74d 100644 --- a/packages/backend/src/server/api/endpoints/notes/delete.ts +++ b/packages/backend/src/server/api/endpoints/notes/delete.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import ms from 'ms'; import { Inject, Injectable } from '@nestjs/common'; import type { UsersRepository } from '@/models/index.js'; 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 9299d66039..ec5566394d 100644 --- a/packages/backend/src/server/api/endpoints/notes/favorites/create.ts +++ b/packages/backend/src/server/api/endpoints/notes/favorites/create.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import ms from 'ms'; import type { NoteFavoritesRepository } from '@/models/index.js'; 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 bb3a7c501a..62047454c4 100644 --- a/packages/backend/src/server/api/endpoints/notes/favorites/delete.ts +++ b/packages/backend/src/server/api/endpoints/notes/favorites/delete.ts @@ -1,3 +1,7 @@ +// 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'; import { GetterService } from '@/server/api/GetterService.js'; diff --git a/packages/backend/src/server/api/endpoints/notes/featured.ts b/packages/backend/src/server/api/endpoints/notes/featured.ts index 3a3cb0739b..395ca5cfc6 100644 --- a/packages/backend/src/server/api/endpoints/notes/featured.ts +++ b/packages/backend/src/server/api/endpoints/notes/featured.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.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 4ce2fdaec7..59107ae365 100644 --- a/packages/backend/src/server/api/endpoints/notes/global-timeline.ts +++ b/packages/backend/src/server/api/endpoints/notes/global-timeline.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.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 af94cf6087..f11a07cf0a 100644 --- a/packages/backend/src/server/api/endpoints/notes/hybrid-timeline.ts +++ b/packages/backend/src/server/api/endpoints/notes/hybrid-timeline.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Brackets } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; import type { NotesRepository, FollowingsRepository } from '@/models/index.js'; 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 fe7407f48a..ac89bbb19e 100644 --- a/packages/backend/src/server/api/endpoints/notes/local-timeline.ts +++ b/packages/backend/src/server/api/endpoints/notes/local-timeline.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Brackets } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; import type { NotesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/notes/mentions.ts b/packages/backend/src/server/api/endpoints/notes/mentions.ts index 6ee9de1e23..1f12c12aa3 100644 --- a/packages/backend/src/server/api/endpoints/notes/mentions.ts +++ b/packages/backend/src/server/api/endpoints/notes/mentions.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Brackets } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; import type { NotesRepository, FollowingsRepository } from '@/models/index.js'; 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 0b4ccdcf20..054b92162d 100644 --- a/packages/backend/src/server/api/endpoints/notes/polls/recommendation.ts +++ b/packages/backend/src/server/api/endpoints/notes/polls/recommendation.ts @@ -1,3 +1,7 @@ +// 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'; import type { NotesRepository, MutingsRepository, PollsRepository, PollVotesRepository } from '@/models/index.js'; 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 3a33b037f8..7475d01954 100644 --- a/packages/backend/src/server/api/endpoints/notes/polls/vote.ts +++ b/packages/backend/src/server/api/endpoints/notes/polls/vote.ts @@ -1,3 +1,7 @@ +// 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'; import type { RemoteUser } from '@/models/entities/User.js'; diff --git a/packages/backend/src/server/api/endpoints/notes/reactions.ts b/packages/backend/src/server/api/endpoints/notes/reactions.ts index 4772c4f809..9a4f1d2348 100644 --- a/packages/backend/src/server/api/endpoints/notes/reactions.ts +++ b/packages/backend/src/server/api/endpoints/notes/reactions.ts @@ -1,3 +1,7 @@ +// 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'; import type { NoteReaction } from '@/models/entities/NoteReaction.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 97cb026779..c0f6bc6b8b 100644 --- a/packages/backend/src/server/api/endpoints/notes/reactions/create.ts +++ b/packages/backend/src/server/api/endpoints/notes/reactions/create.ts @@ -1,3 +1,7 @@ +// 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'; import { GetterService } from '@/server/api/GetterService.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 207f0b4cf2..62de681763 100644 --- a/packages/backend/src/server/api/endpoints/notes/reactions/delete.ts +++ b/packages/backend/src/server/api/endpoints/notes/reactions/delete.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import ms from 'ms'; import { Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/notes/renotes.ts b/packages/backend/src/server/api/endpoints/notes/renotes.ts index 4ee12b3353..681dd8eb40 100644 --- a/packages/backend/src/server/api/endpoints/notes/renotes.ts +++ b/packages/backend/src/server/api/endpoints/notes/renotes.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/notes/replies.ts b/packages/backend/src/server/api/endpoints/notes/replies.ts index 900c40d32a..0fba13441f 100644 --- a/packages/backend/src/server/api/endpoints/notes/replies.ts +++ b/packages/backend/src/server/api/endpoints/notes/replies.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.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 dc0a5dceee..0812440327 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,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Brackets } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; import type { NotesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/notes/search.ts b/packages/backend/src/server/api/endpoints/notes/search.ts index cd0e351e45..57ba6f880a 100644 --- a/packages/backend/src/server/api/endpoints/notes/search.ts +++ b/packages/backend/src/server/api/endpoints/notes/search.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/notes/show.ts b/packages/backend/src/server/api/endpoints/notes/show.ts index 2aec7d64dd..62ba951717 100644 --- a/packages/backend/src/server/api/endpoints/notes/show.ts +++ b/packages/backend/src/server/api/endpoints/notes/show.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/notes/state.ts b/packages/backend/src/server/api/endpoints/notes/state.ts index 93517ab10c..b3cb4d7297 100644 --- a/packages/backend/src/server/api/endpoints/notes/state.ts +++ b/packages/backend/src/server/api/endpoints/notes/state.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.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 abea069da8..a4138a6d17 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,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import ms from 'ms'; import type { NotesRepository, NoteThreadMutingsRepository } from '@/models/index.js'; 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 30016d48bc..430d801c19 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,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/notes/timeline.ts b/packages/backend/src/server/api/endpoints/notes/timeline.ts index 7e9bf85d88..bd2adb2193 100644 --- a/packages/backend/src/server/api/endpoints/notes/timeline.ts +++ b/packages/backend/src/server/api/endpoints/notes/timeline.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Brackets } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; import type { NotesRepository, FollowingsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/notes/translate.ts b/packages/backend/src/server/api/endpoints/notes/translate.ts index b91bc7b5ec..5bc3dcc6b4 100644 --- a/packages/backend/src/server/api/endpoints/notes/translate.ts +++ b/packages/backend/src/server/api/endpoints/notes/translate.ts @@ -1,3 +1,7 @@ +// 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'; import type { NotesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/notes/unrenote.ts b/packages/backend/src/server/api/endpoints/notes/unrenote.ts index e9581beedc..3967b0c0e2 100644 --- a/packages/backend/src/server/api/endpoints/notes/unrenote.ts +++ b/packages/backend/src/server/api/endpoints/notes/unrenote.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import ms from 'ms'; import { Inject, Injectable } from '@nestjs/common'; import type { UsersRepository, NotesRepository } from '@/models/index.js'; 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 4c19e1a553..0124881650 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,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Brackets } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; import type { NotesRepository, UserListsRepository, UserListJoiningsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/notifications/create.ts b/packages/backend/src/server/api/endpoints/notifications/create.ts index 4102a924ad..792f08f1c7 100644 --- a/packages/backend/src/server/api/endpoints/notifications/create.ts +++ b/packages/backend/src/server/api/endpoints/notifications/create.ts @@ -1,3 +1,7 @@ +// 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'; import { NotificationService } from '@/core/NotificationService.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 e601bf9d5b..b5fc3ca22d 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,3 +1,7 @@ +// 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'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/server/api/endpoints/page-push.ts b/packages/backend/src/server/api/endpoints/page-push.ts index 1d6fb567f0..c33d815513 100644 --- a/packages/backend/src/server/api/endpoints/page-push.ts +++ b/packages/backend/src/server/api/endpoints/page-push.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/pages/create.ts b/packages/backend/src/server/api/endpoints/pages/create.ts index e08ab399f8..7a78f35f62 100644 --- a/packages/backend/src/server/api/endpoints/pages/create.ts +++ b/packages/backend/src/server/api/endpoints/pages/create.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import ms from 'ms'; import { Inject, Injectable } from '@nestjs/common'; import type { DriveFilesRepository, PagesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/pages/delete.ts b/packages/backend/src/server/api/endpoints/pages/delete.ts index e64733131c..17064a0714 100644 --- a/packages/backend/src/server/api/endpoints/pages/delete.ts +++ b/packages/backend/src/server/api/endpoints/pages/delete.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/pages/featured.ts b/packages/backend/src/server/api/endpoints/pages/featured.ts index b1c056124e..093228088a 100644 --- a/packages/backend/src/server/api/endpoints/pages/featured.ts +++ b/packages/backend/src/server/api/endpoints/pages/featured.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/pages/like.ts b/packages/backend/src/server/api/endpoints/pages/like.ts index bc66488103..1b3f75ca43 100644 --- a/packages/backend/src/server/api/endpoints/pages/like.ts +++ b/packages/backend/src/server/api/endpoints/pages/like.ts @@ -1,3 +1,7 @@ +// 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'; import { IdService } from '@/core/IdService.js'; diff --git a/packages/backend/src/server/api/endpoints/pages/show.ts b/packages/backend/src/server/api/endpoints/pages/show.ts index bf2b2a431e..1b7ea735f1 100644 --- a/packages/backend/src/server/api/endpoints/pages/show.ts +++ b/packages/backend/src/server/api/endpoints/pages/show.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { IsNull } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; import type { UsersRepository, PagesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/pages/unlike.ts b/packages/backend/src/server/api/endpoints/pages/unlike.ts index f0c0198460..cc71d2f400 100644 --- a/packages/backend/src/server/api/endpoints/pages/unlike.ts +++ b/packages/backend/src/server/api/endpoints/pages/unlike.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/pages/update.ts b/packages/backend/src/server/api/endpoints/pages/update.ts index 751274067e..4f2f86e721 100644 --- a/packages/backend/src/server/api/endpoints/pages/update.ts +++ b/packages/backend/src/server/api/endpoints/pages/update.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import ms from 'ms'; import { Not } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/ping.ts b/packages/backend/src/server/api/endpoints/ping.ts index 5807bf101e..44a3c8663f 100644 --- a/packages/backend/src/server/api/endpoints/ping.ts +++ b/packages/backend/src/server/api/endpoints/ping.ts @@ -1,3 +1,7 @@ +// 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 f2c6e798ef..242da5c339 100644 --- a/packages/backend/src/server/api/endpoints/pinned-users.ts +++ b/packages/backend/src/server/api/endpoints/pinned-users.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { IsNull } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; import type { UsersRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/promo/read.ts b/packages/backend/src/server/api/endpoints/promo/read.ts index a76866fe14..17684371ac 100644 --- a/packages/backend/src/server/api/endpoints/promo/read.ts +++ b/packages/backend/src/server/api/endpoints/promo/read.ts @@ -1,3 +1,7 @@ +// 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'; import { IdService } from '@/core/IdService.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 beb5850d78..677cf818e9 100644 --- a/packages/backend/src/server/api/endpoints/renote-mute/create.ts +++ b/packages/backend/src/server/api/endpoints/renote-mute/create.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import ms from 'ms'; import { Endpoint } from '@/server/api/endpoint-base.js'; 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 70901a1406..2205e75192 100644 --- a/packages/backend/src/server/api/endpoints/renote-mute/delete.ts +++ b/packages/backend/src/server/api/endpoints/renote-mute/delete.ts @@ -1,3 +1,7 @@ +// 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'; import type { RenoteMutingsRepository } from '@/models/index.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 cb4e1feba4..5e1bbc99cb 100644 --- a/packages/backend/src/server/api/endpoints/renote-mute/list.ts +++ b/packages/backend/src/server/api/endpoints/renote-mute/list.ts @@ -1,3 +1,7 @@ +// 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'; import type { RenoteMutingsRepository } from '@/models/index.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 284ed8410d..b43fa11ec9 100644 --- a/packages/backend/src/server/api/endpoints/request-reset-password.ts +++ b/packages/backend/src/server/api/endpoints/request-reset-password.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import ms from 'ms'; import { IsNull } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/reset-db.ts b/packages/backend/src/server/api/endpoints/reset-db.ts index 1d4825f812..a09b60fed3 100644 --- a/packages/backend/src/server/api/endpoints/reset-db.ts +++ b/packages/backend/src/server/api/endpoints/reset-db.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import { DataSource } from 'typeorm'; import * as Redis from 'ioredis'; diff --git a/packages/backend/src/server/api/endpoints/reset-password.ts b/packages/backend/src/server/api/endpoints/reset-password.ts index e6f1af7b22..7a10f06666 100644 --- a/packages/backend/src/server/api/endpoints/reset-password.ts +++ b/packages/backend/src/server/api/endpoints/reset-password.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import bcrypt from 'bcryptjs'; import { Inject, Injectable } from '@nestjs/common'; import type { UserProfilesRepository, PasswordResetRequestsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/retention.ts b/packages/backend/src/server/api/endpoints/retention.ts index e9c0fd4dcd..1527877ef8 100644 --- a/packages/backend/src/server/api/endpoints/retention.ts +++ b/packages/backend/src/server/api/endpoints/retention.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/roles/list.ts b/packages/backend/src/server/api/endpoints/roles/list.ts index 5ad29839c2..a08c1e9d83 100644 --- a/packages/backend/src/server/api/endpoints/roles/list.ts +++ b/packages/backend/src/server/api/endpoints/roles/list.ts @@ -1,3 +1,7 @@ +// 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'; import type { RolesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/roles/notes.ts b/packages/backend/src/server/api/endpoints/roles/notes.ts index a30c31b727..ec55bbcb2f 100644 --- a/packages/backend/src/server/api/endpoints/roles/notes.ts +++ b/packages/backend/src/server/api/endpoints/roles/notes.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/roles/show.ts b/packages/backend/src/server/api/endpoints/roles/show.ts index cc755dcc76..ddc29b4938 100644 --- a/packages/backend/src/server/api/endpoints/roles/show.ts +++ b/packages/backend/src/server/api/endpoints/roles/show.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/roles/users.ts b/packages/backend/src/server/api/endpoints/roles/users.ts index cc27201886..24494c3218 100644 --- a/packages/backend/src/server/api/endpoints/roles/users.ts +++ b/packages/backend/src/server/api/endpoints/roles/users.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import { Brackets } from 'typeorm'; import type { RoleAssignmentsRepository, RolesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/server-info.ts b/packages/backend/src/server/api/endpoints/server-info.ts index 552441e430..5ea59a3525 100644 --- a/packages/backend/src/server/api/endpoints/server-info.ts +++ b/packages/backend/src/server/api/endpoints/server-info.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import * as os from 'node:os'; import si from 'systeminformation'; import { Injectable } from '@nestjs/common'; diff --git a/packages/backend/src/server/api/endpoints/stats.ts b/packages/backend/src/server/api/endpoints/stats.ts index 48a85758a0..16102dcf4b 100644 --- a/packages/backend/src/server/api/endpoints/stats.ts +++ b/packages/backend/src/server/api/endpoints/stats.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/sw/register.ts b/packages/backend/src/server/api/endpoints/sw/register.ts index bfd5de7b00..94e7df8f95 100644 --- a/packages/backend/src/server/api/endpoints/sw/register.ts +++ b/packages/backend/src/server/api/endpoints/sw/register.ts @@ -1,3 +1,7 @@ +// 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'; import type { SwSubscriptionsRepository } from '@/models/index.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 bede10be5c..0e9995a3bf 100644 --- a/packages/backend/src/server/api/endpoints/sw/show-registration.ts +++ b/packages/backend/src/server/api/endpoints/sw/show-registration.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/sw/unregister.ts b/packages/backend/src/server/api/endpoints/sw/unregister.ts index f12b98617d..ded97e6a5b 100644 --- a/packages/backend/src/server/api/endpoints/sw/unregister.ts +++ b/packages/backend/src/server/api/endpoints/sw/unregister.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.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 b82c4bf49d..84cd0931b5 100644 --- a/packages/backend/src/server/api/endpoints/sw/update-registration.ts +++ b/packages/backend/src/server/api/endpoints/sw/update-registration.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/test.ts b/packages/backend/src/server/api/endpoints/test.ts index c88f7f2daf..c49747666a 100644 --- a/packages/backend/src/server/api/endpoints/test.ts +++ b/packages/backend/src/server/api/endpoints/test.ts @@ -1,3 +1,7 @@ +// 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 6293c5cb50..4037e5e0d4 100644 --- a/packages/backend/src/server/api/endpoints/username/available.ts +++ b/packages/backend/src/server/api/endpoints/username/available.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { IsNull } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; import type { UsedUsernamesRepository, UsersRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/users.ts b/packages/backend/src/server/api/endpoints/users.ts index 2582932e3a..ad9c662866 100644 --- a/packages/backend/src/server/api/endpoints/users.ts +++ b/packages/backend/src/server/api/endpoints/users.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/users/achievements.ts b/packages/backend/src/server/api/endpoints/users/achievements.ts index 2a095d83ea..1601e54cf8 100644 --- a/packages/backend/src/server/api/endpoints/users/achievements.ts +++ b/packages/backend/src/server/api/endpoints/users/achievements.ts @@ -1,3 +1,7 @@ +// 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'; import type { UserProfilesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/users/clips.ts b/packages/backend/src/server/api/endpoints/users/clips.ts index c2ad420cb5..4229aafbd5 100644 --- a/packages/backend/src/server/api/endpoints/users/clips.ts +++ b/packages/backend/src/server/api/endpoints/users/clips.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/users/followers.ts b/packages/backend/src/server/api/endpoints/users/followers.ts index 18d66500ab..3f7b99dcde 100644 --- a/packages/backend/src/server/api/endpoints/users/followers.ts +++ b/packages/backend/src/server/api/endpoints/users/followers.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { IsNull } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; import type { UsersRepository, FollowingsRepository, UserProfilesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/users/following.ts b/packages/backend/src/server/api/endpoints/users/following.ts index 6ea7b923d6..bd65f528d6 100644 --- a/packages/backend/src/server/api/endpoints/users/following.ts +++ b/packages/backend/src/server/api/endpoints/users/following.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { IsNull } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; import type { UsersRepository, FollowingsRepository, UserProfilesRepository } from '@/models/index.js'; 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 3ee01953d4..f0a6ec693f 100644 --- a/packages/backend/src/server/api/endpoints/users/gallery/posts.ts +++ b/packages/backend/src/server/api/endpoints/users/gallery/posts.ts @@ -1,3 +1,7 @@ +// 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'; import type { GalleryPostsRepository } from '@/models/index.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 b4c1e2ec87..42ddaf1ce5 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,3 +1,7 @@ +// 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'; import { maximum } from '@/misc/prelude/array.js'; 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 beb0ba85ff..73403db05b 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,3 +1,7 @@ +// 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'; import { IdService } from '@/core/IdService.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 7510889526..b8db172fb3 100644 --- a/packages/backend/src/server/api/endpoints/users/lists/create.ts +++ b/packages/backend/src/server/api/endpoints/users/lists/create.ts @@ -1,3 +1,7 @@ +// 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'; import { IdService } from '@/core/IdService.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 237cb075ab..9f8674886d 100644 --- a/packages/backend/src/server/api/endpoints/users/lists/delete.ts +++ b/packages/backend/src/server/api/endpoints/users/lists/delete.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.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 2c09a47fef..f3dd1d7fd5 100644 --- a/packages/backend/src/server/api/endpoints/users/lists/favorite.ts +++ b/packages/backend/src/server/api/endpoints/users/lists/favorite.ts @@ -1,3 +1,7 @@ +// 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'; import type { UserListFavoritesRepository, UserListsRepository } from '@/models/index.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 eab29944b2..b57aeb6452 100644 --- a/packages/backend/src/server/api/endpoints/users/lists/list.ts +++ b/packages/backend/src/server/api/endpoints/users/lists/list.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.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 d50b70efc2..8ef2bee459 100644 --- a/packages/backend/src/server/api/endpoints/users/lists/pull.ts +++ b/packages/backend/src/server/api/endpoints/users/lists/pull.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.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 6e1f6b2c62..1797fb61fc 100644 --- a/packages/backend/src/server/api/endpoints/users/lists/push.ts +++ b/packages/backend/src/server/api/endpoints/users/lists/push.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import ms from 'ms'; import type { UserListsRepository, UserListJoiningsRepository, BlockingsRepository } from '@/models/index.js'; 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 3fd418d04e..ee35032461 100644 --- a/packages/backend/src/server/api/endpoints/users/lists/show.ts +++ b/packages/backend/src/server/api/endpoints/users/lists/show.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.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 a7c3b58947..857460321b 100644 --- a/packages/backend/src/server/api/endpoints/users/lists/unfavorite.ts +++ b/packages/backend/src/server/api/endpoints/users/lists/unfavorite.ts @@ -1,3 +1,7 @@ +// 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'; import type { UserListFavoritesRepository, UserListsRepository } from '@/models/index.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 b0a95a2f28..c77ac4c058 100644 --- a/packages/backend/src/server/api/endpoints/users/lists/update.ts +++ b/packages/backend/src/server/api/endpoints/users/lists/update.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/users/notes.ts b/packages/backend/src/server/api/endpoints/users/notes.ts index f42f84e6a7..4b92ceb960 100644 --- a/packages/backend/src/server/api/endpoints/users/notes.ts +++ b/packages/backend/src/server/api/endpoints/users/notes.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Brackets } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; import type { NotesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/users/pages.ts b/packages/backend/src/server/api/endpoints/users/pages.ts index e9d13ba00f..90d1a95350 100644 --- a/packages/backend/src/server/api/endpoints/users/pages.ts +++ b/packages/backend/src/server/api/endpoints/users/pages.ts @@ -1,3 +1,7 @@ +// 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'; import { QueryService } from '@/core/QueryService.js'; diff --git a/packages/backend/src/server/api/endpoints/users/reactions.ts b/packages/backend/src/server/api/endpoints/users/reactions.ts index 37fc854c33..27ab1b38d2 100644 --- a/packages/backend/src/server/api/endpoints/users/reactions.ts +++ b/packages/backend/src/server/api/endpoints/users/reactions.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.js'; diff --git a/packages/backend/src/server/api/endpoints/users/recommendation.ts b/packages/backend/src/server/api/endpoints/users/recommendation.ts index d39657059a..1961ad7800 100644 --- a/packages/backend/src/server/api/endpoints/users/recommendation.ts +++ b/packages/backend/src/server/api/endpoints/users/recommendation.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import ms from 'ms'; import { Inject, Injectable } from '@nestjs/common'; import type { UsersRepository, FollowingsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/users/relation.ts b/packages/backend/src/server/api/endpoints/users/relation.ts index 3267c18846..7dfb9b983e 100644 --- a/packages/backend/src/server/api/endpoints/users/relation.ts +++ b/packages/backend/src/server/api/endpoints/users/relation.ts @@ -1,3 +1,7 @@ +// 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'; import { Endpoint } from '@/server/api/endpoint-base.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 be361e02c4..52efb5defa 100644 --- a/packages/backend/src/server/api/endpoints/users/report-abuse.ts +++ b/packages/backend/src/server/api/endpoints/users/report-abuse.ts @@ -1,3 +1,7 @@ +// 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'; import type { UsersRepository, AbuseUserReportsRepository } from '@/models/index.js'; 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 1d0c7d0c1d..8115b493d8 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,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Brackets } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; import type { UsersRepository, FollowingsRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/users/search.ts b/packages/backend/src/server/api/endpoints/users/search.ts index 1180de3611..0deb68db1a 100644 --- a/packages/backend/src/server/api/endpoints/users/search.ts +++ b/packages/backend/src/server/api/endpoints/users/search.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Brackets } from 'typeorm'; import { Inject, Injectable } from '@nestjs/common'; import type { UsersRepository, UserProfilesRepository } from '@/models/index.js'; diff --git a/packages/backend/src/server/api/endpoints/users/show.ts b/packages/backend/src/server/api/endpoints/users/show.ts index 8e25af64fe..1df0136e25 100644 --- a/packages/backend/src/server/api/endpoints/users/show.ts +++ b/packages/backend/src/server/api/endpoints/users/show.ts @@ -1,3 +1,7 @@ +// 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'; import type { UsersRepository } from '@/models/index.js'; 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 ca7756ef75..68c4a4dcf9 100644 --- a/packages/backend/src/server/api/endpoints/users/update-memo.ts +++ b/packages/backend/src/server/api/endpoints/users/update-memo.ts @@ -1,3 +1,7 @@ +// 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'; import { IdService } from '@/core/IdService.js'; diff --git a/packages/backend/src/server/api/error.ts b/packages/backend/src/server/api/error.ts index 34f4521606..980a83cd1a 100644 --- a/packages/backend/src/server/api/error.ts +++ b/packages/backend/src/server/api/error.ts @@ -1,3 +1,7 @@ +// 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 }; export class ApiError extends Error { diff --git a/packages/backend/src/server/api/openapi/OpenApiServerService.ts b/packages/backend/src/server/api/openapi/OpenApiServerService.ts index e804ba276c..5b350c7281 100644 --- a/packages/backend/src/server/api/openapi/OpenApiServerService.ts +++ b/packages/backend/src/server/api/openapi/OpenApiServerService.ts @@ -1,3 +1,7 @@ +// 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'; import type { Config } from '@/config.js'; diff --git a/packages/backend/src/server/api/openapi/errors.ts b/packages/backend/src/server/api/openapi/errors.ts index d7f791c6da..a16ce862f9 100644 --- a/packages/backend/src/server/api/openapi/errors.ts +++ b/packages/backend/src/server/api/openapi/errors.ts @@ -1,3 +1,6 @@ +// 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 fa62480c02..7ce14d5939 100644 --- a/packages/backend/src/server/api/openapi/gen-spec.ts +++ b/packages/backend/src/server/api/openapi/gen-spec.ts @@ -1,3 +1,7 @@ +// 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'; import { errors as basicErrors } from './errors.js'; diff --git a/packages/backend/src/server/api/openapi/schemas.ts b/packages/backend/src/server/api/openapi/schemas.ts index 0cef361caf..e93c00cb9f 100644 --- a/packages/backend/src/server/api/openapi/schemas.ts +++ b/packages/backend/src/server/api/openapi/schemas.ts @@ -1,3 +1,7 @@ +// 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 4a544fadfe..febf8683bc 100644 --- a/packages/backend/src/server/api/stream/ChannelsService.ts +++ b/packages/backend/src/server/api/stream/ChannelsService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Injectable } from '@nestjs/common'; import { bindThis } from '@/decorators.js'; import { HybridTimelineChannelService } from './channels/hybrid-timeline.js'; diff --git a/packages/backend/src/server/api/stream/channel.ts b/packages/backend/src/server/api/stream/channel.ts index 94b92e02ef..7978ab3645 100644 --- a/packages/backend/src/server/api/stream/channel.ts +++ b/packages/backend/src/server/api/stream/channel.ts @@ -1,3 +1,7 @@ +// 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 157fcd6aa3..522d6217cb 100644 --- a/packages/backend/src/server/api/stream/channels/admin.ts +++ b/packages/backend/src/server/api/stream/channels/admin.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Injectable } from '@nestjs/common'; import { bindThis } from '@/decorators.js'; import Channel from '../channel.js'; diff --git a/packages/backend/src/server/api/stream/channels/antenna.ts b/packages/backend/src/server/api/stream/channels/antenna.ts index d48dea7258..7e0372bcaa 100644 --- a/packages/backend/src/server/api/stream/channels/antenna.ts +++ b/packages/backend/src/server/api/stream/channels/antenna.ts @@ -1,3 +1,7 @@ +// 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'; import { NoteEntityService } from '@/core/entities/NoteEntityService.js'; diff --git a/packages/backend/src/server/api/stream/channels/channel.ts b/packages/backend/src/server/api/stream/channels/channel.ts index 9e5b40997b..d4133a2172 100644 --- a/packages/backend/src/server/api/stream/channels/channel.ts +++ b/packages/backend/src/server/api/stream/channels/channel.ts @@ -1,3 +1,7 @@ +// 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'; import type { Packed } from '@/misc/json-schema.js'; diff --git a/packages/backend/src/server/api/stream/channels/drive.ts b/packages/backend/src/server/api/stream/channels/drive.ts index 52bb29fabe..d95c9848b2 100644 --- a/packages/backend/src/server/api/stream/channels/drive.ts +++ b/packages/backend/src/server/api/stream/channels/drive.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Injectable } from '@nestjs/common'; import { bindThis } from '@/decorators.js'; import Channel from '../channel.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 d3339072c1..2ba419d063 100644 --- a/packages/backend/src/server/api/stream/channels/global-timeline.ts +++ b/packages/backend/src/server/api/stream/channels/global-timeline.ts @@ -1,3 +1,7 @@ +// 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'; import { isInstanceMuted } from '@/misc/is-instance-muted.js'; diff --git a/packages/backend/src/server/api/stream/channels/hashtag.ts b/packages/backend/src/server/api/stream/channels/hashtag.ts index 94ebf86418..a158f91638 100644 --- a/packages/backend/src/server/api/stream/channels/hashtag.ts +++ b/packages/backend/src/server/api/stream/channels/hashtag.ts @@ -1,3 +1,7 @@ +// 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'; import { isUserRelated } from '@/misc/is-user-related.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 fe0cc37b6b..0c1d45f581 100644 --- a/packages/backend/src/server/api/stream/channels/home-timeline.ts +++ b/packages/backend/src/server/api/stream/channels/home-timeline.ts @@ -1,3 +1,7 @@ +// 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'; import { isUserRelated } from '@/misc/is-user-related.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 5a33e13cf5..8ca1e8d5ce 100644 --- a/packages/backend/src/server/api/stream/channels/hybrid-timeline.ts +++ b/packages/backend/src/server/api/stream/channels/hybrid-timeline.ts @@ -1,3 +1,7 @@ +// 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'; import { isUserRelated } from '@/misc/is-user-related.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 9ca4db8ced..858cfc4d74 100644 --- a/packages/backend/src/server/api/stream/channels/local-timeline.ts +++ b/packages/backend/src/server/api/stream/channels/local-timeline.ts @@ -1,3 +1,7 @@ +// 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'; import { isUserRelated } from '@/misc/is-user-related.js'; diff --git a/packages/backend/src/server/api/stream/channels/main.ts b/packages/backend/src/server/api/stream/channels/main.ts index 139320ce35..57e6b8b13a 100644 --- a/packages/backend/src/server/api/stream/channels/main.ts +++ b/packages/backend/src/server/api/stream/channels/main.ts @@ -1,3 +1,7 @@ +// 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'; import { NoteEntityService } from '@/core/entities/NoteEntityService.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 7f48c54999..bf90d9f70e 100644 --- a/packages/backend/src/server/api/stream/channels/queue-stats.ts +++ b/packages/backend/src/server/api/stream/channels/queue-stats.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import Xev from 'xev'; import { Injectable } from '@nestjs/common'; import { bindThis } from '@/decorators.js'; 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 6218fada97..1c28881913 100644 --- a/packages/backend/src/server/api/stream/channels/role-timeline.ts +++ b/packages/backend/src/server/api/stream/channels/role-timeline.ts @@ -1,3 +1,7 @@ +// 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'; import type { Packed } from '@/misc/json-schema.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 9eae0cf2d3..eedf8e363b 100644 --- a/packages/backend/src/server/api/stream/channels/server-stats.ts +++ b/packages/backend/src/server/api/stream/channels/server-stats.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import Xev from 'xev'; import { Injectable } from '@nestjs/common'; import { bindThis } from '@/decorators.js'; 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 ea4cff0bc0..a1d1f3f5f9 100644 --- a/packages/backend/src/server/api/stream/channels/user-list.ts +++ b/packages/backend/src/server/api/stream/channels/user-list.ts @@ -1,3 +1,7 @@ +// 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'; import type { User } from '@/models/entities/User.js'; diff --git a/packages/backend/src/server/api/stream/index.ts b/packages/backend/src/server/api/stream/index.ts index 8b1c2c09c9..a791a42e82 100644 --- a/packages/backend/src/server/api/stream/index.ts +++ b/packages/backend/src/server/api/stream/index.ts @@ -1,3 +1,7 @@ +// 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'; import type { AccessToken } from '@/models/entities/AccessToken.js'; diff --git a/packages/backend/src/server/api/stream/types.ts b/packages/backend/src/server/api/stream/types.ts index f239b06637..81803a45d2 100644 --- a/packages/backend/src/server/api/stream/types.ts +++ b/packages/backend/src/server/api/stream/types.ts @@ -1,3 +1,7 @@ +// 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'; import type { UserProfile } from '@/models/entities/UserProfile.js'; diff --git a/packages/backend/src/server/web/ClientLoggerService.ts b/packages/backend/src/server/web/ClientLoggerService.ts index 6a882aa766..6731ed513a 100644 --- a/packages/backend/src/server/web/ClientLoggerService.ts +++ b/packages/backend/src/server/web/ClientLoggerService.ts @@ -1,3 +1,7 @@ +// 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'; import { LoggerService } from '@/core/LoggerService.js'; diff --git a/packages/backend/src/server/web/ClientServerService.ts b/packages/backend/src/server/web/ClientServerService.ts index b5eea07775..44186f5397 100644 --- a/packages/backend/src/server/web/ClientServerService.ts +++ b/packages/backend/src/server/web/ClientServerService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { randomUUID } from 'node:crypto'; import { dirname } from 'node:path'; import { fileURLToPath } from 'node:url'; diff --git a/packages/backend/src/server/web/FeedService.ts b/packages/backend/src/server/web/FeedService.ts index 0bd0d3c692..11ac8f1f29 100644 --- a/packages/backend/src/server/web/FeedService.ts +++ b/packages/backend/src/server/web/FeedService.ts @@ -1,3 +1,7 @@ +// 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'; import { Feed } from 'feed'; diff --git a/packages/backend/src/server/web/UrlPreviewService.ts b/packages/backend/src/server/web/UrlPreviewService.ts index e61e92c623..fdc842a827 100644 --- a/packages/backend/src/server/web/UrlPreviewService.ts +++ b/packages/backend/src/server/web/UrlPreviewService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Inject, Injectable } from '@nestjs/common'; import { summaly } from 'summaly'; import { DI } from '@/di-symbols.js'; diff --git a/packages/backend/src/server/web/bios.css b/packages/backend/src/server/web/bios.css index b0da3ee39b..c934a55fa9 100644 --- a/packages/backend/src/server/web/bios.css +++ b/packages/backend/src/server/web/bios.css @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * + * SPDX-License-Identifier: AGPL-3.0-only + */ + * { font-family: Fira code, Fira Mono, Consolas, Menlo, Courier, monospace; } diff --git a/packages/backend/src/server/web/bios.js b/packages/backend/src/server/web/bios.js index 51899dd3a3..2d93e561eb 100644 --- a/packages/backend/src/server/web/bios.js +++ b/packages/backend/src/server/web/bios.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + 'use strict'; window.onload = async () => { diff --git a/packages/backend/src/server/web/boot.js b/packages/backend/src/server/web/boot.js index 38ae8ad2e5..d1f0b2d4bb 100644 --- a/packages/backend/src/server/web/boot.js +++ b/packages/backend/src/server/web/boot.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + /** * BOOT LOADER * サーバーからレスポンスされるHTMLに埋め込まれるスクリプトで、以下の役割を持ちます。 diff --git a/packages/backend/src/server/web/cli.css b/packages/backend/src/server/web/cli.css index 07cd27830b..b7737c3f21 100644 --- a/packages/backend/src/server/web/cli.css +++ b/packages/backend/src/server/web/cli.css @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * + * SPDX-License-Identifier: AGPL-3.0-only + */ + * { font-family: Fira code, Fira Mono, Consolas, Menlo, Courier, monospace; } diff --git a/packages/backend/src/server/web/cli.js b/packages/backend/src/server/web/cli.js index 5bb576a27b..19313332db 100644 --- a/packages/backend/src/server/web/cli.js +++ b/packages/backend/src/server/web/cli.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + 'use strict'; window.onload = async () => { diff --git a/packages/backend/src/server/web/error.css b/packages/backend/src/server/web/error.css index ab913f7a9f..ea3056bdaf 100644 --- a/packages/backend/src/server/web/error.css +++ b/packages/backend/src/server/web/error.css @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * + * SPDX-License-Identifier: AGPL-3.0-only + */ + * { font-family: BIZ UDGothic, Roboto, HelveticaNeue, Arial, sans-serif; } diff --git a/packages/backend/src/server/web/style.css b/packages/backend/src/server/web/style.css index d59f00fe16..952be9bf0b 100644 --- a/packages/backend/src/server/web/style.css +++ b/packages/backend/src/server/web/style.css @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: syuilo and other misskey contributors + * + * SPDX-License-Identifier: AGPL-3.0-only + */ + html { background-color: var(--bg); color: var(--fg); diff --git a/packages/backend/src/types.ts b/packages/backend/src/types.ts index 7c6a1e5199..2c69f0e56e 100644 --- a/packages/backend/src/types.ts +++ b/packages/backend/src/types.ts @@ -1,3 +1,7 @@ +// 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 04be97ad9d..cc36ad37dc 100644 --- a/packages/backend/test/e2e/2fa.ts +++ b/packages/backend/test/e2e/2fa.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + process.env.NODE_ENV = 'test'; import * as assert from 'assert'; diff --git a/packages/backend/test/e2e/antennas.ts b/packages/backend/test/e2e/antennas.ts index cb526669f5..b263390007 100644 --- a/packages/backend/test/e2e/antennas.ts +++ b/packages/backend/test/e2e/antennas.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + process.env.NODE_ENV = 'test'; import * as assert from 'assert'; diff --git a/packages/backend/test/e2e/api-visibility.ts b/packages/backend/test/e2e/api-visibility.ts index f781559d50..aea779bd3d 100644 --- a/packages/backend/test/e2e/api-visibility.ts +++ b/packages/backend/test/e2e/api-visibility.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + process.env.NODE_ENV = 'test'; import * as assert from 'assert'; diff --git a/packages/backend/test/e2e/api.ts b/packages/backend/test/e2e/api.ts index c6beec4f88..1e38e7c510 100644 --- a/packages/backend/test/e2e/api.ts +++ b/packages/backend/test/e2e/api.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + process.env.NODE_ENV = 'test'; import * as assert from 'assert'; diff --git a/packages/backend/test/e2e/block.ts b/packages/backend/test/e2e/block.ts index 8357884092..ba338f83ad 100644 --- a/packages/backend/test/e2e/block.ts +++ b/packages/backend/test/e2e/block.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + process.env.NODE_ENV = 'test'; import * as assert from 'assert'; diff --git a/packages/backend/test/e2e/clips.ts b/packages/backend/test/e2e/clips.ts index 175f2cac97..8aced1a28c 100644 --- a/packages/backend/test/e2e/clips.ts +++ b/packages/backend/test/e2e/clips.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + process.env.NODE_ENV = 'test'; import * as assert from 'assert'; diff --git a/packages/backend/test/e2e/endpoints.ts b/packages/backend/test/e2e/endpoints.ts index a1e89d4833..7a0275917f 100644 --- a/packages/backend/test/e2e/endpoints.ts +++ b/packages/backend/test/e2e/endpoints.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + process.env.NODE_ENV = 'test'; import * as assert from 'assert'; diff --git a/packages/backend/test/e2e/fetch-resource.ts b/packages/backend/test/e2e/fetch-resource.ts index 115945dd3d..84c1d18829 100644 --- a/packages/backend/test/e2e/fetch-resource.ts +++ b/packages/backend/test/e2e/fetch-resource.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + process.env.NODE_ENV = 'test'; import * as assert from 'assert'; diff --git a/packages/backend/test/e2e/ff-visibility.ts b/packages/backend/test/e2e/ff-visibility.ts index 9082c77f07..d01f26520e 100644 --- a/packages/backend/test/e2e/ff-visibility.ts +++ b/packages/backend/test/e2e/ff-visibility.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + process.env.NODE_ENV = 'test'; import * as assert from 'assert'; diff --git a/packages/backend/test/e2e/move.ts b/packages/backend/test/e2e/move.ts index 2fefcd0f0e..475a93ff19 100644 --- a/packages/backend/test/e2e/move.ts +++ b/packages/backend/test/e2e/move.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + process.env.NODE_ENV = 'test'; import * as assert from 'assert'; diff --git a/packages/backend/test/e2e/mute.ts b/packages/backend/test/e2e/mute.ts index 79e2c90f64..22dff6e0cd 100644 --- a/packages/backend/test/e2e/mute.ts +++ b/packages/backend/test/e2e/mute.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + process.env.NODE_ENV = 'test'; import * as assert from 'assert'; diff --git a/packages/backend/test/e2e/note.ts b/packages/backend/test/e2e/note.ts index 33da811a26..da23c68163 100644 --- a/packages/backend/test/e2e/note.ts +++ b/packages/backend/test/e2e/note.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + process.env.NODE_ENV = 'test'; import * as assert from 'assert'; diff --git a/packages/backend/test/e2e/renote-mute.ts b/packages/backend/test/e2e/renote-mute.ts index 72fc599aaf..507bb1699d 100644 --- a/packages/backend/test/e2e/renote-mute.ts +++ b/packages/backend/test/e2e/renote-mute.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + process.env.NODE_ENV = 'test'; import * as assert from 'assert'; diff --git a/packages/backend/test/e2e/streaming.ts b/packages/backend/test/e2e/streaming.ts index 2cddafed2e..3f98bc778c 100644 --- a/packages/backend/test/e2e/streaming.ts +++ b/packages/backend/test/e2e/streaming.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + process.env.NODE_ENV = 'test'; import * as assert from 'assert'; diff --git a/packages/backend/test/e2e/thread-mute.ts b/packages/backend/test/e2e/thread-mute.ts index e01ea90fe0..f7c9a9c5e2 100644 --- a/packages/backend/test/e2e/thread-mute.ts +++ b/packages/backend/test/e2e/thread-mute.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + process.env.NODE_ENV = 'test'; import * as assert from 'assert'; diff --git a/packages/backend/test/e2e/user-notes.ts b/packages/backend/test/e2e/user-notes.ts index 3681456c7e..9071bf11d9 100644 --- a/packages/backend/test/e2e/user-notes.ts +++ b/packages/backend/test/e2e/user-notes.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + process.env.NODE_ENV = 'test'; import * as assert from 'assert'; diff --git a/packages/backend/test/e2e/users.ts b/packages/backend/test/e2e/users.ts index 64efaa57cc..4510d73881 100644 --- a/packages/backend/test/e2e/users.ts +++ b/packages/backend/test/e2e/users.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + process.env.NODE_ENV = 'test'; import * as assert from 'assert'; diff --git a/packages/backend/test/misc/mock-resolver.ts b/packages/backend/test/misc/mock-resolver.ts index 9dbe77a7c4..c07539bda0 100644 --- a/packages/backend/test/misc/mock-resolver.ts +++ b/packages/backend/test/misc/mock-resolver.ts @@ -1,3 +1,7 @@ +// 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'; import type { ApRendererService } from '@/core/activitypub/ApRendererService.js'; diff --git a/packages/backend/test/prelude/get-api-validator.ts b/packages/backend/test/prelude/get-api-validator.ts index f095774760..b563809c87 100644 --- a/packages/backend/test/prelude/get-api-validator.ts +++ b/packages/backend/test/prelude/get-api-validator.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { Schema } from '@/misc/schema'; import Ajv from 'ajv'; diff --git a/packages/backend/test/prelude/maybe.ts b/packages/backend/test/prelude/maybe.ts index b8679c1071..488937545c 100644 --- a/packages/backend/test/prelude/maybe.ts +++ b/packages/backend/test/prelude/maybe.ts @@ -1,3 +1,7 @@ +// 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 23b6b22bb0..389ce27df8 100644 --- a/packages/backend/test/prelude/url.ts +++ b/packages/backend/test/prelude/url.ts @@ -1,3 +1,7 @@ +// 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 9ee6d4bcfb..e323fc1391 100644 --- a/packages/backend/test/unit/DriveService.ts +++ b/packages/backend/test/unit/DriveService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + process.env.NODE_ENV = 'test'; import { Test } from '@nestjs/testing'; diff --git a/packages/backend/test/unit/FetchInstanceMetadataService.ts b/packages/backend/test/unit/FetchInstanceMetadataService.ts index 1ee2939829..8cd87f1957 100644 --- a/packages/backend/test/unit/FetchInstanceMetadataService.ts +++ b/packages/backend/test/unit/FetchInstanceMetadataService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + process.env.NODE_ENV = 'test'; import { jest } from '@jest/globals'; diff --git a/packages/backend/test/unit/FileInfoService.ts b/packages/backend/test/unit/FileInfoService.ts index efb9bdacc3..720890feae 100644 --- a/packages/backend/test/unit/FileInfoService.ts +++ b/packages/backend/test/unit/FileInfoService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + process.env.NODE_ENV = 'test'; import * as assert from 'assert'; diff --git a/packages/backend/test/unit/MetaService.ts b/packages/backend/test/unit/MetaService.ts index 9efd8bbe70..90e44af22c 100644 --- a/packages/backend/test/unit/MetaService.ts +++ b/packages/backend/test/unit/MetaService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + process.env.NODE_ENV = 'test'; import { jest } from '@jest/globals'; diff --git a/packages/backend/test/unit/MfmService.ts b/packages/backend/test/unit/MfmService.ts index 5496738778..62e30fa47e 100644 --- a/packages/backend/test/unit/MfmService.ts +++ b/packages/backend/test/unit/MfmService.ts @@ -1,3 +1,7 @@ +// 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'; import { Test } from '@nestjs/testing'; diff --git a/packages/backend/test/unit/ReactionService.ts b/packages/backend/test/unit/ReactionService.ts index aa68f4117d..9680292458 100644 --- a/packages/backend/test/unit/ReactionService.ts +++ b/packages/backend/test/unit/ReactionService.ts @@ -1,3 +1,7 @@ +// 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 6bf08f5091..94e1386e8d 100644 --- a/packages/backend/test/unit/RelayService.ts +++ b/packages/backend/test/unit/RelayService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + process.env.NODE_ENV = 'test'; import { jest } from '@jest/globals'; diff --git a/packages/backend/test/unit/RoleService.ts b/packages/backend/test/unit/RoleService.ts index 6979f23e0c..85c5b635cc 100644 --- a/packages/backend/test/unit/RoleService.ts +++ b/packages/backend/test/unit/RoleService.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + process.env.NODE_ENV = 'test'; import { jest } from '@jest/globals'; diff --git a/packages/backend/test/unit/S3Service.ts b/packages/backend/test/unit/S3Service.ts index 1dfa22afd2..49ca8cd3b8 100644 --- a/packages/backend/test/unit/S3Service.ts +++ b/packages/backend/test/unit/S3Service.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + process.env.NODE_ENV = 'test'; import { Test } from '@nestjs/testing'; diff --git a/packages/backend/test/unit/activitypub.ts b/packages/backend/test/unit/activitypub.ts index 78b916c112..34c3eeff78 100644 --- a/packages/backend/test/unit/activitypub.ts +++ b/packages/backend/test/unit/activitypub.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + process.env.NODE_ENV = 'test'; import * as assert from 'assert'; diff --git a/packages/backend/test/unit/ap-request.ts b/packages/backend/test/unit/ap-request.ts index 98f352e1c6..af95d01e0c 100644 --- a/packages/backend/test/unit/ap-request.ts +++ b/packages/backend/test/unit/ap-request.ts @@ -1,3 +1,7 @@ +// 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 40554d3a47..f5aac7c17b 100644 --- a/packages/backend/test/unit/chart.ts +++ b/packages/backend/test/unit/chart.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + process.env.NODE_ENV = 'test'; import * as assert from 'assert'; diff --git a/packages/backend/test/unit/extract-mentions.ts b/packages/backend/test/unit/extract-mentions.ts index 66d32be1c5..547fd6b624 100644 --- a/packages/backend/test/unit/extract-mentions.ts +++ b/packages/backend/test/unit/extract-mentions.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import * as assert from 'assert'; import { parse } from 'mfm-js'; diff --git a/packages/backend/test/unit/misc/check-word-mute.ts b/packages/backend/test/unit/misc/check-word-mute.ts index 7ab838bdee..4131e9dfe3 100644 --- a/packages/backend/test/unit/misc/check-word-mute.ts +++ b/packages/backend/test/unit/misc/check-word-mute.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { checkWordMute } from '@/misc/check-word-mute.js'; describe(checkWordMute, () => { diff --git a/packages/backend/test/unit/misc/id.ts b/packages/backend/test/unit/misc/id.ts index ecd0e60a31..26a9871563 100644 --- a/packages/backend/test/unit/misc/id.ts +++ b/packages/backend/test/unit/misc/id.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + 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'; diff --git a/packages/backend/test/unit/misc/others.ts b/packages/backend/test/unit/misc/others.ts index c476aef33b..70573a4c37 100644 --- a/packages/backend/test/unit/misc/others.ts +++ b/packages/backend/test/unit/misc/others.ts @@ -1,3 +1,7 @@ +// 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'; diff --git a/packages/backend/test/utils.ts b/packages/backend/test/utils.ts index 31ea3e5ab8..3bd0b05478 100644 --- a/packages/backend/test/utils.ts +++ b/packages/backend/test/utils.ts @@ -1,3 +1,7 @@ +// 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'; import { isAbsolute, basename } from 'node:path'; diff --git a/packages/backend/watch.mjs b/packages/backend/watch.mjs index 9c9d2dbd86..c17d87a013 100644 --- a/packages/backend/watch.mjs +++ b/packages/backend/watch.mjs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { execa } from 'execa'; (async () => { diff --git a/packages/frontend/@types/global.d.ts b/packages/frontend/@types/global.d.ts index c757482900..77dd585b1c 100644 --- a/packages/frontend/@types/global.d.ts +++ b/packages/frontend/@types/global.d.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + type FIXME = any; declare const _LANGS_: string[][]; diff --git a/packages/frontend/@types/theme.d.ts b/packages/frontend/@types/theme.d.ts index 67f724a9aa..2d64da25cf 100644 --- a/packages/frontend/@types/theme.d.ts +++ b/packages/frontend/@types/theme.d.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + declare module '@/themes/*.json5' { import { Theme } from "@/scripts/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 3929bf0608..2dfe2750e3 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,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { parse } from 'acorn'; import { generate } from 'astring'; import { describe, expect, it } from 'vitest'; 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 a18f0d9049..d5eb01d692 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,3 +1,7 @@ +// SPDX-FileCopyrightText: syuilo and other misskey contributors +// +// SPDX-License-Identifier: AGPL-3.0-only + import { generate } from 'astring'; import * as estree from 'estree'; import { walk } from '../node_modules/estree-walker/src/index.js'; diff --git a/packages/frontend/public/mockServiceWorker.js b/packages/frontend/public/mockServiceWorker.js index e915a1eb08..a4f3e47eb5 100644 --- a/packages/frontend/public/mockServiceWorker.js +++ b/packages/frontend/public/mockServiceWorker.js @@ -1,3 +1,7 @@ +// 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 921c161765..344fa6221d 100644 --- a/packages/frontend/src/_boot_.ts +++ b/packages/frontend/src/_boot_.ts @@ -1,3 +1,7 @@ +// 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 4770f616ac..758bcf9ad1 100644 --- a/packages/frontend/src/account.ts +++ b/packages/frontend/src/account.ts @@ -1,3 +1,7 @@ +// 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'; import { showSuspendedDialog } from './scripts/show-suspended-dialog'; diff --git a/packages/frontend/src/boot/common.ts b/packages/frontend/src/boot/common.ts index e1b12fe7d6..3f93e2ac4e 100644 --- a/packages/frontend/src/boot/common.ts +++ b/packages/frontend/src/boot/common.ts @@ -1,3 +1,7 @@ +// 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'; import widgets from '@/widgets'; diff --git a/packages/frontend/src/boot/main-boot.ts b/packages/frontend/src/boot/main-boot.ts index 0a351cd6e3..026076628b 100644 --- a/packages/frontend/src/boot/main-boot.ts +++ b/packages/frontend/src/boot/main-boot.ts @@ -1,3 +1,7 @@ +// 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'; import { version, ui, lang, updateLocale } from '@/config'; diff --git a/packages/frontend/src/boot/sub-boot.ts b/packages/frontend/src/boot/sub-boot.ts index c2664f6c1d..8b7b914599 100644 --- a/packages/frontend/src/boot/sub-boot.ts +++ b/packages/frontend/src/boot/sub-boot.ts @@ -1,3 +1,7 @@ +// 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 cb315c8ff7..d28f31b0eb 100644 --- a/packages/frontend/src/cache.ts +++ b/packages/frontend/src/cache.ts @@ -1,3 +1,7 @@ +// 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 7d27adeb04..8dbe02de5f 100644 --- a/packages/frontend/src/components/MkAbuseReport.stories.impl.ts +++ b/packages/frontend/src/components/MkAbuseReport.stories.impl.ts @@ -1,3 +1,7 @@ +// 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'; import { StoryObj } from '@storybook/vue3'; diff --git a/packages/frontend/src/components/MkAbuseReport.vue b/packages/frontend/src/components/MkAbuseReport.vue index dee80378e6..a10e25b60b 100644 --- a/packages/frontend/src/components/MkAbuseReport.vue +++ b/packages/frontend/src/components/MkAbuseReport.vue @@ -1,3 +1,9 @@ + +