update jsdoc

pull/1/head
Damien Erambert 2022-07-31 22:43:36 +02:00
parent ab0d4a93dd
commit 54568fa886
No known key found for this signature in database
GPG Key ID: 519179F777AE5A0F
1 changed files with 2 additions and 1 deletions

3
lib.js
View File

@ -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)