Skip to content

Commit

Permalink
Merge pull request #66 from akiomik/fix-moshi-adapters
Browse files Browse the repository at this point in the history
Fix moshi adapters
  • Loading branch information
akiomik authored Mar 22, 2023
2 parents 9a99256 + 0e956ff commit af1a75d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package io.github.akiomik.seiun.model.app.bsky.actor

import com.squareup.moshi.JsonClass
import io.github.akiomik.seiun.model.type.Image

@JsonClass(generateAdapter = true)
data class Profile(
val displayName: String,
val description: String? = null,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package io.github.akiomik.seiun.model.app.bsky.actor

import com.squareup.moshi.JsonClass

@JsonClass(generateAdapter = true)
data class Ref(
val did: String,
val declarationCid: String
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package io.github.akiomik.seiun.model.app.bsky.actor

import com.squareup.moshi.JsonClass
import io.github.akiomik.seiun.model.type.Image

@JsonClass(generateAdapter = true)
data class UpdateProfileInput(
val did: String? = null,
val displayName: String? = null,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package io.github.akiomik.seiun.model.app.bsky.actor

import com.squareup.moshi.JsonClass

@JsonClass(generateAdapter = true)
data class UpdateProfileOutput(
val uri: String,
val cid: String,
Expand Down

0 comments on commit af1a75d

Please sign in to comment.