@apollosproject/ui-fragments
Advanced tools
Comparing version 1.7.0-beta.2 to 2.0.0-alpha.2
{ | ||
"name": "@apollosproject/ui-fragments", | ||
"repository": "git://github.com/apollosproject/apollos-apps.git", | ||
"version": "1.7.0-beta.2", | ||
"version": "2.0.0-alpha.2+a2054794", | ||
"main": "src/index.js", | ||
@@ -46,3 +46,3 @@ "files": [ | ||
"license": "SEE LICENSE IN LICENSE.md", | ||
"gitHead": "a05cbecc245689cfd35b48e3ee777a605ac5c03e" | ||
"gitHead": "a2054794aba47031f8f4082d064b9125fdc91dfc" | ||
} |
@@ -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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
25033
672
1