lucid-extension-sdk 0.0.80 → 0.0.81

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.80",
3
+ "version": "0.0.81",
4
4
  "description": "Utility classes for writing Lucid Software editor extensions",
5
5
  "main": "sdk/index.js",
6
6
  "types": "sdk/index.d.ts",
@@ -32,7 +32,11 @@ export declare enum FieldDisplayType {
32
32
  * Given a date, display a small calendar icon alongside a very short version of the date
33
33
  * as a string, e.g. "Sep 9"
34
34
  */
35
- DateBadge = "DateBadge"
35
+ DateBadge = "DateBadge",
36
+ /** Given an object containing iconUrl (optional) and name (optional), determine whether
37
+ * to display as an ImageBadge or InitializedString (or nothing, if neither is present).
38
+ */
39
+ UserProfile = "UserProfile"
36
40
  }
37
41
  export declare const isFieldDisplayType: (x: unknown) => x is FieldDisplayType;
38
42
  /**
@@ -37,6 +37,10 @@ var FieldDisplayType;
37
37
  * as a string, e.g. "Sep 9"
38
38
  */
39
39
  FieldDisplayType["DateBadge"] = "DateBadge";
40
+ /** Given an object containing iconUrl (optional) and name (optional), determine whether
41
+ * to display as an ImageBadge or InitializedString (or nothing, if neither is present).
42
+ */
43
+ FieldDisplayType["UserProfile"] = "UserProfile";
40
44
  })(FieldDisplayType = exports.FieldDisplayType || (exports.FieldDisplayType = {}));
41
45
  exports.isFieldDisplayType = (0, validators_1.enumValidator)(FieldDisplayType);
42
46
  /**