dzql 0.6.11 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dzql",
3
- "version": "0.6.11",
3
+ "version": "0.6.13",
4
4
  "description": "Database-first real-time framework with TypeScript support",
5
5
  "repository": {
6
6
  "type": "git",
@@ -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, { args: string[]; returnType: 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