lucid-extension-sdk 0.0.415 → 0.0.417

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.
@@ -1,13 +1,21 @@
1
1
  /**
2
2
  * Used to define what a collection implicitly represents.
3
3
  *
4
- * SemanticCollection.Items indicates that the collection's contents should be visualized as distinct elements (such as cards) that can be compared.
5
- *
6
- * We currently only have one value in this enum. More will be added in the future.
7
- *
8
4
  * The values in this enum are purposely generic.
9
5
  */
10
6
  export declare enum SemanticCollection {
11
- Items = "Items"
7
+ /**
8
+ * This indicates that the collection's contents should be visualized as distinct elements (such as cards) that can be compared.
9
+ */
10
+ Items = "Items",
11
+ /**
12
+ * This collection contains metadata often not directed rendered individually to users
13
+ * but used to drive the behavior or visual of other collections.
14
+ */
15
+ Metadata = "Metadata",
16
+ /**
17
+ * This collection contains changes for {@link BranchedCollection}
18
+ */
19
+ Patch = "Patch"
12
20
  }
13
- export declare const isSemanticCollection: (x: unknown) => x is SemanticCollection.Items;
21
+ export declare const isSemanticCollection: (x: unknown) => x is SemanticCollection;
@@ -5,14 +5,22 @@ const validators_1 = require("../../validators/validators");
5
5
  /**
6
6
  * Used to define what a collection implicitly represents.
7
7
  *
8
- * SemanticCollection.Items indicates that the collection's contents should be visualized as distinct elements (such as cards) that can be compared.
9
- *
10
- * We currently only have one value in this enum. More will be added in the future.
11
- *
12
8
  * The values in this enum are purposely generic.
13
9
  */
14
10
  var SemanticCollection;
15
11
  (function (SemanticCollection) {
12
+ /**
13
+ * This indicates that the collection's contents should be visualized as distinct elements (such as cards) that can be compared.
14
+ */
16
15
  SemanticCollection["Items"] = "Items";
16
+ /**
17
+ * This collection contains metadata often not directed rendered individually to users
18
+ * but used to drive the behavior or visual of other collections.
19
+ */
20
+ SemanticCollection["Metadata"] = "Metadata";
21
+ /**
22
+ * This collection contains changes for {@link BranchedCollection}
23
+ */
24
+ SemanticCollection["Patch"] = "Patch";
17
25
  })(SemanticCollection || (exports.SemanticCollection = SemanticCollection = {}));
18
26
  exports.isSemanticCollection = (0, validators_1.enumValidator)(SemanticCollection);
@@ -1,11 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.patchCollectionIdFromPossibleBranchedCollectionId = exports.branchedCollectionId = void 0;
4
+ // LAL-1631: make sure references to this method are correct
4
5
  /** @ignore */
5
6
  function branchedCollectionId(upstreamId) {
6
7
  return upstreamId + '_b';
7
8
  }
8
9
  exports.branchedCollectionId = branchedCollectionId;
10
+ // LAL-1631: make sure references to this method are correct
9
11
  /** @ignore */
10
12
  function patchCollectionIdFromPossibleBranchedCollectionId(branchId) {
11
13
  if (branchId && branchId.endsWith('_b')) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lucid-extension-sdk",
3
- "version": "0.0.415",
3
+ "version": "0.0.417",
4
4
  "description": "Utility classes for writing Lucid Software editor extensions",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",