-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #80 from akiomik/fix-embed
Fix embed
- Loading branch information
Showing
28 changed files
with
77 additions
and
76 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
8 changes: 0 additions & 8 deletions
8
app/src/main/java/io/github/akiomik/seiun/model/app/bsky/embed/External.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
4 changes: 2 additions & 2 deletions
4
app/src/main/java/io/github/akiomik/seiun/model/app/bsky/feed/PostView.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
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
7 changes: 4 additions & 3 deletions
7
app/src/main/java/io/github/akiomik/seiun/model/app/bsky/feed/StrongRefOrRecord.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,11 +1,12 @@ | ||
package io.github.akiomik.seiun.model.app.bsky.feed | ||
|
||
import com.squareup.moshi.JsonClass | ||
import io.github.akiomik.seiun.model.com.atproto.repo.StrongRef | ||
|
||
// FIXME: May have embed, author, record, viewer, indexedAt, likeCount, replyCount, repostCount? | ||
@JsonClass(generateAdapter = true) | ||
data class StrongRefOrRecord( | ||
val uri: String? = null, // from com.atproto.repo.strongRef | ||
val cid: String? = null, // from com.atproto.repo.strongRef | ||
val record: StrongRef? = null // from app.bsky.embed.record | ||
val cid: String? = null // from com.atproto.repo.strongRef | ||
// FIXME: record may app.bsky.feed.post? | ||
// val record: StrongRef? = null // from app.bsky.embed.record | ||
) |
6 changes: 3 additions & 3 deletions
6
app/src/main/java/io/github/akiomik/seiun/model/app/bsky/graph/Followers.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,11 +1,11 @@ | ||
package io.github.akiomik.seiun.model.app.bsky.graph | ||
|
||
import com.squareup.moshi.JsonClass | ||
import io.github.akiomik.seiun.model.app.bsky.actor.WithInfo | ||
import io.github.akiomik.seiun.model.app.bsky.actor.ProfileViewBasic | ||
|
||
@JsonClass(generateAdapter = true) | ||
data class Followers( | ||
val subject: WithInfo, | ||
val followers: List<WithInfo>, | ||
val subject: ProfileViewBasic, | ||
val followers: List<ProfileViewBasic>, | ||
val cursor: String? = null | ||
) |
6 changes: 3 additions & 3 deletions
6
app/src/main/java/io/github/akiomik/seiun/model/app/bsky/graph/Follows.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,11 +1,11 @@ | ||
package io.github.akiomik.seiun.model.app.bsky.graph | ||
|
||
import com.squareup.moshi.JsonClass | ||
import io.github.akiomik.seiun.model.app.bsky.actor.WithInfo | ||
import io.github.akiomik.seiun.model.app.bsky.actor.ProfileViewBasic | ||
|
||
@JsonClass(generateAdapter = true) | ||
data class Follows( | ||
val subject: WithInfo, | ||
val follows: List<WithInfo>, | ||
val subject: ProfileViewBasic, | ||
val follows: List<ProfileViewBasic>, | ||
val cursor: String? = null | ||
) |
4 changes: 2 additions & 2 deletions
4
app/src/main/java/io/github/akiomik/seiun/model/app/bsky/notification/Notification.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
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
6 changes: 6 additions & 0 deletions
6
app/src/main/java/io/github/akiomik/seiun/model/type/BlobOriginal.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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package io.github.akiomik.seiun.model.type | ||
|
||
data class BlobOriginal( | ||
val cid: String, | ||
val mimeType: String | ||
) |
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
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
Oops, something went wrong.