@apollosproject/ui-fragments
Advanced tools
Comparing version 1.3.0-beta.6 to 1.3.0
{ | ||
"name": "@apollosproject/ui-fragments", | ||
"version": "1.3.0-beta.6", | ||
"version": "1.3.0", | ||
"homepage": "https://github.com/ApollosProject/apollos-prototype#readme", | ||
@@ -46,3 +46,3 @@ "main": "src/index.js", | ||
"license": "SEE LICENSE IN LICENSE.md", | ||
"gitHead": "1a822d0545c45ceb655b1ce8b19b03b842ad4d14" | ||
"gitHead": "aa1df181f575995941c9f879e45c88bf72a84150" | ||
} |
@@ -28,2 +28,30 @@ import gql from 'graphql-tag'; | ||
export { TEXT_FEATURE_FRAGMENT, SCRIPTURE_FEATURE_FRAGMENT }; | ||
const FEATURES_FRAGMENT = gql` | ||
fragment FeaturesFragment on Feature { | ||
id | ||
...TextFeatureFragment | ||
...ScriptureFeatureFragment | ||
} | ||
`; | ||
const CARD_FEATURES_FRAGMENT = gql` | ||
fragment CardFeaturesFragment on ContentItem { | ||
... on ContentSeriesContentItem { | ||
features { | ||
...FeaturesFragment | ||
} | ||
} | ||
... on WeekendContentItem { | ||
features { | ||
...FeaturesFragment | ||
} | ||
} | ||
} | ||
`; | ||
export { | ||
TEXT_FEATURE_FRAGMENT, | ||
SCRIPTURE_FEATURE_FRAGMENT, | ||
CARD_FEATURES_FRAGMENT, | ||
FEATURES_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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
22045
287
2