mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 22:17:03 +05:30
chore(deps): update dependency com.facebook:ktfmt to v0.47
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
050007ff1b
commit
a187752659
33 changed files with 118 additions and 290 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright © 2022-2023 Harsh Shandilya.
|
||||
* Copyright © 2022-2024 Harsh Shandilya.
|
||||
* Use of this source code is governed by an MIT-style
|
||||
* license that can be found in the LICENSE file or at
|
||||
* https://opensource.org/licenses/MIT.
|
||||
|
@ -10,8 +10,4 @@ package dev.msfjarvis.claw.model
|
|||
|
||||
import dev.drewhamilton.poko.Poko
|
||||
|
||||
@Poko
|
||||
class LinkMetadata(
|
||||
val url: String,
|
||||
val faviconUrl: String?,
|
||||
)
|
||||
@Poko class LinkMetadata(val url: String, val faviconUrl: String?)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright © 2021-2023 Harsh Shandilya.
|
||||
* Copyright © 2021-2024 Harsh Shandilya.
|
||||
* Use of this source code is governed by an MIT-style
|
||||
* license that can be found in the LICENSE file or at
|
||||
* https://opensource.org/licenses/MIT.
|
||||
|
@ -21,14 +21,8 @@ import kotlinx.serialization.Serializable
|
|||
value = SavedPost::class,
|
||||
mappings =
|
||||
[
|
||||
Mapping(
|
||||
target = "submitterName",
|
||||
expression = "it.submitter.username",
|
||||
),
|
||||
Mapping(
|
||||
target = "submitterAvatarUrl",
|
||||
expression = "it.submitter.avatarUrl",
|
||||
),
|
||||
Mapping(target = "submitterName", expression = "it.submitter.username"),
|
||||
Mapping(target = "submitterAvatarUrl", expression = "it.submitter.avatarUrl"),
|
||||
],
|
||||
)
|
||||
class LobstersPost(
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright © 2021-2023 Harsh Shandilya.
|
||||
* Copyright © 2021-2024 Harsh Shandilya.
|
||||
* Use of this source code is governed by an MIT-style
|
||||
* license that can be found in the LICENSE file or at
|
||||
* https://opensource.org/licenses/MIT.
|
||||
|
@ -21,14 +21,8 @@ import kotlinx.serialization.Serializable
|
|||
value = SavedPost::class,
|
||||
mappings =
|
||||
[
|
||||
Mapping(
|
||||
target = "submitterName",
|
||||
expression = "it.submitter.username",
|
||||
),
|
||||
Mapping(
|
||||
target = "submitterAvatarUrl",
|
||||
expression = "it.submitter.avatarUrl",
|
||||
),
|
||||
Mapping(target = "submitterName", expression = "it.submitter.username"),
|
||||
Mapping(target = "submitterAvatarUrl", expression = "it.submitter.avatarUrl"),
|
||||
],
|
||||
)
|
||||
class LobstersPostDetails(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue