Comparing version 8.0.3 to 8.0.4
@@ -13,3 +13,3 @@ import { type ConfigParams } from './config_parser.js'; | ||
exists: (docId: string) => Promise<boolean>; | ||
put: (doc: import("../types/nano.js").IdentifiedDocument | import("types/types.js").RecoveredDoc, params?: import("../types/nano.js").DocumentInsertParams) => Promise<import("../types/nano.js").DocumentInsertResponse>; | ||
put: (doc: import("types/types.js").RecoveredDoc | import("../types/nano.js").IdentifiedDocument, params?: import("../types/nano.js").DocumentInsertParams) => Promise<import("../types/nano.js").DocumentInsertResponse>; | ||
post: (doc: import("types/types.js").NewDoc, params?: import("../types/nano.js").DocumentInsertParams) => Promise<import("../types/nano.js").DocumentInsertResponse>; | ||
@@ -29,3 +29,3 @@ update: (docId: string, fn: import("types/types.js").DocTranformer, options?: import("types/types.js").UpdateOptions) => Promise<import("../types/nano.js").DocumentInsertResponse>; | ||
docs: D_11[]; | ||
errors: (import("../types/nano.js").DocumentLookupFailure | import("types/types.js").DocumentDeletedFailure)[]; | ||
errors: (import("types/types.js").DocumentDeletedFailure | import("../types/nano.js").DocumentLookupFailure)[]; | ||
}>; | ||
@@ -32,0 +32,0 @@ listRevs: (docId: string) => Promise<import("types/types.js").RevInfo[]>; |
@@ -23,3 +23,3 @@ import type { CreateIndexRequest, CreateIndexResponse, DatabaseChangesParams, DatabaseChangesResponse, DocumentBulkResponse, DocumentDestroyResponse, DocumentGetResponse, DocumentInsertParams, DocumentInsertResponse, DocumentLookupFailure, DocumentViewParams, DocumentViewResponse, IdentifiedDocument, InfoResponse, MangoResponse } from '../types/nano.js'; | ||
docs: D_6[]; | ||
errors: (DocumentLookupFailure | DocumentDeletedFailure)[]; | ||
errors: (DocumentDeletedFailure | DocumentLookupFailure)[]; | ||
}>; | ||
@@ -26,0 +26,0 @@ listRevs: (docId: DocId) => Promise<RevInfo[]>; |
@@ -27,3 +27,3 @@ import type { Document, DocumentInsertResponse, DocumentViewParams } from './nano.js'; | ||
export type MixedKeyElement = string | number | object; | ||
export type ViewKey = string | MixedKeyElement[] | { | ||
export type ViewKey = string | number | MixedKeyElement[] | { | ||
[key: string]: MixedKeyElement; | ||
@@ -30,0 +30,0 @@ }; |
@@ -29,3 +29,3 @@ { | ||
], | ||
"version": "8.0.3", | ||
"version": "8.0.4", | ||
"main": "dist/lib/cot.js", | ||
@@ -32,0 +32,0 @@ "dependencies": { |
@@ -37,3 +37,3 @@ import type { Document, DocumentInsertResponse, DocumentViewParams } from './nano.js' | ||
export type ViewKey = string | MixedKeyElement[] | { [key: string]: MixedKeyElement } | ||
export type ViewKey = string | number | MixedKeyElement[] | { [key: string]: MixedKeyElement } | ||
@@ -40,0 +40,0 @@ export interface FetchOptions { |
Sorry, the diff of this file is not supported yet
255464