@wix/auto_sdk_data-extension-schema_schemas 1.0.307 → 1.0.308

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.
@@ -23463,16 +23463,21 @@ interface McpConfig {
23463
23463
  allowedTools?: string[];
23464
23464
  }
23465
23465
  /**
23466
- * One translatable permission line. Repeated-message shape, keyed by id, per the
23467
- * components-translations docs' condition for a translatable repeated field.
23466
+ * One translatable permission line. Repeated-message shape, keyed by id. Dev Center's
23467
+ * components-translations scanner keys a translatable repeated field on a field named id whenever
23468
+ * the message has one, in preference to a (.wix.api.unique) annotation, so id is the key here and
23469
+ * declaring unique on another field would not change that.
23468
23470
  */
23469
23471
  interface DisplayedPermission {
23470
23472
  /**
23471
23473
  * Identifies this line within its connector's list, so editing or reordering the list does not
23472
- * orphan an existing translation. The caller mints the id for a new line and it is echoed back
23473
- * unchanged on update. To preserve an existing line's translation history, echo back the id you
23474
- * last read for it; sending it empty (even for a line that already had one) is read as "this is
23475
- * new" and mints a fresh id, starting a fresh translation history.
23474
+ * orphan an existing translation. The caller must supply a non-empty id, unique within the list,
23475
+ * and echo back unchanged the id it last read for a line it is keeping. Both are caller
23476
+ * obligations and this schema enforces neither. The write path does fill an empty id with a fresh
23477
+ * UUID, on create and on update, but that is a backstop rather than a substitute: it can only
23478
+ * mint for a line it sees as new, so it cannot carry a line's identity across an edit or a
23479
+ * reorder, and only the caller knows which line is which. Nothing rejects a duplicate id. A line
23480
+ * whose id changes starts its translation history over and shows English until retranslated.
23476
23481
  * @maxLength 80
23477
23482
  */
23478
23483
  _id?: string;