@robbeverhelst/do 1.74.0 → 1.76.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.
Files changed (2) hide show
  1. package/dist/do.js +16 -5
  2. package/package.json +1 -1
package/dist/do.js CHANGED
@@ -22166,11 +22166,14 @@ var filmFacetSchema = exports_external.object({
22166
22166
  kind: exports_external.enum(["movie", "show"]).nullish(),
22167
22167
  year: exports_external.number().int().min(1888).max(2100).nullish(),
22168
22168
  director: exports_external.string().min(1).max(200).nullish(),
22169
- coverUrl
22169
+ coverUrl,
22170
+ episodeCount: exports_external.number().int().min(1).max(1e4).nullish(),
22171
+ currentEpisode: exports_external.number().int().min(0).max(1e4).nullish()
22170
22172
  }).strict();
22171
22173
  var gameFacetSchema2 = exports_external.object({
22172
22174
  platform: exports_external.string().min(1).max(120).nullish(),
22173
- coverUrl
22175
+ coverUrl,
22176
+ completion: exports_external.number().int().min(0).max(100).nullish()
22174
22177
  }).strict();
22175
22178
  var musicFacetSchema = exports_external.object({
22176
22179
  artist: exports_external.string().min(1).max(200).nullish(),
@@ -22215,7 +22218,14 @@ var COLLECTION_TYPES = {
22215
22218
  facetSchema: filmFacetSchema,
22216
22219
  view: "grid",
22217
22220
  subtitleKey: "director",
22218
- lookupId: "tmdb"
22221
+ lookupId: "tmdb",
22222
+ progress: {
22223
+ kind: "count",
22224
+ currentField: "currentEpisode",
22225
+ totalField: "episodeCount",
22226
+ unit: "episode",
22227
+ appliesWhen: { field: "kind", equals: "show" }
22228
+ }
22219
22229
  },
22220
22230
  game: {
22221
22231
  key: "game",
@@ -22232,7 +22242,8 @@ var COLLECTION_TYPES = {
22232
22242
  facetSchema: gameFacetSchema2,
22233
22243
  view: "grid",
22234
22244
  subtitleKey: "platform",
22235
- lookupId: "igdb"
22245
+ lookupId: "igdb",
22246
+ progress: { kind: "percent", field: "completion" }
22236
22247
  },
22237
22248
  music: {
22238
22249
  key: "music",
@@ -24370,7 +24381,7 @@ function parseCapture2(input, now) {
24370
24381
 
24371
24382
  // src/meta.ts
24372
24383
  var CLI_NAME = "do";
24373
- var VERSION = "1.74.0";
24384
+ var VERSION = "1.76.0";
24374
24385
  var API_PREFIX = "/api/v1";
24375
24386
  var DEFAULT_API_URL = "http://localhost:3001";
24376
24387
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robbeverhelst/do",
3
- "version": "1.74.0",
3
+ "version": "1.76.0",
4
4
  "private": false,
5
5
  "description": "do — the agent-drivable CLI over the public /api/v1 surface",
6
6
  "type": "module",