@apollosproject/ui-fragments
Advanced tools
Comparing version 1.7.0-beta.2 to 1.7.0-beta.3
@@ -6,2 +6,10 @@ # Change Log | ||
# [1.7.0-beta.3](https://github.com/apollosproject/apollos-apps/compare/v1.7.0-beta.2...v1.7.0-beta.3) (2020-11-09) | ||
**Note:** Version bump only for package @apollosproject/ui-fragments | ||
# [1.7.0-beta.2](https://github.com/apollosproject/apollos-apps/compare/v1.7.0-beta.1...v1.7.0-beta.2) (2020-10-27) | ||
@@ -8,0 +16,0 @@ |
{ | ||
"name": "@apollosproject/ui-fragments", | ||
"repository": "git://github.com/apollosproject/apollos-apps.git", | ||
"version": "1.7.0-beta.2", | ||
"version": "1.7.0-beta.3", | ||
"main": "src/index.js", | ||
@@ -46,3 +46,3 @@ "files": [ | ||
"license": "SEE LICENSE IN LICENSE.md", | ||
"gitHead": "a05cbecc245689cfd35b48e3ee777a605ac5c03e" | ||
"gitHead": "59eec95a59056f8a05b6595c8e0364ed1c134302" | ||
} |
@@ -36,4 +36,4 @@ import gql from 'graphql-tag'; | ||
const FEED_FEATURES_FRAGMENT = gql` | ||
fragment FeedFeaturesFragment on Feature { | ||
const LITE_FEATURES_FRAGMENT = gql` | ||
fragment LiteFeaturesFragment on Feature { | ||
id | ||
@@ -63,2 +63,23 @@ __typename | ||
} | ||
... on TextFeature { | ||
body | ||
} | ||
... on ScriptureFeature { | ||
scriptures { | ||
reference | ||
} | ||
} | ||
... on WebviewFeature { | ||
title | ||
} | ||
} | ||
`; | ||
// TODO: deprecated, name change | ||
const FEED_FEATURES_FRAGMENT = LITE_FEATURES_FRAGMENT; | ||
// TODO deprecated | ||
const FEATURES_FRAGMENT = gql` | ||
fragment FeaturesFragment on Feature { | ||
id | ||
...TextFeatureFragment | ||
@@ -85,11 +106,2 @@ ...ScriptureFeatureFragment | ||
const FEATURES_FRAGMENT = gql` | ||
fragment FeaturesFragment on Feature { | ||
id | ||
...TextFeatureFragment | ||
...ScriptureFeatureFragment | ||
...WebviewFeatureFragment | ||
} | ||
`; | ||
const CARD_FEATURES_FRAGMENT = gql` | ||
@@ -99,3 +111,6 @@ fragment CardFeaturesFragment on ContentItem { | ||
features { | ||
...FeaturesFragment | ||
id | ||
...TextFeatureFragment | ||
...ScriptureFeatureFragment | ||
...WebviewFeatureFragment | ||
} | ||
@@ -105,3 +120,6 @@ } | ||
features { | ||
...FeaturesFragment | ||
id | ||
...TextFeatureFragment | ||
...ScriptureFeatureFragment | ||
...WebviewFeatureFragment | ||
} | ||
@@ -115,3 +133,6 @@ } | ||
features { | ||
...FeaturesFragment | ||
id | ||
...TextFeatureFragment | ||
...ScriptureFeatureFragment | ||
...WebviewFeatureFragment | ||
} | ||
@@ -299,2 +320,3 @@ } | ||
FEED_FEATURES_FRAGMENT, | ||
LITE_FEATURES_FRAGMENT, | ||
WEBVIEW_FEATURE_FRAGMENT, | ||
@@ -301,0 +323,0 @@ PRAYER_LIST_FEATURE_FRAGMENT, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25214
672