Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ta-interaktiv/newsnet-api-flow-types

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ta-interaktiv/newsnet-api-flow-types - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

13

api/articles/article/index.js

@@ -33,2 +33,15 @@ // @flow

first_published_at: number,
/**
* Known article types so far. There might be more. «Artikel Breit++» does
* not expose a layout_type.
*/
layout_type?: 'link' | 'article' | 'article_wide_extend',
/**
* Available for `layout_type: 'link'`. Same as `layout_type_external_url`
*/
link_other: string,
/**
* Available for `layout_type: 'link'`. Same as `link_other`
*/
layout_type_external_url: string,
external_services: {

@@ -35,0 +48,0 @@ statistics: Array<Statistic>,

@@ -0,1 +1,25 @@

<a name="0.5.1"></a>
## [0.5.1](https://gitlab.com/ta-interaktiv/newsnet-api-flow-types/compare/v0.4.1...v0.5.1) (2017-08-25)
### Fix
* Fix faulty NPM script. ([0c65e8e6d81df286c09aaa745d2af1220d817775](https://gitlab.com/ta-interaktiv/newsnet-api-flow-types/commit/0c65e8e6d81df286c09aaa745d2af1220d817775))
<a name="0.4.1"></a>
## [0.4.1](https://gitlab.com/ta-interaktiv/newsnet-api-flow-types/compare/0.5.0...0.4.1) (2017-08-25)
### Feature
* Add additional properties to ArticleContent. ([17fa8370a720a3ebfcef6776362f04ff406f00ee](https://gitlab.com/ta-interaktiv/newsnet-api-flow-types/commit/17fa8370a720a3ebfcef6776362f04ff406f00ee))
### Tooling
* Updated NPM scripts. ([de2801d7fea196deccfa55dcbce5d485ad2c0f5d](https://gitlab.com/ta-interaktiv/newsnet-api-flow-types/commit/de2801d7fea196deccfa55dcbce5d485ad2c0f5d))
<a name="0.5.0"></a>

@@ -2,0 +26,0 @@ # [0.5.0](https://gitlab.com/ta-interaktiv/newsnet-api-flow-types/compare/0.3.1...0.5.0) (2017-08-22)

8

package.json
{
"name": "@ta-interaktiv/newsnet-api-flow-types",
"version": "0.5.0",
"version": "0.5.1",
"description": "Flow type definitions for stuff the Newsnet API returns.",

@@ -9,7 +9,5 @@ "main": "index.js",

"docs": "documentation readme ./api --section=API",
"version:patch": "npm version patch --no-git-tag-version && yarn run docs && yarn run changelog && git commit -am 'Patch Version bump, changelog and documentation update.' && yarn run git-tag",
"version:minor": "npm version minor --no-git-tag-version && yarn run docs && yarn run changelog && git commit -am 'Minor Version bump, changelog and documentation update.' && yarn run git-tag",
"version:major": "npm version major --no-git-tag-version && yarn run docs && yarn run changelog && git commit -am 'Major Version bump, changelog and documentation update.' && yarn run git-tag",
"changelog": "conventional-changelog -p eslint -i CHANGELOG.md -s",
"git-tag": "PACKAGE_VERSION=$(node -p \"require('./package.json').version\") && git tag -a $PACKAGE_VERSION -m \"New version ${PACKAGE_VERSION}\""
"preversion": "git checkout master && git pull",
"version": "yarn run docs && yarn run changelog && git add --all"
},

@@ -16,0 +14,0 @@ "files": [

@@ -201,3 +201,3 @@ # Newsnet API Flow Types

Type: {id: [string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String), legacy_id: [number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number), title: [string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String), title_short: [string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String), picture_small_url: [string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String), picture_medium_url: [string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String), picture_big_url: [string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String), lead: [string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String), lead_short: [string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String), lead_teaser: [string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String), timestamp_updated_at: [number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number), first_published_at: [number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number), external_services: {statistics: [Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;[Statistic](#statistic)>, ads: any, paywall: any}, authors: [Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;[Author](#author)>}
Type: {id: [string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String), legacy_id: [number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number), title: [string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String), title_short: [string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String), picture_small_url: [string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String), picture_medium_url: [string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String), picture_big_url: [string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String), lead: [string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String), lead_short: [string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String), lead_teaser: [string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String), timestamp_updated_at: [number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number), first_published_at: [number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number), layout_type: (`"link"` \| `"article"` \| `"article_wide_extend"`)?, link_other: [string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String), layout_type_external_url: [string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String), external_services: {statistics: [Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;[Statistic](#statistic)>, ads: any, paywall: any}, authors: [Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;[Author](#author)>}

@@ -218,2 +218,5 @@ **Properties**

- `first_published_at` **[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)**
- `layout_type` **(`"link"` \| `"article"` \| `"article_wide_extend"`)?**
- `link_other` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)**
- `layout_type_external_url` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)**
- `external_services` **{statistics: [Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;[Statistic](#statistic)>, ads: any, paywall: any}**

@@ -225,2 +228,15 @@ - `external_services.statistics` **[Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;[Statistic](#statistic)>**

### layout_type
Known article types so far. There might be more. «Artikel Breit++» does
not expose a layout_type.
### link_other
Available for `layout_type: 'link'`. Same as `layout_type_external_url`
### layout_type_external_url
Available for `layout_type: 'link'`. Same as `link_other`
### Site

@@ -227,0 +243,0 @@

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