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.51.0 to 1.52.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 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 tiny: String!\n thumb: String!\n hero: String!\n}\n\ntype PhotoGallery {\n id: Int!\n relType: ArticleVideoRelationship\n photoGalleryTitle: String\n photoGalleryDescription: String\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 tiny: String!\n thumb: String!\n hero: 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 videoTitle: String\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\n zoneId: Int\n count: Int = 30\n topNews: Boolean = false\n ): [Article]\n search(source: Audience!, keywords: String!, zoneId: Int): [Article]\n breakingNews(source: Audience!): [Article]\n program(source: Audience!, type: [ProgramType!]!, zoneId: Int): [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 tiny: String!\n thumb: String!\n hero: String!\n}\n\ntype PhotoGallery {\n id: Int!\n relType: ArticleVideoRelationship\n photoGalleryTitle: String\n photoGalleryDescription: String\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 tiny: String!\n thumb: String!\n hero: 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 videoTitle: String\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\n zoneId: Int\n count: Int = 30\n topNews: Boolean = false\n ): [Article]\n search(source: Audience!, keywords: String!, zoneId: Int): [Article]\n breakingNews(source: Audience!): [Article]\n program(source: Audience!, type: [ProgramType!]!, zoneId: Int): [Program]\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 thumb: String!\n full: String!\n}\n\ntype PhotoGallery {\n id: Int!\n relType: ArticleVideoRelationship\n photoGalleryTitle: String\n photoGalleryDescription: String\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 tiny: String!\n thumb: String!\n hero: 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 videoTitle: String\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\n zoneId: Int\n count: Int = 30\n topNews: Boolean = false\n ): [Article]\n search(source: Audience!, keywords: String!, zoneId: Int): [Article]\n breakingNews(source: Audience!): [Article]\n program(source: Audience!, type: [ProgramType!]!, zoneId: Int): [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 thumb: String!\n full: String!\n}\n\ntype PhotoGallery {\n id: Int!\n relType: ArticleVideoRelationship\n photoGalleryTitle: String\n photoGalleryDescription: String\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 tiny: String!\n thumb: String!\n hero: 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 videoTitle: String\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\n zoneId: Int\n count: Int = 30\n topNews: Boolean = false\n ): [Article]\n search(source: Audience!, keywords: String!, zoneId: Int): [Article]\n breakingNews(source: Audience!): [Article]\n program(source: Audience!, type: [ProgramType!]!, zoneId: Int): [Program]\n zones(source: Audience!): [Zone]\n}\n"])));
var templateObject_1;
//# sourceMappingURL=schema.js.map

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

photoDescription: String
tiny: String!
thumb: String!
hero: String!
full: String!
}

@@ -34,0 +33,0 @@

{
"name": "@voiceofamerica/voa-core-shared",
"version": "1.51.0",
"version": "1.52.0",
"description": "",

@@ -12,9 +12,7 @@ "main": "dist/index.js",

"build": "rimraf ./dist && tsc",
"postbuild": "npm run introspect",
"postbuild": "npm run introspect && npm run copyintrospect",
"introspect": "apollo-codegen introspect-schema ./lib/graphql/schema.graphql --output ./introspect/schema.json",
"copyintrospect": "find ./introspect -type f -name '*.json' | cpio -p -d -v ./dist",
"prepush-schema": "npm run introspect && npm run copyintrospect && npm version minor",
"git-publish": "git push",
"push-schema": "npm run build && git commit -a -m 'updating gql schema' || true && npm run git-publish && npm publish",
"postpush-schema": "git push --tags"
"push-schema": "npm run build && git commit -a -m 'updating gql schema' || true && npm version minor && npm publish",
"postpush-schema": "git push && git push --tags"
},

@@ -21,0 +19,0 @@ "repository": {

@@ -14,3 +14,2 @@ # voa-core-shared

* Install recommend VS Code Extensions
* `npm update-shared` to update voa-code-shared library

@@ -21,3 +20,3 @@ ## Publish

* **Commit** resulting changes
* `npm run git-publish`
* `npm run push-schema`

@@ -24,0 +23,0 @@ ### Dangerous

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