Skip to content

Commit

Permalink
Revert "feat: temporary admin apis"
Browse files Browse the repository at this point in the history
This reverts commit 446e70d.
  • Loading branch information
CChuYong committed Sep 7, 2024
1 parent 09b97a1 commit 982aa0f
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 212 deletions.
80 changes: 0 additions & 80 deletions photo-service/src/main/java/kr/mafoo/photo/api/AlbumAdminApi.java

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package kr.mafoo.photo.repository;

import kr.mafoo.photo.domain.AlbumEntity;
import kr.mafoo.photo.domain.AlbumType;
import org.springframework.data.domain.Pageable;
import org.springframework.data.r2dbc.repository.Modifying;
import org.springframework.data.r2dbc.repository.Query;
import org.springframework.data.r2dbc.repository.R2dbcRepository;
Expand All @@ -25,11 +23,4 @@ public interface AlbumRepository extends R2dbcRepository<AlbumEntity, String> {
@Query("UPDATE album SET display_index = display_index -1 WHERE owner_member_id = :ownerMemberId " +
"AND display_index BETWEEN :startIndex AND :lastIndex")
Mono<Void> popDisplayIndexBetween(String ownerMemberId, Integer startIndex, Integer lastIndex);

Flux<AlbumEntity> findAllByOrderByAlbumIdDesc(Pageable pageable);

Flux<AlbumEntity> findAllByNameOrderByAlbumIdDesc(String name, Pageable pageable);
Flux<AlbumEntity> findAllByTypeOrderByAlbumIdDesc(AlbumType type, Pageable pageable);

Flux<AlbumEntity> findAllByOwnerMemberIdOrderByAlbumIdDesc(String ownerMemberId, Pageable pageable);
}

This file was deleted.

0 comments on commit 982aa0f

Please sign in to comment.