Skip to content

Variable: contentInsightSchema ​

ts
const contentInsightSchema: ZodObject<{
  metrics: ZodOptional<ZodArray<ZodObject<{
     metric: ZodString;
     value: ZodOptional<ZodNullable<ZodNumber>>;
  }, $loose>>>;
  thumbnail: ZodObject<{
     caption_text: ZodOptional<ZodNullable<ZodString>>;
     creation_time: ZodOptional<ZodNumber>;
     media_id: ZodCoercedString<unknown>;
     media_type: ZodOptional<ZodString>;
     media_url: ZodOptional<ZodNullable<ZodString>>;
  }, $loose>;
}, $loose>;

One post, reel or story in the content list, with the figures the list was sorted by.

MIT License. Not affiliated with, endorsed or sponsored by Meta or Instagram.