lucid-extension-sdk 0.0.128 → 0.0.130

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": "lucid-extension-sdk",
3
- "version": "0.0.128",
3
+ "version": "0.0.130",
4
4
  "description": "Utility classes for writing Lucid Software editor extensions",
5
5
  "main": "sdk/index.js",
6
6
  "types": "sdk/index.d.ts",
@@ -27,6 +27,10 @@ export declare class LinkUnfurlBlockProxy extends BlockProxy {
27
27
  * Sets the main thumbnail on the block
28
28
  */
29
29
  setPreviewThumbnailUrl(thumbnailUrl: string): void;
30
+ /**
31
+ * Gets the main thumbnail on the block
32
+ */
33
+ getPreviewThumbnailUrl(): string;
30
34
  /**
31
35
  * Sets additional thumbnails on the block
32
36
  */
@@ -42,6 +42,12 @@ class LinkUnfurlBlockProxy extends blockproxy_1.BlockProxy {
42
42
  setPreviewThumbnailUrl(thumbnailUrl) {
43
43
  this.properties.set('LinkUnfurlThumbnailUrl', thumbnailUrl);
44
44
  }
45
+ /**
46
+ * Gets the main thumbnail on the block
47
+ */
48
+ getPreviewThumbnailUrl() {
49
+ return this.properties.get('LinkUnfurlThumbnailUrl');
50
+ }
45
51
  /**
46
52
  * Sets additional thumbnails on the block
47
53
  */
@@ -2,7 +2,7 @@
2
2
  * An enumeration of document element types. A Document element represents a collection of data that is stored on a document.
3
3
  */
4
4
  export declare enum DocumentElementType {
5
- DerivedStructure = "DerivedStructure",
5
+ DataTransformation = "DerivedStructure",
6
6
  Path = "Path",
7
7
  Tag = "Tag",
8
8
  CommentThreadMetadata = "ThreadMetadata",
@@ -6,7 +6,7 @@ exports.DocumentElementType = void 0;
6
6
  */
7
7
  var DocumentElementType;
8
8
  (function (DocumentElementType) {
9
- DocumentElementType["DerivedStructure"] = "DerivedStructure";
9
+ DocumentElementType["DataTransformation"] = "DerivedStructure";
10
10
  DocumentElementType["Path"] = "Path";
11
11
  DocumentElementType["Tag"] = "Tag";
12
12
  DocumentElementType["CommentThreadMetadata"] = "ThreadMetadata";