From 39f79329e572da014e455c99aef26071a369b532 Mon Sep 17 00:00:00 2001 From: Hinell Date: Sat, 14 Jan 2017 02:27:49 +0300 Subject: [PATCH] [mongodb] Doc listing fix --- mongodb/index.d.ts | 50 +++++++++++++++++++++++----------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/mongodb/index.d.ts b/mongodb/index.d.ts index 10c84b210c..42380c39c2 100644 --- a/mongodb/index.d.ts +++ b/mongodb/index.d.ts @@ -1235,59 +1235,59 @@ export type AggregationCursorResult = any | void; // TODO: change to generic version //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html export interface AggregationCursor extends Readable { - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#batchSize + // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#batchSize batchSize(value: number): AggregationCursor; - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#clone + // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#clone clone(): AggregationCursor; - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#close + // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#close close(): Promise; close(callback: MongoCallback): void; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#each + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#each each(callback: MongoCallback): void; - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#explain + // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#explain explain(): Promise; explain(callback: MongoCallback): void; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#geoNear + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#geoNear geoNear(document: Object): AggregationCursor; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#group + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#group group(document: Object): AggregationCursor; - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#isClosed + // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#isClosed isClosed(): boolean; - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#limit + // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#limit limit(value: number): AggregationCursor; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#match + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#match match(document: Object): AggregationCursor; - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#maxTimeMS + // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#maxTimeMS maxTimeMS(value: number): AggregationCursor; - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#next + // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#next next(): Promise; next(callback: MongoCallback): void; - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#out + // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#out out(destination: string): AggregationCursor; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#pipe + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#pipe pipe(destination: Writable, options?: Object): void; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#project + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#project project(document: Object): AggregationCursor; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#read + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#read read(size: number): string | Buffer | void; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#redact + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#redact redact(document: Object): AggregationCursor; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#rewind + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#rewind rewind(): AggregationCursor; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#setEncoding + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#setEncoding setEncoding(encoding: string): void; - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#skip + // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#skip skip(value: number): AggregationCursor; - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#sort + // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#sort sort(document: Object): AggregationCursor; - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#toArray + // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#toArray toArray(): Promise; toArray(callback: MongoCallback): void; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#unpipe + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#unpipe unpipe(destination?: Writable): void; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#unshift + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#unshift unshift(stream: Buffer | string): void; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#unwind + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#unwind unwind(field: string): AggregationCursor; }