-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
90 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 9 additions & 12 deletions
21
src/main/kotlin/com/wafflestudio/toyproject/memoWithTags/memo/dto/MemoResponse.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,27 @@ | ||
package com.wafflestudio.toyproject.memoWithTags.memo.dto | ||
|
||
import java.time.Instant | ||
import java.util.UUID | ||
|
||
sealed class MemoResponse { | ||
data class AddTagResponse( | ||
val tagId: UUID | ||
val tagId: Long | ||
) : MemoResponse() | ||
|
||
data class CreateMemoResponse( | ||
val id: UUID, | ||
val id: Long, | ||
val content: String, | ||
val tagIds: List<UUID>, | ||
val locked: Boolean, | ||
val embeddingVector: List<Double>, | ||
val tagIds: List<Long>, | ||
val createdAt: Instant, | ||
val updatedAt: Instant | ||
val updatedAt: Instant, | ||
val locked: Boolean | ||
) : MemoResponse() | ||
|
||
data class UpdateMemoResponse( | ||
val id: UUID, | ||
val id: Long, | ||
val content: String, | ||
val tagIds: List<UUID>, | ||
val locked: Boolean, | ||
val embeddingVector: List<Double>, | ||
val tagIds: List<Long>, | ||
val createdAt: Instant, | ||
val updatedAt: Instant | ||
val updatedAt: Instant, | ||
val locked: Boolean | ||
) : MemoResponse() | ||
} |
22 changes: 0 additions & 22 deletions
22
...lin/com/wafflestudio/toyproject/memoWithTags/memo/persistence/EmbeddingVectorConverter.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 0 additions & 10 deletions
10
src/main/kotlin/com/wafflestudio/toyproject/memoWithTags/tag/dto/TagRequest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,14 @@ | ||
package com.wafflestudio.toyproject.memoWithTags.tag.dto | ||
|
||
import java.time.Instant | ||
import java.util.UUID | ||
|
||
sealed class TagRequest { | ||
data class CreateTagRequest( | ||
val id: UUID, | ||
val name: String, | ||
val colorHex: String, | ||
val embeddingVector: List<Double>, | ||
val createdAt: Instant, | ||
val updatedAt: Instant? | ||
) : TagRequest() | ||
|
||
data class UpdateTagRequest( | ||
val id: UUID, | ||
val name: String, | ||
val colorHex: String, | ||
val embeddingVector: List<Double>, | ||
val createdAt: Instant, | ||
val updatedAt: Instant? | ||
) : TagResponse() | ||
} |
Oops, something went wrong.