Comparing version 9.0.0 to 9.0.1
@@ -18,3 +18,3 @@ import { type ConfigParams } from './config_parser.js'; | ||
undelete: (docId: string) => Promise<import("../types/nano.js").DocumentInsertResponse>; | ||
bulk: (docs: Document[]) => Promise<import("../types/nano.js").DocumentBulkResponse[]>; | ||
bulk: (docs: import("../types/nano.js").Document[]) => Promise<import("../types/nano.js").DocumentBulkResponse[]>; | ||
buildQueryString: (query?: import("../types/nano.js").DocumentViewParams) => string; | ||
@@ -21,0 +21,0 @@ viewQuery: <V, D_6>(path: string, query?: import("../types/nano.js").DocumentViewParams) => Promise<import("../types/nano.js").DocumentViewResponse<V, D_6>>; |
@@ -1,2 +0,2 @@ | ||
import type { CreateIndexRequest, CreateIndexResponse, DatabaseChangesParams, DatabaseChangesResponse, DocumentBulkResponse, DocumentDestroyResponse, DocumentGetResponse, DocumentInsertParams, DocumentInsertResponse, DocumentLookupFailure, DocumentViewParams, DocumentViewResponse, IdentifiedDocument, InfoResponse, MangoResponse } from '../types/nano.js'; | ||
import type { CreateIndexRequest, CreateIndexResponse, DatabaseChangesParams, DatabaseChangesResponse, Document, DocumentBulkResponse, DocumentDestroyResponse, DocumentGetResponse, DocumentInsertParams, DocumentInsertResponse, DocumentLookupFailure, DocumentViewParams, DocumentViewResponse, IdentifiedDocument, InfoResponse, MangoResponse } from '../types/nano.js'; | ||
import type { DocId, DocRev, DocTranformer, FetchOptions, FindOptions, FindQuery, JsonRequest, NewDoc, TestFunction, RecoveredDoc, UpdateOptions, ViewKey, DocumentDeletedFailure, RevInfo } from 'types/types.js'; | ||
@@ -23,3 +23,3 @@ export default function (jsonRequest: JsonRequest, dbName: string): { | ||
docs: D_6[]; | ||
errors: (DocumentDeletedFailure | DocumentLookupFailure)[]; | ||
errors: (DocumentLookupFailure | DocumentDeletedFailure)[]; | ||
}>; | ||
@@ -26,0 +26,0 @@ listRevs: (docId: DocId) => Promise<RevInfo[]>; |
@@ -5,3 +5,3 @@ import querystring from 'node:querystring' | ||
import { isPlainObject, validateString, validateArray, validatePlainObject, isIdentifiedDocument } from './utils.js' | ||
import type { CreateIndexRequest, CreateIndexResponse, DatabaseChangesParams, DatabaseChangesResponse, DocumentBulkResponse, DocumentDestroyResponse, DocumentFetchResponse, DocumentGetResponse, DocumentInsertParams, DocumentInsertResponse, DocumentLookupFailure, DocumentViewParams, DocumentViewResponse, IdentifiedDocument, InfoResponse, MangoResponse } from '../types/nano.js' | ||
import type { CreateIndexRequest, CreateIndexResponse, DatabaseChangesParams, DatabaseChangesResponse, Document, DocumentBulkResponse, DocumentDestroyResponse, DocumentFetchResponse, DocumentGetResponse, DocumentInsertParams, DocumentInsertResponse, DocumentLookupFailure, DocumentViewParams, DocumentViewResponse, IdentifiedDocument, InfoResponse, MangoResponse } from '../types/nano.js' | ||
import type { DocId, DocRev, DocTranformer, FetchOptions, FindOptions, FindQuery, JsonRequest, NewDoc, TestFunction, RecoveredDoc, UpdateOptions, ViewKey, DocumentDeletedFailure, RevInfo, DocumentRevertResponse } from 'types/types.js' | ||
@@ -8,0 +8,0 @@ |
@@ -29,3 +29,3 @@ { | ||
], | ||
"version": "9.0.0", | ||
"version": "9.0.1", | ||
"main": "dist/lib/cot.js", | ||
@@ -32,0 +32,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
255795