hide-a-bed 5.0.5 → 5.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 +28 -1
- package/cjs/index.cjs +13 -2
- package/cjs/schema/bind.cjs +8 -2
- package/impl/retry.mjs +19 -9
- package/index.d.mts.map +1 -1
- package/index.mjs +33 -7
- package/log.txt +43 -0
- package/package.json +2 -2
- package/schema/bind.d.mts +4393 -76
- package/schema/bind.d.mts.map +1 -1
- package/schema/bind.mjs +10 -1
package/schema/bind.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bind.d.mts","sourceRoot":"","sources":["bind.mjs"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"bind.d.mts","sourceRoot":"","sources":["bind.mjs"],"names":[],"mappings":"AAYA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAuE;6BAVxD,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC;gCAQxB,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC;yBAG3B,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC;kBAvCjB,KAAK"}
|
package/schema/bind.mjs
CHANGED
|
@@ -10,7 +10,7 @@ import { CreateLockBound, RemoveLockBound } from './sugar/lock.mjs'
|
|
|
10
10
|
import { ChangesBound } from './changes.mjs'
|
|
11
11
|
import { WatchDocsBound } from './sugar/watch.mjs'
|
|
12
12
|
|
|
13
|
-
const
|
|
13
|
+
export const BindBase = z.object({
|
|
14
14
|
bulkGet: BulkGetBound,
|
|
15
15
|
bulkSave: BulkSaveBound,
|
|
16
16
|
bulkRemove: BulkRemoveBound,
|
|
@@ -27,6 +27,15 @@ const BindReturns = z.object({
|
|
|
27
27
|
changes: ChangesBound,
|
|
28
28
|
watchDocs: WatchDocsBound
|
|
29
29
|
})
|
|
30
|
+
/** @typedef { z.infer<typeof BindBase> } BindBaseSchema */
|
|
31
|
+
|
|
32
|
+
const RebindOptions = CouchConfig.omit({ couch: true })
|
|
33
|
+
|
|
34
|
+
// Define a recursive type where config returns the same type
|
|
35
|
+
export const BindReturns = BindBase.extend({
|
|
36
|
+
options: z.function().args(RebindOptions).returns(BindBase)
|
|
37
|
+
})
|
|
38
|
+
/** @typedef { z.infer<typeof BindReturns> } BindReturnsSchema */
|
|
30
39
|
|
|
31
40
|
export const Bind = z.function().args(CouchConfig).returns(BindReturns)
|
|
32
41
|
/** @typedef { z.infer<typeof Bind> } BindSchema */
|