@wix/app-extensions 1.0.164 → 1.0.165
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.
|
@@ -28189,17 +28189,22 @@ interface McpConfig {
|
|
|
28189
28189
|
allowedTools?: string[];
|
|
28190
28190
|
}
|
|
28191
28191
|
/**
|
|
28192
|
-
* One translatable permission line. Repeated-message shape, keyed by id
|
|
28193
|
-
* components-translations
|
|
28192
|
+
* One translatable permission line. Repeated-message shape, keyed by id. Dev Center's
|
|
28193
|
+
* components-translations scanner keys a translatable repeated field on a field named id whenever
|
|
28194
|
+
* the message has one, in preference to a (.wix.api.unique) annotation, so id is the key here and
|
|
28195
|
+
* declaring unique on another field would not change that.
|
|
28194
28196
|
*/
|
|
28195
28197
|
/** @internal */
|
|
28196
28198
|
interface DisplayedPermission {
|
|
28197
28199
|
/**
|
|
28198
28200
|
* Identifies this line within its connector's list, so editing or reordering the list does not
|
|
28199
|
-
* orphan an existing translation. The caller
|
|
28200
|
-
* unchanged
|
|
28201
|
-
*
|
|
28202
|
-
*
|
|
28201
|
+
* orphan an existing translation. The caller must supply a non-empty id, unique within the list,
|
|
28202
|
+
* and echo back unchanged the id it last read for a line it is keeping. Both are caller
|
|
28203
|
+
* obligations and this schema enforces neither. The write path does fill an empty id with a fresh
|
|
28204
|
+
* UUID, on create and on update, but that is a backstop rather than a substitute: it can only
|
|
28205
|
+
* mint for a line it sees as new, so it cannot carry a line's identity across an edit or a
|
|
28206
|
+
* reorder, and only the caller knows which line is which. Nothing rejects a duplicate id. A line
|
|
28207
|
+
* whose id changes starts its translation history over and shows English until retranslated.
|
|
28203
28208
|
* @maxLength 80
|
|
28204
28209
|
*/
|
|
28205
28210
|
id?: string;
|