New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@voiceofamerica/voa-core-shared

Package Overview
Dependencies
Maintainers
3
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@voiceofamerica/voa-core-shared - npm Package Compare versions

Comparing version 1.27.0 to 1.29.0

2

dist/graphql/schema.js

@@ -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 Article\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, type: [ContentType] = [Article]): [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 Article\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, type: [ContentType] = [Article]): [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

@@ -28,2 +28,16 @@ {

"defaultValue": null
},
{
"name": "type",
"description": "",
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "ENUM",
"name": "ContentType",
"ofType": null
}
},
"defaultValue": "[Article]"
}

@@ -250,2 +264,31 @@ ],

{
"kind": "ENUM",
"name": "ContentType",
"description": "",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": [
{
"name": "Article",
"description": "",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Video",
"description": "",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "PhotoGallery",
"description": "",
"isDeprecated": false,
"deprecationReason": null
}
],
"possibleTypes": null
},
{
"kind": "OBJECT",

@@ -300,9 +343,5 @@ "name": "Article",

"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "ENUM",
"name": "ContentType",
"ofType": null
}
"kind": "ENUM",
"name": "ContentType",
"ofType": null
},

@@ -509,31 +548,2 @@ "isDeprecated": false,

{
"kind": "ENUM",
"name": "ContentType",
"description": "",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": [
{
"name": "Audio",
"description": "",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Video",
"description": "",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "PhotoGallery",
"description": "",
"isDeprecated": false,
"deprecationReason": null
}
],
"possibleTypes": null
},
{
"kind": "SCALAR",

@@ -540,0 +550,0 @@ "name": "String",

@@ -28,2 +28,16 @@ {

"defaultValue": null
},
{
"name": "type",
"description": "",
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "ENUM",
"name": "ContentType",
"ofType": null
}
},
"defaultValue": "[Article]"
}

@@ -250,2 +264,31 @@ ],

{
"kind": "ENUM",
"name": "ContentType",
"description": "",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": [
{
"name": "Article",
"description": "",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Video",
"description": "",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "PhotoGallery",
"description": "",
"isDeprecated": false,
"deprecationReason": null
}
],
"possibleTypes": null
},
{
"kind": "OBJECT",

@@ -300,9 +343,5 @@ "name": "Article",

"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "ENUM",
"name": "ContentType",
"ofType": null
}
"kind": "ENUM",
"name": "ContentType",
"ofType": null
},

@@ -509,31 +548,2 @@ "isDeprecated": false,

{
"kind": "ENUM",
"name": "ContentType",
"description": "",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": [
{
"name": "Audio",
"description": "",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Video",
"description": "",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "PhotoGallery",
"description": "",
"isDeprecated": false,
"deprecationReason": null
}
],
"possibleTypes": null
},
{
"kind": "SCALAR",

@@ -540,0 +550,0 @@ "name": "String",

@@ -10,3 +10,3 @@ import gql from 'graphql-tag'

enum ContentType {
Audio
Article
Video

@@ -78,3 +78,3 @@ PhotoGallery

zone: Int
type: [ContentType]
type: ContentType
pubDate: String!

@@ -104,3 +104,3 @@ lastUpdated: String

type Query {
articles(source: Audience): [Article]
articles(source: Audience, type: [ContentType] = [Article]): [Article]
articleById(source: Audience, id: Int): Article

@@ -107,0 +107,0 @@ articlesByZoneId(source: Audience, zoneId: Int): [Article]

{
"name": "@voiceofamerica/voa-core-shared",
"version": "1.27.0",
"version": "1.29.0",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc