@robbeverhelst/do 1.50.0 → 1.52.0
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/dist/do.js +5 -3
- package/package.json +1 -1
package/dist/do.js
CHANGED
|
@@ -21571,7 +21571,8 @@ var coverUrl = exports_external.string().url().max(2048).nullish();
|
|
|
21571
21571
|
var bookFacetSchema = exports_external.object({
|
|
21572
21572
|
author: exports_external.string().min(1).max(200).nullish(),
|
|
21573
21573
|
coverUrl,
|
|
21574
|
-
pageCount: exports_external.number().int().min(1).max(1e5).nullish()
|
|
21574
|
+
pageCount: exports_external.number().int().min(1).max(1e5).nullish(),
|
|
21575
|
+
currentPage: exports_external.number().int().min(0).max(1e5).nullish()
|
|
21575
21576
|
}).strict();
|
|
21576
21577
|
var filmFacetSchema = exports_external.object({
|
|
21577
21578
|
kind: exports_external.enum(["movie", "show"]).nullish(),
|
|
@@ -21614,7 +21615,8 @@ var COLLECTION_TYPES = {
|
|
|
21614
21615
|
facetSchema: bookFacetSchema,
|
|
21615
21616
|
view: "shelf",
|
|
21616
21617
|
subtitleKey: "author",
|
|
21617
|
-
lookupId: "open-library"
|
|
21618
|
+
lookupId: "open-library",
|
|
21619
|
+
progress: { kind: "count", currentField: "currentPage", totalField: "pageCount", unit: "page" }
|
|
21618
21620
|
},
|
|
21619
21621
|
film: {
|
|
21620
21622
|
key: "film",
|
|
@@ -23715,7 +23717,7 @@ function parseCapture2(input) {
|
|
|
23715
23717
|
|
|
23716
23718
|
// src/meta.ts
|
|
23717
23719
|
var CLI_NAME = "do";
|
|
23718
|
-
var VERSION = "1.
|
|
23720
|
+
var VERSION = "1.52.0";
|
|
23719
23721
|
var API_PREFIX = "/api/v1";
|
|
23720
23722
|
var DEFAULT_API_URL = "http://localhost:3001";
|
|
23721
23723
|
|