-
Notifications
You must be signed in to change notification settings - Fork 1
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
275 changed files
with
1,078 additions
and
913 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
*.iml | ||
.idea | ||
.gradle | ||
.kotlin | ||
target/ | ||
build/ | ||
out/ | ||
|
6 changes: 3 additions & 3 deletions
6
core/src/commonMain/kotlin/work/socialhub/kbsky/ATProtocol.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
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
.../socialhub/kbsky/api/bsky/FeedResource.kt → ...ialhub/kbsky/api/app/bsky/FeedResource.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
4 changes: 2 additions & 2 deletions
4
...socialhub/kbsky/api/bsky/GraphResource.kt → ...alhub/kbsky/api/app/bsky/GraphResource.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
4 changes: 2 additions & 2 deletions
4
...ub/kbsky/api/bsky/NotificationResource.kt → ...bsky/api/app/bsky/NotificationResource.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: 3 additions & 3 deletions
6
...alhub/kbsky/api/bsky/UnspeccedResource.kt → ...b/kbsky/api/app/bsky/UnspeccedResource.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
45 changes: 45 additions & 0 deletions
45
core/src/commonMain/kotlin/work/socialhub/kbsky/api/chat/bsky/ConvoResource.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,45 @@ | ||
package work.socialhub.kbsky.api.chat.bsky | ||
|
||
import work.socialhub.kbsky.api.entity.chat.bsky.convo.ConvoGetConvoForMembersRequest | ||
import work.socialhub.kbsky.api.entity.chat.bsky.convo.ConvoGetConvoForMembersResponse | ||
import work.socialhub.kbsky.api.entity.chat.bsky.convo.ConvoGetConvoRequest | ||
import work.socialhub.kbsky.api.entity.chat.bsky.convo.ConvoGetConvoResponse | ||
import work.socialhub.kbsky.api.entity.chat.bsky.convo.ConvoGetLogRequest | ||
import work.socialhub.kbsky.api.entity.chat.bsky.convo.ConvoGetLogResponse | ||
import work.socialhub.kbsky.api.entity.chat.bsky.convo.ConvoLeaveConvoRequest | ||
import work.socialhub.kbsky.api.entity.chat.bsky.convo.ConvoLeaveConvoResponse | ||
import work.socialhub.kbsky.api.entity.chat.bsky.convo.ConvoListConvosRequest | ||
import work.socialhub.kbsky.api.entity.chat.bsky.convo.ConvoListConvosResponse | ||
import work.socialhub.kbsky.api.entity.share.Response | ||
|
||
interface ConvoResource { | ||
|
||
/** | ||
* | ||
*/ | ||
fun getConvo( | ||
request: ConvoGetConvoRequest | ||
): Response<ConvoGetConvoResponse> | ||
|
||
/** | ||
* | ||
*/ | ||
fun getConvoForMembers( | ||
request: ConvoGetConvoForMembersRequest | ||
): Response<ConvoGetConvoForMembersResponse> | ||
|
||
/** | ||
* | ||
*/ | ||
fun getLog( | ||
request: ConvoGetLogRequest | ||
): Response<ConvoGetLogResponse> | ||
|
||
fun leaveConvo( | ||
request: ConvoLeaveConvoRequest | ||
): Response<ConvoLeaveConvoResponse> | ||
|
||
fun listConvos( | ||
request: ConvoListConvosRequest | ||
): Response<ConvoListConvosResponse> | ||
} |
6 changes: 3 additions & 3 deletions
6
...hub/kbsky/api/atproto/IdentityResource.kt → ...kbsky/api/com/atproto/IdentityResource.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
14 changes: 12 additions & 2 deletions
14
...cialhub/kbsky/api/atproto/RepoResource.kt → ...hub/kbsky/api/com/atproto/RepoResource.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
10 changes: 5 additions & 5 deletions
10
...alhub/kbsky/api/atproto/ServerResource.kt → ...b/kbsky/api/com/atproto/ServerResource.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
2 changes: 1 addition & 1 deletion
2
.../bsky/actor/ActorGetPreferencesRequest.kt → .../bsky/actor/ActorGetPreferencesRequest.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
4 changes: 2 additions & 2 deletions
4
...bsky/actor/ActorGetPreferencesResponse.kt → ...bsky/actor/ActorGetPreferencesResponse.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
2 changes: 1 addition & 1 deletion
2
...tity/bsky/actor/ActorGetProfileRequest.kt → .../app/bsky/actor/ActorGetProfileRequest.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
7 changes: 7 additions & 0 deletions
7
...mmonMain/kotlin/work/socialhub/kbsky/api/entity/app/bsky/actor/ActorGetProfileResponse.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,7 @@ | ||
package work.socialhub.kbsky.api.entity.app.bsky.actor | ||
|
||
import kotlinx.serialization.Serializable | ||
import work.socialhub.kbsky.model.app.bsky.actor.ActorDefsProfileViewDetailed | ||
|
||
@Serializable | ||
class ActorGetProfileResponse : ActorDefsProfileViewDetailed() |
2 changes: 1 addition & 1 deletion
2
...ity/bsky/actor/ActorGetProfilesRequest.kt → ...app/bsky/actor/ActorGetProfilesRequest.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
4 changes: 2 additions & 2 deletions
4
...ty/bsky/actor/ActorGetProfilesResponse.kt → ...pp/bsky/actor/ActorGetProfilesResponse.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
2 changes: 1 addition & 1 deletion
2
...ty/bsky/actor/ActorSearchActorsRequest.kt → ...pp/bsky/actor/ActorSearchActorsRequest.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
4 changes: 2 additions & 2 deletions
4
...y/bsky/actor/ActorSearchActorsResponse.kt → ...p/bsky/actor/ActorSearchActorsResponse.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
2 changes: 1 addition & 1 deletion
2
...y/bsky/actor/ActorUpdateProfileRequest.kt → ...p/bsky/actor/ActorUpdateProfileRequest.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
7 changes: 7 additions & 0 deletions
7
...nMain/kotlin/work/socialhub/kbsky/api/entity/app/bsky/actor/ActorUpdateProfileResponse.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,7 @@ | ||
package work.socialhub.kbsky.api.entity.app.bsky.actor | ||
|
||
import kotlinx.serialization.Serializable | ||
import work.socialhub.kbsky.api.entity.com.atproto.repo.RepoPutRecordResponse | ||
|
||
@Serializable | ||
class ActorUpdateProfileResponse : RepoPutRecordResponse() |
2 changes: 1 addition & 1 deletion
2
...entity/bsky/feed/FeedDeleteLikeRequest.kt → ...ty/app/bsky/feed/FeedDeleteLikeRequest.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
2 changes: 1 addition & 1 deletion
2
...entity/bsky/feed/FeedDeletePostRequest.kt → ...ty/app/bsky/feed/FeedDeletePostRequest.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
2 changes: 1 addition & 1 deletion
2
...tity/bsky/feed/FeedDeleteRepostRequest.kt → .../app/bsky/feed/FeedDeleteRepostRequest.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
2 changes: 1 addition & 1 deletion
2
...ity/bsky/feed/FeedGetActorFeedsRequest.kt → ...app/bsky/feed/FeedGetActorFeedsRequest.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
4 changes: 2 additions & 2 deletions
4
...ty/bsky/feed/FeedGetActorFeedsResponse.kt → ...pp/bsky/feed/FeedGetActorFeedsResponse.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
2 changes: 1 addition & 1 deletion
2
...ity/bsky/feed/FeedGetActorLikesRequest.kt → ...app/bsky/feed/FeedGetActorLikesRequest.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
4 changes: 2 additions & 2 deletions
4
...ty/bsky/feed/FeedGetActorLikesResponse.kt → ...pp/bsky/feed/FeedGetActorLikesResponse.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
2 changes: 1 addition & 1 deletion
2
...ity/bsky/feed/FeedGetAuthorFeedRequest.kt → ...app/bsky/feed/FeedGetAuthorFeedRequest.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
4 changes: 2 additions & 2 deletions
4
...ty/bsky/feed/FeedGetAuthorFeedResponse.kt → ...pp/bsky/feed/FeedGetAuthorFeedResponse.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
2 changes: 1 addition & 1 deletion
2
.../bsky/feed/FeedGetFeedGeneratorRequest.kt → .../bsky/feed/FeedGetFeedGeneratorRequest.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
11 changes: 11 additions & 0 deletions
11
...Main/kotlin/work/socialhub/kbsky/api/entity/app/bsky/feed/FeedGetFeedGeneratorResponse.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,11 @@ | ||
package work.socialhub.kbsky.api.entity.app.bsky.feed | ||
|
||
import kotlinx.serialization.Serializable | ||
import work.socialhub.kbsky.model.app.bsky.feed.FeedDefsGeneratorView | ||
|
||
@Serializable | ||
class FeedGetFeedGeneratorResponse { | ||
var view: work.socialhub.kbsky.model.app.bsky.feed.FeedDefsGeneratorView? = null | ||
var online: Boolean? = null | ||
var valid: Boolean? = null | ||
} |
2 changes: 1 addition & 1 deletion
2
...bsky/feed/FeedGetFeedGeneratorsRequest.kt → ...bsky/feed/FeedGetFeedGeneratorsRequest.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
9 changes: 9 additions & 0 deletions
9
...ain/kotlin/work/socialhub/kbsky/api/entity/app/bsky/feed/FeedGetFeedGeneratorsResponse.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,9 @@ | ||
package work.socialhub.kbsky.api.entity.app.bsky.feed | ||
|
||
import kotlinx.serialization.Serializable | ||
import work.socialhub.kbsky.model.app.bsky.feed.FeedDefsGeneratorView | ||
|
||
@Serializable | ||
class FeedGetFeedGeneratorsResponse { | ||
lateinit var feeds: List<work.socialhub.kbsky.model.app.bsky.feed.FeedDefsGeneratorView> | ||
} |
Oops, something went wrong.