hide-a-bed 7.1.0 → 7.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +148 -156
- package/impl/bindConfig.mts +62 -69
- package/impl/headDB.mts +28 -28
- package/impl/utils/errors.mts +159 -189
- package/impl/utils/fetch.mts +94 -102
- package/index.mts +42 -55
- package/package.json +2 -2
- package/types/output/impl/bindConfig.d.mts +15 -15
- package/types/output/impl/bindConfig.d.mts.map +1 -1
- package/types/output/impl/headDB.d.mts +1 -1
- package/types/output/impl/headDB.d.mts.map +1 -1
- package/types/output/impl/utils/errors.d.mts +12 -12
- package/types/output/impl/utils/errors.d.mts.map +1 -1
- package/types/output/impl/utils/fetch.d.mts +4 -4
- package/types/output/impl/utils/fetch.d.mts.map +1 -1
- package/types/output/index.d.mts +35 -35
- package/types/output/index.d.mts.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch.d.mts","sourceRoot":"","sources":["../../../../impl/utils/fetch.mts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,
|
|
1
|
+
{"version":3,"file":"fetch.d.mts","sourceRoot":"","sources":["../../../../impl/utils/fetch.mts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAG9D,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,CAAA;AAEnE,KAAK,eAAe,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;AAE1C,MAAM,MAAM,SAAS,GACjB,eAAe,GACf,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GACvB,KAAK,CAAC,OAAO,CAAC,GACd,IAAI,GACJ,SAAS,CAAA;AAEb,MAAM,MAAM,SAAS,GAAG;IACtB,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,WAAW,CAAC,KAAK,IAAI;IAC/B,IAAI,EAAE,KAAK,CAAA;IACX,OAAO,EAAE,OAAO,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAChC,MAAM,EAAE,UAAU,CAAA;IAClB,SAAS,CAAC,EACN,KAAK,GACL,UAAU,GACV,WAAW,GACX,QAAQ,GACR,OAAO,GACP,kBAAkB,GAClB,KAAK,GACL,OAAO,GACP,aAAa,GACb,QAAQ,GACR,SAAS,GACT,WAAW,CAAA;IACf,OAAO,CAAC,EAAE,cAAc,CAAA;IACxB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAClB,CAAA;AA2ED,wBAAsB,cAAc,CAAC,KAAK,GAAG,OAAO,EAClD,OAAO,EAAE,mBAAmB,GAC3B,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAuC7B;AAED,wBAAsB,gBAAgB,CACpC,OAAO,EAAE,mBAAmB,GAC3B,OAAO,CAAC,WAAW,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAkCzD"}
|
package/types/output/index.d.mts
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { createQuery } from
|
|
2
|
-
import { QueryBuilder } from
|
|
3
|
-
import { bindConfig } from
|
|
4
|
-
import { withRetry } from
|
|
5
|
-
import { bulkGet, bulkGetDictionary } from
|
|
6
|
-
import { getAtRev, get } from
|
|
7
|
-
import { queryStream } from
|
|
8
|
-
import { patch, patchDangerously } from
|
|
9
|
-
import { put } from
|
|
10
|
-
import { remove } from
|
|
11
|
-
import { bulkSave, bulkSaveTransaction } from
|
|
12
|
-
import { query } from
|
|
13
|
-
import { getDBInfo } from
|
|
14
|
-
import { headDB } from
|
|
15
|
-
import { bulkRemove, bulkRemoveMap } from
|
|
16
|
-
import { createLock, removeLock } from
|
|
17
|
-
import { watchDocs } from
|
|
18
|
-
export { get, getAtRev, put, remove, bulkGet, bulkSave, query, queryStream, getDBInfo, headDB, patch, patchDangerously, bulkRemove, bulkRemoveMap, bulkGetDictionary, bulkSaveTransaction, watchDocs, bindConfig, withRetry, QueryBuilder, createQuery, createLock, removeLock
|
|
19
|
-
export { ConflictError, HideABedError, NotFoundError, OperationError, RetryableError, ValidationError
|
|
20
|
-
export type { BulkGetBound, BulkGetDictionaryBound, BulkGetDictionaryOptions, BulkGetDictionaryResult, BulkGetOptions, BulkGetResponse
|
|
21
|
-
export type { OnInvalidDocAction } from
|
|
22
|
-
export type { GetOptions, GetBound, GetAtRevBound } from
|
|
23
|
-
export type { QueryBound } from
|
|
24
|
-
export type { ViewString, ViewOptions as SimpleViewOptions
|
|
25
|
-
export type { ViewRow, CouchDoc, CouchDocInput, ViewQueryResponse, ViewQueryResponseValidated, ViewRowValidated
|
|
26
|
-
export type { RetryOptions } from
|
|
27
|
-
export type { ErrorCategory, ErrorOperation, HideABedErrorOptions, NetworkError, ValidationErrorOptions
|
|
28
|
-
export type { OnRow } from
|
|
29
|
-
export type { CouchAuth, CouchAuthInput, CouchConfig, CouchConfigInput
|
|
30
|
-
export type { Dispatcher, RequestOptions, RequestOptionsInput
|
|
31
|
-
export type { LockOptions, LockOptionsInput, LockDoc
|
|
32
|
-
export type { WatchHandle, WatchListener } from
|
|
33
|
-
export type { WatchOptions as WatchOptionsSchema, WatchOptionsInput
|
|
34
|
-
export type { BoundInstance } from
|
|
35
|
-
export type { StandardSchemaV1 } from
|
|
1
|
+
import { createQuery } from './impl/utils/queryBuilder.mts';
|
|
2
|
+
import { QueryBuilder } from './impl/utils/queryBuilder.mts';
|
|
3
|
+
import { bindConfig } from './impl/bindConfig.mts';
|
|
4
|
+
import { withRetry } from './impl/retry.mts';
|
|
5
|
+
import { bulkGet, bulkGetDictionary } from './impl/bulkGet.mts';
|
|
6
|
+
import { getAtRev, get } from './impl/get.mts';
|
|
7
|
+
import { queryStream } from './impl/stream.mts';
|
|
8
|
+
import { patch, patchDangerously } from './impl/patch.mts';
|
|
9
|
+
import { put } from './impl/put.mts';
|
|
10
|
+
import { remove } from './impl/remove.mts';
|
|
11
|
+
import { bulkSave, bulkSaveTransaction } from './impl/bulkSave.mts';
|
|
12
|
+
import { query } from './impl/query.mts';
|
|
13
|
+
import { getDBInfo } from './impl/getDBInfo.mts';
|
|
14
|
+
import { headDB } from './impl/headDB.mts';
|
|
15
|
+
import { bulkRemove, bulkRemoveMap } from './impl/bulkRemove.mts';
|
|
16
|
+
import { createLock, removeLock } from './impl/sugar/lock.mts';
|
|
17
|
+
import { watchDocs } from './impl/sugar/watch.mts';
|
|
18
|
+
export { get, getAtRev, put, remove, bulkGet, bulkSave, query, queryStream, getDBInfo, headDB, patch, patchDangerously, bulkRemove, bulkRemoveMap, bulkGetDictionary, bulkSaveTransaction, watchDocs, bindConfig, withRetry, QueryBuilder, createQuery, createLock, removeLock };
|
|
19
|
+
export { ConflictError, HideABedError, NotFoundError, OperationError, RetryableError, ValidationError } from './impl/utils/errors.mts';
|
|
20
|
+
export type { BulkGetBound, BulkGetDictionaryBound, BulkGetDictionaryOptions, BulkGetDictionaryResult, BulkGetOptions, BulkGetResponse } from './impl/bulkGet.mts';
|
|
21
|
+
export type { OnInvalidDocAction } from './impl/utils/parseRows.mts';
|
|
22
|
+
export type { GetOptions, GetBound, GetAtRevBound } from './impl/get.mts';
|
|
23
|
+
export type { QueryBound } from './impl/query.mts';
|
|
24
|
+
export type { ViewString, ViewOptions as SimpleViewOptions } from './schema/couch/couch.input.schema.ts';
|
|
25
|
+
export type { ViewRow, CouchDoc, CouchDocInput, ViewQueryResponse, ViewQueryResponseValidated, ViewRowValidated } from './schema/couch/couch.output.schema.ts';
|
|
26
|
+
export type { RetryOptions } from './impl/retry.mts';
|
|
27
|
+
export type { ErrorCategory, ErrorOperation, HideABedErrorOptions, NetworkError, ValidationErrorOptions } from './impl/utils/errors.mts';
|
|
28
|
+
export type { OnRow } from './impl/stream.mts';
|
|
29
|
+
export type { CouchAuth, CouchAuthInput, CouchConfig, CouchConfigInput } from './schema/config.mts';
|
|
30
|
+
export type { Dispatcher, RequestOptions, RequestOptionsInput } from './schema/request.mts';
|
|
31
|
+
export type { LockOptions, LockOptionsInput, LockDoc } from './schema/sugar/lock.mts';
|
|
32
|
+
export type { WatchHandle, WatchListener } from './impl/sugar/watch.mts';
|
|
33
|
+
export type { WatchOptions as WatchOptionsSchema, WatchOptionsInput } from './schema/sugar/watch.mts';
|
|
34
|
+
export type { BoundInstance } from './impl/bindConfig.mts';
|
|
35
|
+
export type { StandardSchemaV1 } from './types/standard-schema.ts';
|
|
36
36
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../index.mts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../index.mts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAA;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAC5C,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAC/D,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,EAAE,KAAK,EAAE,gBAAgB,E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