From eb4e5bf013dbf6599205dcbbd5a0b065c75d9770 Mon Sep 17 00:00:00 2001 From: Yang Date: Mon, 20 Nov 2023 23:41:33 +1100 Subject: [PATCH] Update schema --- .../reactivecircus/kstreamlined/kmp/data/feed/model/FeedItem.kt | 2 +- .../github/reactivecircus/kstreamlined/graphql/schema.graphqls | 2 +- .../kstreamlined/kmp/feed/datasource/model/FeedEntry.kt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kmp/data/src/commonMain/kotlin/io/github/reactivecircus/kstreamlined/kmp/data/feed/model/FeedItem.kt b/kmp/data/src/commonMain/kotlin/io/github/reactivecircus/kstreamlined/kmp/data/feed/model/FeedItem.kt index 590f09b5..d5e4d52a 100644 --- a/kmp/data/src/commonMain/kotlin/io/github/reactivecircus/kstreamlined/kmp/data/feed/model/FeedItem.kt +++ b/kmp/data/src/commonMain/kotlin/io/github/reactivecircus/kstreamlined/kmp/data/feed/model/FeedItem.kt @@ -13,7 +13,7 @@ sealed interface FeedItem { override val publishTimestamp: String, override val contentUrl: String, override val savedForLater: Boolean, - val featuredImageUrl: String, + val featuredImageUrl: String?, val description: String, ) : FeedItem diff --git a/kmp/feed-datasource/cloud/src/commonMain/graphql/io/github/reactivecircus/kstreamlined/graphql/schema.graphqls b/kmp/feed-datasource/cloud/src/commonMain/graphql/io/github/reactivecircus/kstreamlined/graphql/schema.graphqls index b3ecb04a..0f711b33 100644 --- a/kmp/feed-datasource/cloud/src/commonMain/graphql/io/github/reactivecircus/kstreamlined/graphql/schema.graphqls +++ b/kmp/feed-datasource/cloud/src/commonMain/graphql/io/github/reactivecircus/kstreamlined/graphql/schema.graphqls @@ -340,7 +340,7 @@ type KotlinBlog implements FeedEntry { """ Url of the feature image. """ - featuredImageUrl: String! + featuredImageUrl: String """ Description of the blog post. diff --git a/kmp/feed-datasource/common/src/commonMain/kotlin/io/github/reactivecircus/kstreamlined/kmp/feed/datasource/model/FeedEntry.kt b/kmp/feed-datasource/common/src/commonMain/kotlin/io/github/reactivecircus/kstreamlined/kmp/feed/datasource/model/FeedEntry.kt index 9766177a..c955721f 100644 --- a/kmp/feed-datasource/common/src/commonMain/kotlin/io/github/reactivecircus/kstreamlined/kmp/feed/datasource/model/FeedEntry.kt +++ b/kmp/feed-datasource/common/src/commonMain/kotlin/io/github/reactivecircus/kstreamlined/kmp/feed/datasource/model/FeedEntry.kt @@ -11,7 +11,7 @@ sealed interface FeedEntry { override val title: String, override val publishTimestamp: String, override val contentUrl: String, - val featuredImageUrl: String, + val featuredImageUrl: String?, val description: String, ) : FeedEntry