@nubitio/hydra 0.8.2 → 0.9.1
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/index.cjs +6 -1
- package/dist/index.mjs +6 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -639,11 +639,16 @@ function resolveEntityTextField(relatedSchema, valueField) {
|
|
|
639
639
|
if (!relatedSchema) return "name";
|
|
640
640
|
for (const fieldName of [
|
|
641
641
|
"name",
|
|
642
|
+
"nombre",
|
|
642
643
|
"businessName",
|
|
644
|
+
"razonSocial",
|
|
643
645
|
"description",
|
|
646
|
+
"descripcion",
|
|
644
647
|
"fullNumber",
|
|
645
648
|
"title",
|
|
646
|
-
"
|
|
649
|
+
"titulo",
|
|
650
|
+
"series",
|
|
651
|
+
"label"
|
|
647
652
|
]) {
|
|
648
653
|
const match = relatedSchema.fields.find((field) => field.name === fieldName && isStringLikeField(field));
|
|
649
654
|
if (match) return match.name;
|
package/dist/index.mjs
CHANGED
|
@@ -615,11 +615,16 @@ function resolveEntityTextField(relatedSchema, valueField) {
|
|
|
615
615
|
if (!relatedSchema) return "name";
|
|
616
616
|
for (const fieldName of [
|
|
617
617
|
"name",
|
|
618
|
+
"nombre",
|
|
618
619
|
"businessName",
|
|
620
|
+
"razonSocial",
|
|
619
621
|
"description",
|
|
622
|
+
"descripcion",
|
|
620
623
|
"fullNumber",
|
|
621
624
|
"title",
|
|
622
|
-
"
|
|
625
|
+
"titulo",
|
|
626
|
+
"series",
|
|
627
|
+
"label"
|
|
623
628
|
]) {
|
|
624
629
|
const match = relatedSchema.fields.find((field) => field.name === fieldName && isStringLikeField(field));
|
|
625
630
|
if (match) return match.name;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nubitio/hydra",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Hydra / OpenAPI adapter for @nubitio/crud — automatic schema discovery and data source from API Platform docs.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"react": "^18.2.0 || ^19.0.0",
|
|
51
51
|
"react-dom": "^18.2.0 || ^19.0.0",
|
|
52
52
|
"react-i18next": "^14.0.0",
|
|
53
|
-
"@nubitio/core": "^0.
|
|
54
|
-
"@nubitio/crud": "^0.
|
|
53
|
+
"@nubitio/core": "^0.9.1",
|
|
54
|
+
"@nubitio/crud": "^0.9.1"
|
|
55
55
|
}
|
|
56
56
|
}
|