lucid-extension-sdk 0.0.63 → 0.0.64
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
|
@@ -12,6 +12,7 @@ export declare enum CollectionEnumFieldNames {
|
|
|
12
12
|
Color = "color",
|
|
13
13
|
IconUrl = "iconUrl"
|
|
14
14
|
}
|
|
15
|
+
export declare const isCollectionEnumFieldNames: (x: unknown) => x is CollectionEnumFieldNames;
|
|
15
16
|
export declare class CollectionEnumFieldType {
|
|
16
17
|
readonly collectionId: string;
|
|
17
18
|
/**
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isSerializedCollectionEnumFieldType = exports.deserializeCollectionEnumFieldType = exports.isCollectionEnumFieldType = exports.CollectionEnumFieldType = exports.CollectionEnumFieldNames = exports.CollectionEnumFieldTypeKey = void 0;
|
|
3
|
+
exports.isSerializedCollectionEnumFieldType = exports.deserializeCollectionEnumFieldType = exports.isCollectionEnumFieldType = exports.CollectionEnumFieldType = exports.isCollectionEnumFieldNames = exports.CollectionEnumFieldNames = exports.CollectionEnumFieldTypeKey = void 0;
|
|
4
4
|
const checks_1 = require("../../checks");
|
|
5
|
+
const validators_1 = require("../../validators/validators");
|
|
5
6
|
exports.CollectionEnumFieldTypeKey = 'COLLECTION_ENUM';
|
|
6
7
|
/**
|
|
7
8
|
* Contains the field names of all valid fields for a groovy metadata collection.
|
|
@@ -16,6 +17,7 @@ var CollectionEnumFieldNames;
|
|
|
16
17
|
CollectionEnumFieldNames["Color"] = "color";
|
|
17
18
|
CollectionEnumFieldNames["IconUrl"] = "iconUrl";
|
|
18
19
|
})(CollectionEnumFieldNames = exports.CollectionEnumFieldNames || (exports.CollectionEnumFieldNames = {}));
|
|
20
|
+
exports.isCollectionEnumFieldNames = (0, validators_1.enumValidator)(CollectionEnumFieldNames);
|
|
19
21
|
class CollectionEnumFieldType {
|
|
20
22
|
constructor(collectionId) {
|
|
21
23
|
this.collectionId = collectionId;
|