appflare 0.0.15 → 0.0.16

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.
@@ -43,7 +43,7 @@ const renderPathTreeLines = <T>(
43
43
  for (const [segment, child] of children) {
44
44
  lines.push(`${indent(depth + 1)}${renderObjectKey(segment)}: {`);
45
45
  lines.push(...renderPathTreeLines(child, depth + 1, renderLeaf));
46
- lines.push(`${indent(depth + 1)}}`);
46
+ lines.push(`${indent(depth + 1)}},`);
47
47
  }
48
48
  return lines;
49
49
  };
@@ -99,7 +99,7 @@ export function generateQueriesClientLines(
99
99
  for (const [segment, child] of children) {
100
100
  lines.push(`${indent(1)}${renderObjectKey(segment)}: {`);
101
101
  lines.push(...renderPathTreeLines(child, 1, renderLeaf));
102
- lines.push(`${indent(1)}}`);
102
+ lines.push(`${indent(1)}},`);
103
103
  }
104
104
  return lines.join("\n");
105
105
  }
@@ -157,7 +157,7 @@ export function generateMutationsClientLines(
157
157
  for (const [segment, child] of children) {
158
158
  lines.push(`${indent(1)}${renderObjectKey(segment)}: {`);
159
159
  lines.push(...renderPathTreeLines(child, 1, renderLeaf));
160
- lines.push(`${indent(1)}}`);
160
+ lines.push(`${indent(1)}},`);
161
161
  }
162
162
  return lines.join("\n");
163
163
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appflare",
3
- "version": "0.0.15",
3
+ "version": "0.0.16",
4
4
  "bin": {
5
5
  "appflare": "./cli/index.ts"
6
6
  },