From 54568fa886397cfb1e00e22757f86634fde11bd6 Mon Sep 17 00:00:00 2001 From: Damien Erambert Date: Sun, 31 Jul 2022 22:43:36 +0200 Subject: [PATCH] update jsdoc --- lib.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib.js b/lib.js index fa5c248..555f7c6 100644 --- a/lib.js +++ b/lib.js @@ -228,6 +228,7 @@ class Post { * @typedef {Object} PostAttachmentBlock * @property {string} fileURL * @property {string} attachmentId + * @property {string} altText */ /** @@ -239,7 +240,7 @@ class Post { /** * @typedef {Object} PostCreate - * @property {number} postState 1 for published, 0 for draft? or pending maybe? + * @property {number} postState 1 for published, 0 for draft * @property {string} headline Headline * @property {boolean} adultContent Does the post contain adult content? * @property {PostBlock[]} blocks Blocks (docs TBD)