@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/index.d.ts
CHANGED
|
@@ -3081,6 +3081,13 @@ declare class EnumMetadata {
|
|
|
3081
3081
|
* @type {boolean}
|
|
3082
3082
|
*/
|
|
3083
3083
|
hidden?: boolean;
|
|
3084
|
+
/**
|
|
3085
|
+
* @property Hide
|
|
3086
|
+
* @description An optional function that returns a boolean to conditionally hide the enum value based on runtime parameters.
|
|
3087
|
+
* For example, you can hide certain enum values depending on another enum's value.
|
|
3088
|
+
* @type {(context: any) => boolean}
|
|
3089
|
+
*/
|
|
3090
|
+
hide?: (context?: any) => boolean;
|
|
3084
3091
|
/**
|
|
3085
3092
|
* Constructor to initialize the EnumMetadata class with optional values.
|
|
3086
3093
|
* @param init An optional partial object to initialize the properties of EnumMetadata.
|