@query-farm/vgi 0.14.0 → 0.15.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.
package/dist/index.js CHANGED
@@ -10172,7 +10172,13 @@ async function buildSchemas(iface, aod) {
10172
10172
  });
10173
10173
  functions.push(...macrosRaw.map((m) => macroToObject(m)));
10174
10174
  functions.sort((a, b) => String(a.type).localeCompare(String(b.type)) || String(a.name).localeCompare(String(b.name)));
10175
- schemas.push({ name: si.name, tables, views, functions });
10175
+ const schemaObj = { name: si.name };
10176
+ if (si.comment)
10177
+ schemaObj.doc = si.comment;
10178
+ schemaObj.tables = tables;
10179
+ schemaObj.views = views;
10180
+ schemaObj.functions = functions;
10181
+ schemas.push(schemaObj);
10176
10182
  counts.schemas += 1;
10177
10183
  counts.tables += tables.length;
10178
10184
  counts.views += views.length;
@@ -11476,4 +11482,4 @@ export {
11476
11482
  ArgumentValidationError
11477
11483
  };
11478
11484
 
11479
- //# debugId=55E5F7DD831BB4DD64756E2164756E21
11485
+ //# debugId=B7CCB77D8D0375B864756E2164756E21