@voiceofamerica/voa-core-shared
Advanced tools
Comparing version 1.25.0 to 1.27.0
@@ -8,4 +8,4 @@ "use strict"; | ||
var graphql_tag_1 = require("graphql-tag"); | ||
exports.schema = graphql_tag_1.default(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\nenum Audience {\n en\n zh\n fa\n}\n\nenum ContentType {\n Audio\n Video\n PhotoGallery\n}\n\nenum ArticleVideoRelationship {\n SameItem\n MainImage\n EmbededInContent\n}\n\ntype Name {\n first: String!\n middle: String\n last: String\n}\n\ntype Author {\n name: Name!\n email: String\n description: String\n id: Int!\n}\n\ntype Image {\n imageTitle: String\n id: Int!\n type: [ContentType]\n url: String!\n}\n\ntype Audio {\n audioTitle: String!\n audioDescription: String\n id: Int!\n duration: Int\n mime: String\n url: String\n date: String\n}\n\ntype Video {\n videoDescription: String\n guid: String\n relType: ArticleVideoRelationship\n id: Int!\n width: Int\n height: Int\n duration: Int\n url: String\n thumbnail: String\n}\n\ntype RelatedStory {\n storyTitle: String!\n id: Int!\n pubDate: String!\n type: [ContentType]\n url: String\n twitter: String\n thumbnailUrl: String\n}\n\ntype Article {\n id: Int!\n site: Int\n zone: Int\n type: [ContentType]\n pubDate: String!\n lastUpdated: String\n url: String\n twitter: String\n title: String!\n introduction: String!\n content: String!\n authors: [Author]\n image: Image\n audio: Audio\n video: Video\n relatedStories: [RelatedStory]\n}\n\ntype Zone {\n id: Int!\n site: Int\n hash: String\n type: [ContentType]\n broadcast: Boolean\n name: String!\n}\n\ntype Query {\n articles(source: Audience): [Article]\n articleById(source: Audience, id: Int): Article\n articlesByZoneId(source: Audience, zoneId: Int): [Article]\n search(source: Audience, keywords: String, zoneId: Int = 0): [Article]\n breakingNews(source: Audience): [Article]\n zones(source: Audience): [Zone]\n}\n"], ["\nenum Audience {\n en\n zh\n fa\n}\n\nenum ContentType {\n Audio\n Video\n PhotoGallery\n}\n\nenum ArticleVideoRelationship {\n SameItem\n MainImage\n EmbededInContent\n}\n\ntype Name {\n first: String!\n middle: String\n last: String\n}\n\ntype Author {\n name: Name!\n email: String\n description: String\n id: Int!\n}\n\ntype Image {\n imageTitle: String\n id: Int!\n type: [ContentType]\n url: String!\n}\n\ntype Audio {\n audioTitle: String!\n audioDescription: String\n id: Int!\n duration: Int\n mime: String\n url: String\n date: String\n}\n\ntype Video {\n videoDescription: String\n guid: String\n relType: ArticleVideoRelationship\n id: Int!\n width: Int\n height: Int\n duration: Int\n url: String\n thumbnail: String\n}\n\ntype RelatedStory {\n storyTitle: String!\n id: Int!\n pubDate: String!\n type: [ContentType]\n url: String\n twitter: String\n thumbnailUrl: String\n}\n\ntype Article {\n id: Int!\n site: Int\n zone: Int\n type: [ContentType]\n pubDate: String!\n lastUpdated: String\n url: String\n twitter: String\n title: String!\n introduction: String!\n content: String!\n authors: [Author]\n image: Image\n audio: Audio\n video: Video\n relatedStories: [RelatedStory]\n}\n\ntype Zone {\n id: Int!\n site: Int\n hash: String\n type: [ContentType]\n broadcast: Boolean\n name: String!\n}\n\ntype Query {\n articles(source: Audience): [Article]\n articleById(source: Audience, id: Int): Article\n articlesByZoneId(source: Audience, zoneId: Int): [Article]\n search(source: Audience, keywords: String, zoneId: Int = 0): [Article]\n breakingNews(source: Audience): [Article]\n zones(source: Audience): [Zone]\n}\n"]))); | ||
exports.schema = graphql_tag_1.default(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\nenum Audience {\n en\n zh\n fa\n}\n\nenum ContentType {\n Audio\n Video\n PhotoGallery\n}\n\nenum ArticleVideoRelationship {\n SameItem\n MainImage\n EmbededInContent\n}\n\ntype Name {\n first: String!\n middle: String\n last: String\n}\n\ntype Author {\n name: Name!\n email: String\n description: String\n id: Int!\n}\n\ntype Image {\n imageTitle: String\n id: Int!\n type: [ContentType]\n url: String!\n}\n\ntype Audio {\n audioTitle: String!\n audioDescription: String\n id: Int!\n duration: Int\n mime: String\n url: String\n date: String\n}\n\ntype Video {\n videoDescription: String\n guid: String\n relType: ArticleVideoRelationship\n id: Int!\n width: Int\n height: Int\n duration: Int\n url: String\n thumbnail: String\n}\n\ntype RelatedStory {\n storyTitle: String!\n id: Int!\n pubDate: String!\n type: [ContentType]\n url: String\n twitter: String\n thumbnailUrl: String\n}\n\ntype Article {\n id: Int!\n site: Int\n zone: Int\n type: [ContentType]\n pubDate: String!\n lastUpdated: String\n url: String\n twitter: String\n title: String!\n introduction: String!\n content: String!\n authors: [Author]\n image: [Image]\n audio: [Audio]\n video: [Video]\n relatedStories: [RelatedStory]\n}\n\ntype Zone {\n id: Int!\n site: Int\n hash: String\n type: [ContentType]\n broadcast: Boolean\n name: String!\n}\n\ntype Query {\n articles(source: Audience): [Article]\n articleById(source: Audience, id: Int): Article\n articlesByZoneId(source: Audience, zoneId: Int): [Article]\n search(source: Audience, keywords: String, zoneId: Int = 0): [Article]\n breakingNews(source: Audience): [Article]\n zones(source: Audience): [Zone]\n}\n"], ["\nenum Audience {\n en\n zh\n fa\n}\n\nenum ContentType {\n Audio\n Video\n PhotoGallery\n}\n\nenum ArticleVideoRelationship {\n SameItem\n MainImage\n EmbededInContent\n}\n\ntype Name {\n first: String!\n middle: String\n last: String\n}\n\ntype Author {\n name: Name!\n email: String\n description: String\n id: Int!\n}\n\ntype Image {\n imageTitle: String\n id: Int!\n type: [ContentType]\n url: String!\n}\n\ntype Audio {\n audioTitle: String!\n audioDescription: String\n id: Int!\n duration: Int\n mime: String\n url: String\n date: String\n}\n\ntype Video {\n videoDescription: String\n guid: String\n relType: ArticleVideoRelationship\n id: Int!\n width: Int\n height: Int\n duration: Int\n url: String\n thumbnail: String\n}\n\ntype RelatedStory {\n storyTitle: String!\n id: Int!\n pubDate: String!\n type: [ContentType]\n url: String\n twitter: String\n thumbnailUrl: String\n}\n\ntype Article {\n id: Int!\n site: Int\n zone: Int\n type: [ContentType]\n pubDate: String!\n lastUpdated: String\n url: String\n twitter: String\n title: String!\n introduction: String!\n content: String!\n authors: [Author]\n image: [Image]\n audio: [Audio]\n video: [Video]\n relatedStories: [RelatedStory]\n}\n\ntype Zone {\n id: Int!\n site: Int\n hash: String\n type: [ContentType]\n broadcast: Boolean\n name: String!\n}\n\ntype Query {\n articles(source: Audience): [Article]\n articleById(source: Audience, id: Int): Article\n articlesByZoneId(source: Audience, zoneId: Int): [Article]\n search(source: Audience, keywords: String, zoneId: Int = 0): [Article]\n breakingNews(source: Audience): [Article]\n zones(source: Audience): [Zone]\n}\n"]))); | ||
var templateObject_1; | ||
//# sourceMappingURL=schema.js.map |
@@ -430,5 +430,9 @@ { | ||
"type": { | ||
"kind": "OBJECT", | ||
"name": "Image", | ||
"ofType": null | ||
"kind": "LIST", | ||
"name": null, | ||
"ofType": { | ||
"kind": "OBJECT", | ||
"name": "Image", | ||
"ofType": null | ||
} | ||
}, | ||
@@ -443,5 +447,9 @@ "isDeprecated": false, | ||
"type": { | ||
"kind": "OBJECT", | ||
"name": "Audio", | ||
"ofType": null | ||
"kind": "LIST", | ||
"name": null, | ||
"ofType": { | ||
"kind": "OBJECT", | ||
"name": "Audio", | ||
"ofType": null | ||
} | ||
}, | ||
@@ -456,5 +464,9 @@ "isDeprecated": false, | ||
"type": { | ||
"kind": "OBJECT", | ||
"name": "Video", | ||
"ofType": null | ||
"kind": "LIST", | ||
"name": null, | ||
"ofType": { | ||
"kind": "OBJECT", | ||
"name": "Video", | ||
"ofType": null | ||
} | ||
}, | ||
@@ -461,0 +473,0 @@ "isDeprecated": false, |
@@ -430,5 +430,9 @@ { | ||
"type": { | ||
"kind": "OBJECT", | ||
"name": "Image", | ||
"ofType": null | ||
"kind": "LIST", | ||
"name": null, | ||
"ofType": { | ||
"kind": "OBJECT", | ||
"name": "Image", | ||
"ofType": null | ||
} | ||
}, | ||
@@ -443,5 +447,9 @@ "isDeprecated": false, | ||
"type": { | ||
"kind": "OBJECT", | ||
"name": "Audio", | ||
"ofType": null | ||
"kind": "LIST", | ||
"name": null, | ||
"ofType": { | ||
"kind": "OBJECT", | ||
"name": "Audio", | ||
"ofType": null | ||
} | ||
}, | ||
@@ -456,5 +464,9 @@ "isDeprecated": false, | ||
"type": { | ||
"kind": "OBJECT", | ||
"name": "Video", | ||
"ofType": null | ||
"kind": "LIST", | ||
"name": null, | ||
"ofType": { | ||
"kind": "OBJECT", | ||
"name": "Video", | ||
"ofType": null | ||
} | ||
}, | ||
@@ -461,0 +473,0 @@ "isDeprecated": false, |
@@ -86,5 +86,5 @@ import gql from 'graphql-tag' | ||
authors: [Author] | ||
image: Image | ||
audio: Audio | ||
video: Video | ||
image: [Image] | ||
audio: [Audio] | ||
video: [Video] | ||
relatedStories: [RelatedStory] | ||
@@ -91,0 +91,0 @@ } |
{ | ||
"name": "@voiceofamerica/voa-core-shared", | ||
"version": "1.25.0", | ||
"version": "1.27.0", | ||
"description": "", | ||
@@ -18,3 +18,3 @@ "main": "dist/index.js", | ||
"git-publish": "git push && git push --tags", | ||
"push-schema": "npm run build && git commit -a -m 'updating gql schema' && npm run git-publish" | ||
"push-schema": "npm run build && git commit -a -m 'updating gql schema' && npm run git-publish && npm publish" | ||
}, | ||
@@ -21,0 +21,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
141443
4520