* Update type usage in event listeners and property getters.
Signed-off-by: Richard Lea <chigix@zoho.com>
* Fix: logger type definition and lacking off method
Signed-off-by: Richard Lea <chigix@zoho.com>
* couchbase: Fix Bucket key parameter types
Documentation says key type is string or Buffer, not any.
http://docs.couchbase.com/sdk-api/couchbase-node-client-2.4.5/Bucket.html
* couchbase: Add connect/error events to Bucket interface
* couchbase: Add optional properties for errors
"code" was not optional, but it is definitely not included on all errors.
I've added two more properties that I've seen in the couchbase source code.
* couchbase: Add enough features to get the front-page sample working
The first page of the couchbase documentation contains the code that is now
in couchbase-tests.ts (except that I've left out the underdocumented
cluster.authenticate() call). For this, I've added the index management
methods on the bucket manager interface as well as specific definitions
for the events on the query response interfaces.
* couchbase: Add authenticator API
It's marked "uncommitted," but it's in the main page sample, so...
* couchbase: Add the basic full-text search API
Needs some fixes to the Bucket query call, but that will be fixed here in a
bit.
* couchbase: Split query API, add SearchQuery + FtsQueryResponse.Meta props
Several important fixes.
* couchbase: Add FTS facet and sorting capabilities
* couchbase: Add more samples, make query callbacks optional
The samples force us to recognize that the query callbacks are optional.
* couchbase: Add version number and add me
Even though this doesn't cover everything in the latest SDK, that's the
version I based my changes on.
* Add not_ready event
* Reduce duplication in addListener / on methods
on is an alias for addListener, so there's no need to duplicate the typings.
* Reset version to 0.1
* [jexl] TransformFunction accepts multiple args
The jexl documentation only has examples of zero- and one-argument
Transforms, but internally all args are passed through with
`Function#apply`.
* update addTransform jsdoc
the following code will execute fine, but typescript doesn't recognize it as valid
var input = CryptoJS.lib.WordArray.create(new Uint8Array(5));
var encrypted = CryptoJS.AES.encrypt(input, secretKeyString, {
iv: CryptoJS.enc.Hex.parse('00000000000000000000000000000000'),
mode: CryptoJS.mode.CBC,
padding: CryptoJS.pad.Pkcs7
});