DefinitelyTyped/types/tryghost__content-api
Yashar Moradi f5ad8554cd
fix: fixing the types for browse function results (#43795)
* fix: fixing the types for browse function results

* Added the missing reading_time to the PostOrPage type
* Introduces the BrowseResults (an array augmented with metadata)
* Included a Constructor function

BREAKING CHANGE: The following types are remapped as follows:
* `PostObject` --> `PostsOrPages`
* `AuthorsObject` --> `Authors`
* `TagsObject` --> `Tags`
* `Setting` --> `Settings`
* `SettingsObject` --> `SettingsResponse`

Partly inspired by this PR from Oliver Emery <https://github.com/thrymgjol>

* corrected line terminator

* code formatting corrected

Co-authored-by: Yashar Moradi <yashar.moradi@scoperty.de>
2020-04-13 11:49:20 -07:00
..
index.d.ts
tryghost__content-api-tests.ts
tsconfig.json
tslint.json