@cadenza.io/service 2.6.0 → 2.6.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.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3344,7 +3344,9 @@ function resolveTableQueryIntents(serviceName, tableName, table, defaultInputSch
|
|
|
3344
3344
|
for (const customIntent of table.customIntents?.query ?? []) {
|
|
3345
3345
|
const name = typeof customIntent === "string" ? customIntent.trim() : customIntent.intent?.trim();
|
|
3346
3346
|
if (!name) {
|
|
3347
|
-
warnings.push(
|
|
3347
|
+
warnings.push(
|
|
3348
|
+
`Skipped empty custom query intent for table '${tableName}'.`
|
|
3349
|
+
);
|
|
3348
3350
|
continue;
|
|
3349
3351
|
}
|
|
3350
3352
|
if (name.length > 100) {
|
|
@@ -4601,7 +4603,7 @@ var DatabaseController = class _DatabaseController {
|
|
|
4601
4603
|
strict: true
|
|
4602
4604
|
}
|
|
4603
4605
|
},
|
|
4604
|
-
strict:
|
|
4606
|
+
strict: false
|
|
4605
4607
|
};
|
|
4606
4608
|
if (!inputSchema.properties) {
|
|
4607
4609
|
return inputSchema;
|