@robbeverhelst/do 1.60.0 → 1.62.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 +15 -3
  2. package/package.json +1 -1
package/dist/do.js CHANGED
@@ -20605,6 +20605,16 @@ var collectionSavedViewSchema = exports_external.object({
20605
20605
  status: exports_external.string().min(1).nullable(),
20606
20606
  tags: exports_external.array(exports_external.string().min(1))
20607
20607
  });
20608
+ var collectionLookupResultSchema = exports_external.object({
20609
+ key: exports_external.string(),
20610
+ title: exports_external.string(),
20611
+ subtitle: exports_external.string().nullable(),
20612
+ facet: exports_external.record(exports_external.string(), exports_external.unknown())
20613
+ });
20614
+ var collectionLookupQuerySchema = exports_external.object({
20615
+ type: exports_external.string().min(1),
20616
+ q: exports_external.string().default("")
20617
+ });
20608
20618
  // ../../packages/schema/src/contracts/recipes.ts
20609
20619
  var recipeSchema = createSelectSchema(recipes);
20610
20620
  var recipeIngredientSchema = createSelectSchema(recipeIngredients, {
@@ -21887,7 +21897,8 @@ var COLLECTION_TYPES = {
21887
21897
  statusLabels: { want: "Want", done: "Listened" },
21888
21898
  facetSchema: musicFacetSchema,
21889
21899
  view: "shelf",
21890
- subtitleKey: "artist"
21900
+ subtitleKey: "artist",
21901
+ lookupId: "musicbrainz"
21891
21902
  },
21892
21903
  place: {
21893
21904
  key: "place",
@@ -21897,7 +21908,8 @@ var COLLECTION_TYPES = {
21897
21908
  statusLabels: { want: "Want", done: "Been" },
21898
21909
  facetSchema: placeFacetSchema2,
21899
21910
  view: "map",
21900
- subtitleKey: "address"
21911
+ subtitleKey: "address",
21912
+ lookupId: "nominatim"
21901
21913
  },
21902
21914
  wine: {
21903
21915
  key: "wine",
@@ -23950,7 +23962,7 @@ function parseCapture2(input) {
23950
23962
 
23951
23963
  // src/meta.ts
23952
23964
  var CLI_NAME = "do";
23953
- var VERSION = "1.60.0";
23965
+ var VERSION = "1.62.0";
23954
23966
  var API_PREFIX = "/api/v1";
23955
23967
  var DEFAULT_API_URL = "http://localhost:3001";
23956
23968
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robbeverhelst/do",
3
- "version": "1.60.0",
3
+ "version": "1.62.0",
4
4
  "private": false,
5
5
  "description": "do — the agent-drivable CLI over the public /api/v1 surface",
6
6
  "type": "module",