@messaia/cdk 20.2.1 → 20.2.2
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/fesm2022/messaia-cdk.mjs +7 -0
- package/fesm2022/messaia-cdk.mjs.map +1 -1
- package/index.d.ts +7 -0
- package/package.json +1 -1
package/fesm2022/messaia-cdk.mjs
CHANGED
|
@@ -13140,6 +13140,13 @@ class EnumMetadata {
|
|
|
13140
13140
|
* @type {boolean}
|
|
13141
13141
|
*/
|
|
13142
13142
|
hidden;
|
|
13143
|
+
/**
|
|
13144
|
+
* @property Hide
|
|
13145
|
+
* @description An optional function that returns a boolean to conditionally hide the enum value based on runtime parameters.
|
|
13146
|
+
* For example, you can hide certain enum values depending on another enum's value.
|
|
13147
|
+
* @type {(context: any) => boolean}
|
|
13148
|
+
*/
|
|
13149
|
+
hide;
|
|
13143
13150
|
/**
|
|
13144
13151
|
* Constructor to initialize the EnumMetadata class with optional values.
|
|
13145
13152
|
* @param init An optional partial object to initialize the properties of EnumMetadata.
|