style: fix lint (CI)

This commit is contained in:
usbharu 2024-09-14 13:26:21 +00:00 committed by github-actions[bot]
parent d9b51d44e1
commit a1cef4657e
37 changed files with 40 additions and 40 deletions

View File

@ -69,4 +69,4 @@ class GetActorDetailApplicationService(
data class GetActorDetail( data class GetActorDetail(
val actorName: Acct? = null, val actorName: Acct? = null,
val id: Long? = null val id: Long? = null
) )

View File

@ -52,4 +52,4 @@ class GetUserDetailApplicationService(
} }
} }
data class GetUserDetail(val id: Long) data class GetUserDetail(val id: Long)

View File

@ -75,4 +75,4 @@ class MigrationLocalActorApplicationService(
} }
} }
data class MigrationLocalActor(val from: Long, val to: Long) data class MigrationLocalActor(val from: Long, val to: Long)

View File

@ -80,4 +80,4 @@ class RegisterLocalActorApplicationService(
data class RegisterLocalActor( data class RegisterLocalActor(
val name: String, val name: String,
val password: String, val password: String,
) )

View File

@ -46,4 +46,4 @@ class StartDeleteLocalActorApplicationService(
} }
} }
data class DeleteLocalActor(val actorId: ActorId) data class DeleteLocalActor(val actorId: ActorId)

View File

@ -43,4 +43,4 @@ class SuspendLocalActorApplicationService(
} }
} }
data class SuspendLocalActor(val actorId: Long) data class SuspendLocalActor(val actorId: Long)

View File

@ -43,4 +43,4 @@ class UnsuspendLocalActorApplicationService(
} }
} }
data class UnsuspendLocalActor(val actorId: Long) data class UnsuspendLocalActor(val actorId: Long)

View File

@ -108,4 +108,4 @@ data class RegisterApplication(
val redirectUris: Set<URI>, val redirectUris: Set<URI>,
val useRefreshToken: Boolean, val useRefreshToken: Boolean,
val scopes: Set<String>, val scopes: Set<String>,
) )

View File

@ -45,4 +45,4 @@ class UserDeleteFilterApplicationService(private val filterRepository: FilterRep
} }
} }
data class DeleteFilter(val filterId: Long) data class DeleteFilter(val filterId: Long)

View File

@ -46,4 +46,4 @@ class UserGetFilterApplicationService(private val filterRepository: FilterReposi
} }
} }
data class GetFilter(val filterId: Long) data class GetFilter(val filterId: Long)

View File

@ -72,4 +72,4 @@ data class RegisterFilter(
data class RegisterFilterKeyword( data class RegisterFilterKeyword(
val keyword: String, val keyword: String,
val filterMode: FilterMode, val filterMode: FilterMode,
) )

View File

@ -80,4 +80,4 @@ data class UploadMedia(
val name: String, val name: String,
val remoteUri: URI?, val remoteUri: URI?,
val description: String? val description: String?
) )

View File

@ -51,4 +51,4 @@ class DeleteLocalPostApplicationService(
} }
} }
data class DeleteLocalPost(val postId: Long) data class DeleteLocalPost(val postId: Long)

View File

@ -115,4 +115,4 @@ class GetPostDetailApplicationService(
} }
} }
data class GetPostDetail(val postId: Long) data class GetPostDetail(val postId: Long)

View File

@ -74,4 +74,4 @@ data class RegisterLocalPost(
val replyId: Long?, val replyId: Long?,
val sensitive: Boolean, val sensitive: Boolean,
val mediaIds: List<Long>, val mediaIds: List<Long>,
) )

View File

@ -71,4 +71,4 @@ data class UpdateLocalNote(
val content: String, val content: String,
val sensitive: Boolean, val sensitive: Boolean,
val mediaIds: List<Long> val mediaIds: List<Long>
) )

View File

@ -80,4 +80,4 @@ class UserCreateReactionApplicationService(
} }
} }
data class CreateReaction(val postId: Long, val customEmojiId: Long?, val unicodeEmoji: String) data class CreateReaction(val postId: Long, val customEmojiId: Long?, val unicodeEmoji: String)

View File

@ -70,4 +70,4 @@ data class RemoveReaction(
val postId: Long, val postId: Long,
val customEmojiId: Long?, val customEmojiId: Long?,
val unicodeEmoji: String val unicodeEmoji: String
) )

View File

@ -71,4 +71,4 @@ class GetRelationshipApplicationService(
} }
} }
data class GetRelationship(val targetActorId: Long) data class GetRelationship(val targetActorId: Long)

View File

@ -52,4 +52,4 @@ class UserAcceptFollowRequestApplicationService(
} }
} }
data class AcceptFollowRequest(val sourceActorId: Long) data class AcceptFollowRequest(val sourceActorId: Long)

View File

@ -62,4 +62,4 @@ class UserBlockApplicationService(
} }
} }
data class Block(val targetActorId: Long) data class Block(val targetActorId: Long)

View File

@ -57,4 +57,4 @@ class UserFollowRequestApplicationService(
} }
} }
data class FollowRequest(val targetActorId: Long) data class FollowRequest(val targetActorId: Long)

View File

@ -54,4 +54,4 @@ class UserMuteApplicationService(
} }
} }
data class Mute(val targetActorId: Long) data class Mute(val targetActorId: Long)

View File

@ -52,4 +52,4 @@ class UserRejectFollowRequestApplicationService(
} }
} }
data class RejectFollowRequest(val sourceActorId: Long) data class RejectFollowRequest(val sourceActorId: Long)

View File

@ -54,4 +54,4 @@ class UserRemoveFromFollowersApplicationService(
} }
} }
data class RemoveFromFollowers(val targetActorId: Long) data class RemoveFromFollowers(val targetActorId: Long)

View File

@ -54,4 +54,4 @@ class UserUnblockApplicationService(
} }
} }
data class Unblock(val targetActorId: Long) data class Unblock(val targetActorId: Long)

View File

@ -54,4 +54,4 @@ class UserUnfollowApplicationService(
} }
} }
data class Unfollow(val targetActorId: Long) data class Unfollow(val targetActorId: Long)

View File

@ -54,4 +54,4 @@ class UserUnmuteApplicationService(
} }
} }
data class Unmute(val targetActorId: Long) data class Unmute(val targetActorId: Long)

View File

@ -69,4 +69,4 @@ class GetUserTimelineApplicationService(
} }
} }
data class GetUserTimeline(val id: Long, val page: Page) data class GetUserTimeline(val id: Long, val page: Page)

View File

@ -112,4 +112,4 @@ data class ReadTimeline(
val localOnly: Boolean, val localOnly: Boolean,
val remoteOnly: Boolean, val remoteOnly: Boolean,
val page: Page val page: Page
) )

View File

@ -46,4 +46,4 @@ class SetTimelineToTimelineStoreApplicationService(
} }
} }
data class SetTimleineStore(val timelineId: TimelineId) data class SetTimleineStore(val timelineId: TimelineId)

View File

@ -45,4 +45,4 @@ class TimelineAddPostApplicationService(
} }
} }
data class AddPost(val postId: PostId) data class AddPost(val postId: PostId)

View File

@ -69,4 +69,4 @@ data class AddTimelineRelationship(
val timelineId: TimelineId, val timelineId: TimelineId,
val actorId: ActorId, val actorId: ActorId,
val visible: Visible val visible: Visible
) )

View File

@ -52,4 +52,4 @@ class UserGetTimelinesApplicationService(transaction: Transaction, private val t
} }
} }
data class GetTimelines(val userDetailId: Long) data class GetTimelines(val userDetailId: Long)

View File

@ -52,4 +52,4 @@ class UserRegisterTimelineApplicationService(
data class RegisterTimeline( data class RegisterTimeline(
val timelineName: String, val timelineName: String,
val visibility: TimelineVisibility val visibility: TimelineVisibility
) )

View File

@ -60,4 +60,4 @@ class UserRemoveTimelineRelationshipApplicationService(
} }
} }
data class RemoveTimelineRelationship(val timelineRelationshipId: TimelineRelationshipId) data class RemoveTimelineRelationship(val timelineRelationshipId: TimelineRelationshipId)

View File

@ -58,10 +58,10 @@ class ExposedUserTimelineQueryService : UserTimelineQueryService, AbstractReposi
.select(Posts.columns) .select(Posts.columns)
.where { .where {
Posts.visibility eq Visibility.PUBLIC.name or Posts.visibility eq Visibility.PUBLIC.name or
(Posts.visibility eq Visibility.UNLISTED.name) or (Posts.visibility eq Visibility.UNLISTED.name) or
(Posts.visibility eq Visibility.DIRECT.name and (PostsVisibleActors.actorId eq principal.actorId.id)) or (Posts.visibility eq Visibility.DIRECT.name and (PostsVisibleActors.actorId eq principal.actorId.id)) or
(Posts.visibility eq Visibility.FOLLOWERS.name and (Relationships.blocking eq false and (relationshipsAlias[Relationships.following] eq true))) or (Posts.visibility eq Visibility.FOLLOWERS.name and (Relationships.blocking eq false and (relationshipsAlias[Relationships.following] eq true))) or
(Posts.actorId eq principal.actorId.id) (Posts.actorId eq principal.actorId.id)
} }
.alias("authorized_table") .alias("authorized_table")
} }