-
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 #71 from akiomik/new-lexicons
Add new lexicons support
- Loading branch information
Showing
78 changed files
with
455 additions
and
496 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
10 changes: 0 additions & 10 deletions
10
app/src/main/java/io/github/akiomik/seiun/model/app/bsky/actor/MyState.kt
This file was deleted.
Oops, something went wrong.
8 changes: 4 additions & 4 deletions
8
app/src/main/java/io/github/akiomik/seiun/model/app/bsky/actor/Profile.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,12 +1,12 @@ | ||
package io.github.akiomik.seiun.model.app.bsky.actor | ||
|
||
import com.squareup.moshi.JsonClass | ||
import io.github.akiomik.seiun.model.type.Image | ||
import io.github.akiomik.seiun.model.type.Blob | ||
|
||
@JsonClass(generateAdapter = true) | ||
data class Profile( | ||
val displayName: String, | ||
val displayName: String? = null, | ||
val description: String? = null, | ||
val avatar: Image? = null, | ||
val banner: Image? = null | ||
val avatar: Blob? = null, | ||
val banner: Blob? = null | ||
) |
16 changes: 7 additions & 9 deletions
16
...iun/model/app/bsky/actor/ProfileDetail.kt → ...seiun/model/app/bsky/actor/ProfileView.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,21 +1,19 @@ | ||
package io.github.akiomik.seiun.model.app.bsky.actor | ||
|
||
import com.squareup.moshi.JsonClass | ||
import io.github.akiomik.seiun.model.app.bsky.system.DeclRef | ||
import java.util.* | ||
|
||
@JsonClass(generateAdapter = true) | ||
data class ProfileDetail( | ||
data class ProfileView( | ||
val did: String, | ||
val declaration: DeclRef, | ||
val handle: String, | ||
val creator: String, | ||
val followersCount: Int, | ||
val followsCount: Int, | ||
val postsCount: Int, | ||
val membersCount: Int? = null, | ||
val displayName: String? = null, | ||
val description: String? = null, | ||
val avatar: String? = null, | ||
val banner: String? = null, | ||
val myState: MyState? = null | ||
val followersCount: Int? = null, | ||
val followsCount: Int? = null, | ||
val postsCount: Int? = null, | ||
val indexedAt: Date? = null, | ||
val viewer: ViewerState? = null | ||
) |
9 changes: 0 additions & 9 deletions
9
app/src/main/java/io/github/akiomik/seiun/model/app/bsky/actor/Ref.kt
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
app/src/main/java/io/github/akiomik/seiun/model/app/bsky/actor/UpdateProfileInput.kt
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
app/src/main/java/io/github/akiomik/seiun/model/app/bsky/actor/UpdateProfileOutput.kt
This file was deleted.
Oops, something went wrong.
4 changes: 1 addition & 3 deletions
4
...seiun/model/app/bsky/actor/RefWithInfo.kt → ...ik/seiun/model/app/bsky/actor/WithInfo.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
6 changes: 0 additions & 6 deletions
6
app/src/main/java/io/github/akiomik/seiun/model/app/bsky/blob/UploadBlobOutput.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
4 changes: 2 additions & 2 deletions
4
app/src/main/java/io/github/akiomik/seiun/model/app/bsky/embed/ExternalExternal.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,12 +1,12 @@ | ||
package io.github.akiomik.seiun.model.app.bsky.embed | ||
|
||
import com.squareup.moshi.JsonClass | ||
import io.github.akiomik.seiun.model.type.Image as ImageType | ||
import io.github.akiomik.seiun.model.type.Blob | ||
|
||
@JsonClass(generateAdapter = true) | ||
data class ExternalExternal( | ||
val uri: String, | ||
val title: String, | ||
val description: String, | ||
val thumb: ImageType | ||
val thumb: Blob? = null | ||
) |
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: 3 additions & 3 deletions
6
...iomik/seiun/model/app/bsky/embed/Image.kt → ...seiun/model/app/bsky/embed/ImagesImage.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,10 +1,10 @@ | ||
package io.github.akiomik.seiun.model.app.bsky.embed | ||
|
||
import com.squareup.moshi.JsonClass | ||
import io.github.akiomik.seiun.model.type.Image as ImageType | ||
import io.github.akiomik.seiun.model.type.Blob | ||
|
||
@JsonClass(generateAdapter = true) | ||
data class Image( | ||
val image: ImageType, | ||
data class ImagesImage( | ||
val image: Blob, | ||
val alt: 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
Oops, something went wrong.