@divkitframework/divkit 28.9.0 → 28.10.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@divkitframework/divkit",
3
- "version": "28.9.0",
3
+ "version": "28.10.0",
4
4
  "description": "DivKit for the web",
5
5
  "keywords": [
6
6
  "server-driven-ui",
@@ -160,7 +160,25 @@ export interface ActionArrayInsertValue {
160
160
  value: TypedValue;
161
161
  }
162
162
 
163
- export type TypedAction = ActionSetVariable | ActionArrayRemoveValue | ActionArrayInsertValue;
163
+ export interface CopyToClipboardContentText {
164
+ type: 'text';
165
+ value: string;
166
+ }
167
+
168
+ export interface CopyToClipboardContentUrl {
169
+ type: 'url';
170
+ value: string;
171
+ }
172
+
173
+ export type CopyToClipboardContent = CopyToClipboardContentText | CopyToClipboardContentUrl;
174
+
175
+ export interface ActionCopyToClipboard {
176
+ type: 'copy_to_clipboard';
177
+ content: CopyToClipboardContent;
178
+ }
179
+
180
+ export type TypedAction = ActionSetVariable | ActionArrayRemoveValue | ActionArrayInsertValue |
181
+ ActionCopyToClipboard;
164
182
 
165
183
  export interface Action {
166
184
  log_id: string;