@open-mercato/search 0.10.1-develop.7827.1.5c631908e4 → 0.10.1-develop.7836.1.0ef0f453c6
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/AGENTS.md +8 -3
- package/package.json +4 -4
package/AGENTS.md
CHANGED
|
@@ -176,7 +176,6 @@ Use `buildSource` to generate text for embeddings. The returned text is converte
|
|
|
176
176
|
title: ctx.record.name,
|
|
177
177
|
subtitle: ctx.record.status,
|
|
178
178
|
icon: 'lucide:file',
|
|
179
|
-
badge: 'Your Entity',
|
|
180
179
|
},
|
|
181
180
|
links: [
|
|
182
181
|
{ href: `/backend/your-module/${ctx.record.id}`, label: 'View', kind: 'primary' },
|
|
@@ -210,7 +209,6 @@ Presenter is resolved at **search time** using `formatResult`. When `formatResul
|
|
|
210
209
|
title: ctx.record.display_name ?? ctx.record.name ?? 'Unknown',
|
|
211
210
|
subtitle: ctx.record.email ?? ctx.record.status,
|
|
212
211
|
icon: 'lucide:user',
|
|
213
|
-
badge: 'Customer',
|
|
214
212
|
}
|
|
215
213
|
},
|
|
216
214
|
}
|
|
@@ -332,7 +330,14 @@ interface SearchResultPresenter {
|
|
|
332
330
|
/** Icon identifier (e.g., 'lucide:user', 'user', 'building') */
|
|
333
331
|
icon?: string
|
|
334
332
|
|
|
335
|
-
/**
|
|
333
|
+
/**
|
|
334
|
+
* @deprecated Never rendered by any search UI; slated for removal in 0.11.0.
|
|
335
|
+
* Do not populate it. For an entity-type label add a
|
|
336
|
+
* `search.entityType.<module>.<entity>` key in your own module's `i18n/*.json`
|
|
337
|
+
* (dictionaries merge flat, so a `search.*` key resolves from any module), which
|
|
338
|
+
* all three surfaces do render; for per-record detail use `subtitle`.
|
|
339
|
+
* `VectorResultPresenter.badge` is deprecated on the same terms.
|
|
340
|
+
*/
|
|
336
341
|
badge?: string
|
|
337
342
|
}
|
|
338
343
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-mercato/search",
|
|
3
|
-
"version": "0.10.1-develop.
|
|
3
|
+
"version": "0.10.1-develop.7836.1.0ef0f453c6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -127,9 +127,9 @@
|
|
|
127
127
|
"zod": "^4.6.6"
|
|
128
128
|
},
|
|
129
129
|
"peerDependencies": {
|
|
130
|
-
"@open-mercato/core": "0.10.1-develop.
|
|
131
|
-
"@open-mercato/queue": "0.10.1-develop.
|
|
132
|
-
"@open-mercato/shared": "0.10.1-develop.
|
|
130
|
+
"@open-mercato/core": "0.10.1-develop.7836.1.0ef0f453c6",
|
|
131
|
+
"@open-mercato/queue": "0.10.1-develop.7836.1.0ef0f453c6",
|
|
132
|
+
"@open-mercato/shared": "0.10.1-develop.7836.1.0ef0f453c6"
|
|
133
133
|
},
|
|
134
134
|
"devDependencies": {
|
|
135
135
|
"@types/jest": "^30.0.0",
|