@apollosproject/ui-fragments
Advanced tools
Comparing version 1.5.1-alpha.8 to 1.5.1-alpha.31
{ | ||
"name": "@apollosproject/ui-fragments", | ||
"repository": "git://github.com/apollosproject/apollos-apps.git", | ||
"version": "1.5.1-alpha.8+16662dc", | ||
"version": "1.5.1-alpha.31+8af55092", | ||
"main": "src/index.js", | ||
@@ -46,3 +46,3 @@ "files": [ | ||
"license": "SEE LICENSE IN LICENSE.md", | ||
"gitHead": "16662dc46defba70ae63d1bb80b73c9da3ef65bb" | ||
"gitHead": "8af55092e3d61d66fb7423a5b5b6d6a2ece9bcb8" | ||
} |
@@ -5,2 +5,16 @@ import gql from 'graphql-tag'; | ||
fragment ContentUpNextFragment on ContentItem { | ||
... on ProgressNode { | ||
upNext { | ||
id | ||
} | ||
} | ||
... on ContentParentNode { | ||
childContentItemsConnection { | ||
edges { | ||
node { | ||
id | ||
} | ||
} | ||
} | ||
} | ||
... on ContentSeriesContentItem { | ||
@@ -7,0 +21,0 @@ id |
@@ -25,2 +25,43 @@ import gql from 'graphql-tag'; | ||
export { VIDEO_NODE_FRAGMENT, CONTENT_NODE_FRAGMENT }; | ||
const FEATURES_NODE_FRAGMENT = gql` | ||
fragment FeaturesNodeFragment on FeaturesNode { | ||
features { | ||
...FeaturesFragment | ||
} | ||
} | ||
`; | ||
const CARD_NODE_FRAGMENT = gql` | ||
fragment CardNodeFragment on Card { | ||
title | ||
hyphenatedTitle: title(hyphenated: true) | ||
summary | ||
coverImage { | ||
sources { | ||
uri | ||
} | ||
} | ||
} | ||
`; | ||
const THEMED_NODE_FRAGMENT = gql` | ||
fragment ThemedNodeFragment on ThemedNode { | ||
theme { | ||
type | ||
colors { | ||
primary | ||
secondary | ||
screen | ||
paper | ||
} | ||
} | ||
} | ||
`; | ||
export { | ||
VIDEO_NODE_FRAGMENT, | ||
CONTENT_NODE_FRAGMENT, | ||
FEATURES_NODE_FRAGMENT, | ||
CARD_NODE_FRAGMENT, | ||
THEMED_NODE_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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a 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
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
21290
599
2