@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.js
CHANGED
|
@@ -3392,7 +3392,9 @@ function resolveTableQueryIntents(serviceName, tableName, table, defaultInputSch
|
|
|
3392
3392
|
for (const customIntent of table.customIntents?.query ?? []) {
|
|
3393
3393
|
const name = typeof customIntent === "string" ? customIntent.trim() : customIntent.intent?.trim();
|
|
3394
3394
|
if (!name) {
|
|
3395
|
-
warnings.push(
|
|
3395
|
+
warnings.push(
|
|
3396
|
+
`Skipped empty custom query intent for table '${tableName}'.`
|
|
3397
|
+
);
|
|
3396
3398
|
continue;
|
|
3397
3399
|
}
|
|
3398
3400
|
if (name.length > 100) {
|
|
@@ -4649,7 +4651,7 @@ var DatabaseController = class _DatabaseController {
|
|
|
4649
4651
|
strict: true
|
|
4650
4652
|
}
|
|
4651
4653
|
},
|
|
4652
|
-
strict:
|
|
4654
|
+
strict: false
|
|
4653
4655
|
};
|
|
4654
4656
|
if (!inputSchema.properties) {
|
|
4655
4657
|
return inputSchema;
|