js: small documentation update

--
This commit is contained in:
Maximilian Krambach 2018-08-27 13:24:18 +02:00
parent 28086252f1
commit 8aa61fd3a2

View File

@ -33,9 +33,11 @@ import { createSignature } from './Signature';
* @property {String|Uint8Array} data The decrypted data * @property {String|Uint8Array} data The decrypted data
* @property {String} format Indicating how the data was converted after being * @property {String} format Indicating how the data was converted after being
* received from gpgme. * received from gpgme.
* 'ascii': Data was ascii-encoded and no further processed
* 'string': Data was decoded into an utf-8 string, * 'string': Data was decoded into an utf-8 string,
* 'base64': Data was not processed and is a base64 string * 'base64': Data was not processed and is a base64 string
* 'uint8': data was turned into a Uint8Array * 'uint8': data was turned into a Uint8Array
*
* @property {Boolean} is_mime (optional) the data claims to be a MIME * @property {Boolean} is_mime (optional) the data claims to be a MIME
* object. * object.
* @property {String} file_name (optional) the original file name * @property {String} file_name (optional) the original file name
@ -82,7 +84,6 @@ import { createSignature } from './Signature';
* @property {Boolean} data: The verified data * @property {Boolean} data: The verified data
* @property {Boolean} is_mime (optional) the data claims to be a MIME * @property {Boolean} is_mime (optional) the data claims to be a MIME
* object. * object.
* @property {String} file_name (optional) the original file name
* @property {signatureDetails} signatures Verification details for * @property {signatureDetails} signatures Verification details for
* signatures * signatures
*/ */