Fix for Instagram's changed N1 data

This commit is contained in:
Cadence Ember
2020-04-17 01:15:21 +12:00
parent ebae7f57c3
commit d66d12e7da
2 changed files with 23 additions and 2 deletions

View File

@@ -194,9 +194,26 @@
* @typedef {TimelineEntryN1 & GraphSidecarN1Diff} GraphSidecarN1
*
* @typedef GraphSidecarN1Diff
* @property {Edges<GraphChildN1>} edge_sidecar_to_children
* @property {"GraphSidecar"} __typename
*/
/**
* @typedef GraphChildN1
* @property {string} __typename
* @property {string} id
* @property {string} shortcode interestingly, each child of a post has a different shortcode.
* @property {Dimensions} dimensions
* @property {string} display_url
* @property {any} gating_info todo: discover
* @property {any} fact_check_overall_rating todo: discover
* @property {any} fact_check_information todo: discover
* @property {string} media_preview base64 of something
* @property {BasicOwner} owner
* @property {boolean} is_video
* @property {string} accessibility_caption
*/
/**
* @typedef TimelineEntryN2
* @property {string} __typename