From 03c2bb5261206278831366547bca12a2802115c6 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 21 Aug 2026 12:36:25 +0000 Subject: [PATCH] docs(data-modeling): add missing `bulk` to the objects.mdx `apiMethods` sample MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `content/docs/data-modeling/objects.mdx` shipped an `enable.apiMethods` sample listing only five of the six authorable primitives, omitting `bulk`. The whitelist is exact — `undefined` means unrestricted, a subset means that subset's derived closure — so a reader who copied the sample verbatim silently denied batch operations on their object. The page's own property table two rows below already names all six (`get/list/create/update/delete/bulk`), and `ApiMethod` in packages/spec/src/data/object.zod.ts declares six. Only the sample was wrong. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01DdCnBGcHeufjrq7drTD3wt --- content/docs/data-modeling/objects.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/data-modeling/objects.mdx b/content/docs/data-modeling/objects.mdx index 06ea4cbaaf..90161bd922 100644 --- a/content/docs/data-modeling/objects.mdx +++ b/content/docs/data-modeling/objects.mdx @@ -81,7 +81,7 @@ enable: { trackHistory: true, // Field history tracking for audit searchable: true, // Include in global search index apiEnabled: true, // Expose object via automatic APIs (REST) - apiMethods: ['get', 'list', 'create', 'update', 'delete'], + apiMethods: ['get', 'list', 'create', 'update', 'delete', 'bulk'], files: true, // File attachments feeds: true, // Activity feed and comments activities: true, // Tasks and events tracking