lucid-extension-sdk 0.0.170 → 0.0.171
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.
|
@@ -14,6 +14,14 @@ export declare class LinkUnfurlBlockProxy extends BlockProxy {
|
|
|
14
14
|
* Sets the title on the block, which is the main text shown on the block.
|
|
15
15
|
*/
|
|
16
16
|
setTitle(title: string): void;
|
|
17
|
+
/**
|
|
18
|
+
* Returns the description on the block.
|
|
19
|
+
*/
|
|
20
|
+
getDescription(): string;
|
|
21
|
+
/**
|
|
22
|
+
* Sets the description on the block.
|
|
23
|
+
*/
|
|
24
|
+
setDescription(description: string): void;
|
|
17
25
|
/**
|
|
18
26
|
* Returns the name of the service the link belongs to, such as "Lucid" or "Google", as displayed below the title on
|
|
19
27
|
* the block.
|
|
@@ -20,6 +20,18 @@ class LinkUnfurlBlockProxy extends blockproxy_1.BlockProxy {
|
|
|
20
20
|
setTitle(title) {
|
|
21
21
|
this.textAreas.set('t_LinkUnfurlTitle', title, { force: true });
|
|
22
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* Returns the description on the block.
|
|
25
|
+
*/
|
|
26
|
+
getDescription() {
|
|
27
|
+
return this.textAreas.get('t_LinkUnfurlDescription');
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Sets the description on the block.
|
|
31
|
+
*/
|
|
32
|
+
setDescription(description) {
|
|
33
|
+
this.textAreas.set('t_LinkUnfurlDescription', description, { force: true });
|
|
34
|
+
}
|
|
23
35
|
/**
|
|
24
36
|
* Returns the name of the service the link belongs to, such as "Lucid" or "Google", as displayed below the title on
|
|
25
37
|
* the block.
|