hide-a-bed 5.1.4 → 5.1.5
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 +1 -1
- package/cjs/schema/query.cjs +2 -2
- package/package.json +1 -1
- package/schema/query.mjs +2 -2
package/README.md
CHANGED
|
@@ -48,7 +48,7 @@ If you need to force autocompletion/type-checking, you can add the following jsd
|
|
|
48
48
|
|
|
49
49
|
```
|
|
50
50
|
function doSomething (services)
|
|
51
|
-
/** @type { import('hide-a-bed
|
|
51
|
+
/** @type { import('hide-a-bed').DB} db */
|
|
52
52
|
const db = services.db;
|
|
53
53
|
```
|
|
54
54
|
|
package/cjs/schema/query.cjs
CHANGED
|
@@ -42,8 +42,8 @@ const SimpleViewOptions = import_zod.z.object({
|
|
|
42
42
|
startkey: import_zod.z.any().optional(),
|
|
43
43
|
endkey: import_zod.z.any().optional(),
|
|
44
44
|
descending: import_zod.z.boolean().optional().describe("sort results descending"),
|
|
45
|
-
skip: import_zod.z.number().
|
|
46
|
-
limit: import_zod.z.number().
|
|
45
|
+
skip: import_zod.z.number().nonnegative().optional().describe("skip this many rows"),
|
|
46
|
+
limit: import_zod.z.number().nonnegative().optional().describe("limit the results to this many rows"),
|
|
47
47
|
key: import_zod.z.any().optional(),
|
|
48
48
|
keys: import_zod.z.array(import_zod.z.any()).optional(),
|
|
49
49
|
include_docs: import_zod.z.boolean().optional().describe("join the id to the doc and return it"),
|
package/package.json
CHANGED
package/schema/query.mjs
CHANGED
|
@@ -20,8 +20,8 @@ export const SimpleViewOptions = z.object({
|
|
|
20
20
|
startkey: z.any().optional(),
|
|
21
21
|
endkey: z.any().optional(),
|
|
22
22
|
descending: z.boolean().optional().describe('sort results descending'),
|
|
23
|
-
skip: z.number().
|
|
24
|
-
limit: z.number().
|
|
23
|
+
skip: z.number().nonnegative().optional().describe('skip this many rows'),
|
|
24
|
+
limit: z.number().nonnegative().optional().describe('limit the results to this many rows'),
|
|
25
25
|
key: z.any().optional(),
|
|
26
26
|
keys: z.array(z.any()).optional(),
|
|
27
27
|
include_docs: z.boolean().optional().describe('join the id to the doc and return it'),
|