@dhis2/expression-parser 1.4.0 → 1.4.1

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.
@@ -352,7 +352,7 @@
352
352
  function addFormatStructureForTime(structure) {
353
353
  this.ik(structure);
354
354
  }
355
- initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithTime, WithDate]);
355
+ initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]);
356
356
  initMetadataForClass(Builder_0, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder]);
357
357
  initMetadataForClass(LocalDateTimeFormat, 'LocalDateTimeFormat', VOID, AbstractDateTimeFormat);
358
358
  function set_fractionOfSecond(value) {
@@ -354,7 +354,7 @@ function addFormatStructureForDate(structure) {
354
354
  function addFormatStructureForTime(structure) {
355
355
  this.ik(structure);
356
356
  }
357
- initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]);
357
+ initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithTime, WithDate]);
358
358
  initMetadataForClass(Builder_0, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder]);
359
359
  initMetadataForClass(LocalDateTimeFormat, 'LocalDateTimeFormat', VOID, AbstractDateTimeFormat);
360
360
  function set_fractionOfSecond(value) {
package/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  [![Maven Central](https://img.shields.io/maven-central/v/org.hisp.dhis.lib.expression/expression-parser?label=maven%20central)](https://central.sonatype.com/artifact/org.hisp.dhis.lib.expression/expression-parser)
2
2
  [![NPM Version](https://img.shields.io/npm/v/@dhis2/expression-parser)](https://www.npmjs.com/package/@dhis2/expression-parser)
3
+ [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=dhis2_expression-parser&metric=coverage&branch=main)](https://sonarcloud.io/summary/overall?id=dhis2_expression-parser&branch=main)
3
4
  [![KDoc link](https://img.shields.io/badge/API_reference-KDoc-blue)](https://dhis2.github.io/expression-parser/api/)
4
5
 
5
6
  # Expression Parser
@@ -537,6 +537,7 @@ export declare class ExpressionJs {
537
537
  evaluate(unsupported: (p0: string) => Nullable<any>, data: ExpressionDataJs): Nullable<any>;
538
538
  collectProgramVariables(): Array<VariableJs>;
539
539
  collectUIDs(): Array<ID>;
540
+ collectInOrgUnitGroups(): Array<string>;
540
541
  describe(displayNames: Map<string, string>): string;
541
542
  validate(displayNamesKeys: Map<string, string>): void;
542
543
  collectDataItemForRegenerate(): Array<DataItemJs>;