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.37.0 to 1.39.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 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: String\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, type: [ContentType] = [Article]): Article\n articlesByZoneId(\n source: Audience\n zoneId: Int\n type: [ContentType] = [Article]\n ): [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: String\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, type: [ContentType] = [Article]): Article\n articlesByZoneId(\n source: Audience\n zoneId: Int\n type: [ContentType] = [Article]\n ): [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 zhcn\n zhtw\n fa\n}\n\nenum ContentType {\n Article\n Video\n PhotoGallery\n Clip\n}\n\nenum ArticleVideoRelationship {\n SameItem\n MainImage\n EmbededInContent\n}\n\ntype Photo {\n id: Int\n order: Int\n url: String\n photoTitle: String\n photoDescription: String\n}\n\ntype PhotoGallery {\n id: Int!\n relType: ArticleVideoRelationship\n photo: [Photo]\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: String\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 photoGallery: [PhotoGallery]\n photo: Photo\n}\n\ntype Zone {\n id: Int!\n site: Int\n hash: String\n type: [ContentType]\n broadcast: Boolean\n name: String!\n}\n\nenum ProgramType {\n Clip\n Feature\n BroadcastProgram\n Video\n}\n\ntype Program {\n id: Int!\n duration: Int\n type: ProgramType\n url: String\n date: String\n dateLocal: String\n timeLeft: Int\n zone: Int\n programTitle: String\n programDescription: String\n image: Image\n liveStatus: Boolean\n}\n\ntype Query {\n content(\n source: Audience\n type: [ContentType]\n id: Int = 0\n zoneId: Int = 0\n count: Int = 30\n ): [Article]\n search(source: Audience, keywords: String, zoneId: Int = 0): [Article]\n breakingNews(source: Audience): [Article]\n program(source: Audience): [Program]\n zones(source: Audience): [Zone]\n}\n"], ["\nenum Audience {\n en\n zhcn\n zhtw\n fa\n}\n\nenum ContentType {\n Article\n Video\n PhotoGallery\n Clip\n}\n\nenum ArticleVideoRelationship {\n SameItem\n MainImage\n EmbededInContent\n}\n\ntype Photo {\n id: Int\n order: Int\n url: String\n photoTitle: String\n photoDescription: String\n}\n\ntype PhotoGallery {\n id: Int!\n relType: ArticleVideoRelationship\n photo: [Photo]\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: String\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 photoGallery: [PhotoGallery]\n photo: Photo\n}\n\ntype Zone {\n id: Int!\n site: Int\n hash: String\n type: [ContentType]\n broadcast: Boolean\n name: String!\n}\n\nenum ProgramType {\n Clip\n Feature\n BroadcastProgram\n Video\n}\n\ntype Program {\n id: Int!\n duration: Int\n type: ProgramType\n url: String\n date: String\n dateLocal: String\n timeLeft: Int\n zone: Int\n programTitle: String\n programDescription: String\n image: Image\n liveStatus: Boolean\n}\n\ntype Query {\n content(\n source: Audience\n type: [ContentType]\n id: Int = 0\n zoneId: Int = 0\n count: Int = 30\n ): [Article]\n search(source: Audience, keywords: String, zoneId: Int = 0): [Article]\n breakingNews(source: Audience): [Article]\n program(source: Audience): [Program]\n zones(source: Audience): [Zone]\n}\n"])));
var templateObject_1;
//# sourceMappingURL=schema.js.map

@@ -5,3 +5,4 @@ import gql from 'graphql-tag'

en
zh
zhcn
zhtw
fa

@@ -14,2 +15,3 @@ }

PhotoGallery
Clip
}

@@ -23,2 +25,16 @@

type Photo {
id: Int
order: Int
url: String
photoTitle: String
photoDescription: String
}
type PhotoGallery {
id: Int!
relType: ArticleVideoRelationship
photo: [Photo]
}
type Name {

@@ -87,3 +103,3 @@ first: String!

introduction: String!
content: String!
content: String
authors: [Author]

@@ -94,2 +110,4 @@ image: Image

relatedStories: [RelatedStory]
photoGallery: [PhotoGallery]
photo: Photo
}

@@ -106,14 +124,37 @@

enum ProgramType {
Clip
Feature
BroadcastProgram
Video
}
type Program {
id: Int!
duration: Int
type: ProgramType
url: String
date: String
dateLocal: String
timeLeft: Int
zone: Int
programTitle: String
programDescription: String
image: Image
liveStatus: Boolean
}
type Query {
articles(source: Audience, type: [ContentType] = [Article]): [Article]
articleById(source: Audience, id: Int, type: [ContentType] = [Article]): Article
articlesByZoneId(
content(
source: Audience
zoneId: Int
type: [ContentType] = [Article]
type: [ContentType]
id: Int = 0
zoneId: Int = 0
count: Int = 30
): [Article]
search(source: Audience, keywords: String, zoneId: Int = 0): [Article]
breakingNews(source: Audience): [Article]
program(source: Audience): [Program]
zones(source: Audience): [Zone]
}
`
{
"name": "@voiceofamerica/voa-core-shared",
"version": "1.37.0",
"version": "1.39.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 too big to display

Sorry, the diff of this file is too big to display

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