dzql 0.6.12 → 0.6.13
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/package.json +1 -1
- package/src/runtime/namespace.ts +2 -2
package/package.json
CHANGED
package/src/runtime/namespace.ts
CHANGED
|
@@ -380,12 +380,12 @@ export class DzqlNamespace {
|
|
|
380
380
|
async functions(c: Context): Promise<void> {
|
|
381
381
|
try {
|
|
382
382
|
const { manifest } = await this.init();
|
|
383
|
-
const functions: Record<string, {
|
|
383
|
+
const functions: Record<string, { schema: string; args: string[] }> = {};
|
|
384
384
|
|
|
385
385
|
for (const [name, fn] of Object.entries(manifest.functions)) {
|
|
386
386
|
functions[name] = {
|
|
387
|
+
schema: fn.schema,
|
|
387
388
|
args: fn.args,
|
|
388
|
-
returnType: fn.returnType,
|
|
389
389
|
};
|
|
390
390
|
}
|
|
391
391
|
|