@ampless/backend 1.0.0-beta.83 → 1.0.0-beta.84

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.
@@ -288,7 +288,8 @@ var createPostSchema = {
288
288
  description: "tiptap = rich text JSON tree; markdown = source string (GFM extensions enabled); html = raw HTML string (rendered verbatim, no sanitization)."
289
289
  },
290
290
  body: {
291
- description: "tiptap JSON (when format=tiptap), markdown source string (format=markdown), or raw HTML string (format=html)."
291
+ type: ["object", "array", "string"],
292
+ description: "tiptap JSON (when format=tiptap; pass a JSON object/array, NOT a stringified string), markdown source string (format=markdown), or raw HTML string (format=html)."
292
293
  },
293
294
  status: { type: "string", enum: ["draft", "published"], default: "draft" },
294
295
  excerpt: { type: "string" },
@@ -357,7 +358,10 @@ var updatePostSchema = {
357
358
  enum: ["tiptap", "markdown", "html"],
358
359
  description: "tiptap = rich text JSON tree; markdown = source string; html = raw HTML string (no sanitization)."
359
360
  },
360
- body: { description: "tiptap JSON, markdown source, or raw HTML string" },
361
+ body: {
362
+ type: ["object", "array", "string"],
363
+ description: "tiptap JSON (when format=tiptap; pass a JSON object/array, NOT a stringified string), markdown source, or raw HTML string"
364
+ },
361
365
  status: { type: "string", enum: ["draft", "published"] },
362
366
  publishedAt: { type: "string", description: "ISO 8601 timestamp" },
363
367
  tags: { type: "array", items: { type: "string" } },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampless/backend",
3
- "version": "1.0.0-beta.83",
3
+ "version": "1.0.0-beta.84",
4
4
  "description": "Amplify Gen 2 backend factories for ampless: auth, data, storage, event processors, API key renewer",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -69,7 +69,7 @@
69
69
  "@smithy/protocol-http": "^5.4.4",
70
70
  "@smithy/signature-v4": "^5.4.4",
71
71
  "fflate": "^0.8.3",
72
- "@ampless/mcp-server": "1.0.0-beta.60",
72
+ "@ampless/mcp-server": "1.0.0-beta.61",
73
73
  "ampless": "1.0.0-beta.54"
74
74
  },
75
75
  "peerDependencies": {