@openmrs/esm-globals 8.0.1-pre.3444 → 8.0.1-pre.3457

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,3 +1,3 @@
1
- [0] Successfully compiled: 4 files with swc (283.29ms)
1
+ [0] Successfully compiled: 4 files with swc (300.17ms)
2
2
  [0] swc --strip-leading-paths src -d dist exited with code 0
3
3
  [1] tsc --project tsconfig.build.json exited with code 0
package/dist/types.d.ts CHANGED
@@ -194,6 +194,10 @@ export type ExtensionDefinition = {
194
194
  * The user must have ANY of these privileges to see this extension.
195
195
  */
196
196
  privileges?: string | Array<string>;
197
+ /**
198
+ * The expression that determines whether the extension is displayed.
199
+ */
200
+ displayExpression?: string;
197
201
  /**
198
202
  * If supplied, the extension will only be rendered when this feature flag is enabled.
199
203
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-globals",
3
- "version": "8.0.1-pre.3444",
3
+ "version": "8.0.1-pre.3457",
4
4
  "license": "MPL-2.0",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
package/src/types.ts CHANGED
@@ -207,6 +207,10 @@ export type ExtensionDefinition = {
207
207
  * The user must have ANY of these privileges to see this extension.
208
208
  */
209
209
  privileges?: string | Array<string>;
210
+ /**
211
+ * The expression that determines whether the extension is displayed.
212
+ */
213
+ displayExpression?: string;
210
214
  /**
211
215
  * If supplied, the extension will only be rendered when this feature flag is enabled.
212
216
  */