@abraca/dabra 2.23.0 → 2.25.0

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.
@@ -11073,9 +11073,14 @@ var AbracadabraClient = class {
11073
11073
  return this.request("GET", `/docs/${encodeURIComponent(docId)}/access`);
11074
11074
  }
11075
11075
  /**
11076
- * Update document metadata (label, description, kind, parent_id). Requires
11077
- * manage permission on the doc; reparenting additionally requires manage on
11078
- * the new parent (or admin if moving under the server root).
11076
+ * Update document metadata (label, description, kind, doc_type, parent_id).
11077
+ * Requires manage permission on the doc; reparenting additionally requires
11078
+ * manage on the new parent (or admin if moving under the server root).
11079
+ *
11080
+ * `doc_type` is the renderer hint (`"kanban"`, `"graph"`, …) — orthogonal
11081
+ * to `kind` (the structural role). Use it for post-create type changes;
11082
+ * never write renderer strings into `kind`. Servers older than migration
11083
+ * 0014 ignore the field (unknown JSON fields are dropped server-side).
11079
11084
  */
11080
11085
  async updateDocumentMeta(docId, opts) {
11081
11086
  await this.request("PATCH", `/docs/${encodeURIComponent(docId)}`, { body: opts });