@media-quest/builder 0.0.4 → 0.0.5

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.
@@ -310,7 +310,7 @@ declare const BuilderOperatorSymbols: {
310
310
  };
311
311
  type BuilderOperator = keyof typeof BuilderOperatorSymbols;
312
312
  declare namespace BuilderOperator {
313
- const is: (symbol: string) => symbol is "equal" | "notEqual" | "lessThan" | "lessThanOrEqual" | "greaterThan" | "greaterThanOrEqual" | "between" | "notBetween" | "in" | "notIn" | "missing" | "notMissing" | "contains" | "notContains" | "empty" | "notEmpty" | "startsWith" | "endsWith";
313
+ const is: (symbol?: string) => symbol is "equal" | "notEqual" | "lessThan" | "lessThanOrEqual" | "greaterThan" | "greaterThanOrEqual" | "between" | "notBetween" | "in" | "notIn" | "missing" | "notMissing" | "contains" | "notContains" | "empty" | "notEmpty" | "startsWith" | "endsWith";
314
314
  }
315
315
 
316
316
  declare abstract class SingleSelectItem<T> {
@@ -445,7 +445,7 @@ declare class BuilderCondition extends BuilderObject<"builder-condition", Builde
445
445
  isValid: false;
446
446
  message: string;
447
447
  };
448
- toEngineCondition(): Condition.Simple | false;
448
+ toEngineCondition(modulePrefix: string): Condition.Simple | false;
449
449
  private findVariableInUniverse;
450
450
  set operator(operator: BuilderOperator | "");
451
451
  get operator(): BuilderOperator | "";
@@ -462,17 +462,17 @@ declare const ConditionGroupType: {
462
462
  all: boolean;
463
463
  any: boolean;
464
464
  count: boolean;
465
- range: boolean;
466
465
  };
467
466
  type ConditionGroupType = keyof typeof ConditionGroupType;
468
467
  interface BuilderConditionGroupDto {
469
468
  readonly kind: "condition-group";
470
469
  readonly name: string;
470
+ readonly count?: number;
471
471
  readonly type: ConditionGroupType;
472
472
  readonly conditions: ReadonlyArray<BuilderConditionDto>;
473
473
  }
474
474
  declare class BuilderConditionGroup extends BuilderObject<"builder-condition-group", BuilderConditionGroupDto> {
475
- static readonly isConditionGroupType: (value: string | symbol) => value is "all" | "any" | "count" | "range";
475
+ static readonly isConditionGroupType: (value: string | symbol) => value is "all" | "any" | "count";
476
476
  readonly objectType: "builder-condition-group";
477
477
  private _type;
478
478
  name: string;
@@ -486,7 +486,7 @@ declare class BuilderConditionGroup extends BuilderObject<"builder-condition-gro
486
486
  removeCondition(condition: BuilderCondition): boolean;
487
487
  clone(): BuilderConditionGroupDto;
488
488
  toJson(): BuilderConditionGroupDto;
489
- toEngineConditionComplex(): Condition.Complex | false;
489
+ toEngineConditionComplex(modulePrefix: string): Condition.Complex | false;
490
490
  get type(): ConditionGroupType;
491
491
  set type(conditionGroupType: ConditionGroupType);
492
492
  }
@@ -564,7 +564,7 @@ declare class BuilderRule extends BuilderObject<"builder-rule", BuilderRuleDto>
564
564
  addConditionGroup(): BuilderConditionGroup;
565
565
  clone(): BuilderRuleDto;
566
566
  toJson(): BuilderRuleDto;
567
- toEngineRule(): PageQueRules;
567
+ toEngineRule(modulePrefix: string): PageQueRules;
568
568
  }
569
569
 
570
570
  declare class PageActionManager {
@@ -310,7 +310,7 @@ declare const BuilderOperatorSymbols: {
310
310
  };
311
311
  type BuilderOperator = keyof typeof BuilderOperatorSymbols;
312
312
  declare namespace BuilderOperator {
313
- const is: (symbol: string) => symbol is "equal" | "notEqual" | "lessThan" | "lessThanOrEqual" | "greaterThan" | "greaterThanOrEqual" | "between" | "notBetween" | "in" | "notIn" | "missing" | "notMissing" | "contains" | "notContains" | "empty" | "notEmpty" | "startsWith" | "endsWith";
313
+ const is: (symbol?: string) => symbol is "equal" | "notEqual" | "lessThan" | "lessThanOrEqual" | "greaterThan" | "greaterThanOrEqual" | "between" | "notBetween" | "in" | "notIn" | "missing" | "notMissing" | "contains" | "notContains" | "empty" | "notEmpty" | "startsWith" | "endsWith";
314
314
  }
315
315
 
316
316
  declare abstract class SingleSelectItem<T> {
@@ -445,7 +445,7 @@ declare class BuilderCondition extends BuilderObject<"builder-condition", Builde
445
445
  isValid: false;
446
446
  message: string;
447
447
  };
448
- toEngineCondition(): Condition.Simple | false;
448
+ toEngineCondition(modulePrefix: string): Condition.Simple | false;
449
449
  private findVariableInUniverse;
450
450
  set operator(operator: BuilderOperator | "");
451
451
  get operator(): BuilderOperator | "";
@@ -462,17 +462,17 @@ declare const ConditionGroupType: {
462
462
  all: boolean;
463
463
  any: boolean;
464
464
  count: boolean;
465
- range: boolean;
466
465
  };
467
466
  type ConditionGroupType = keyof typeof ConditionGroupType;
468
467
  interface BuilderConditionGroupDto {
469
468
  readonly kind: "condition-group";
470
469
  readonly name: string;
470
+ readonly count?: number;
471
471
  readonly type: ConditionGroupType;
472
472
  readonly conditions: ReadonlyArray<BuilderConditionDto>;
473
473
  }
474
474
  declare class BuilderConditionGroup extends BuilderObject<"builder-condition-group", BuilderConditionGroupDto> {
475
- static readonly isConditionGroupType: (value: string | symbol) => value is "all" | "any" | "count" | "range";
475
+ static readonly isConditionGroupType: (value: string | symbol) => value is "all" | "any" | "count";
476
476
  readonly objectType: "builder-condition-group";
477
477
  private _type;
478
478
  name: string;
@@ -486,7 +486,7 @@ declare class BuilderConditionGroup extends BuilderObject<"builder-condition-gro
486
486
  removeCondition(condition: BuilderCondition): boolean;
487
487
  clone(): BuilderConditionGroupDto;
488
488
  toJson(): BuilderConditionGroupDto;
489
- toEngineConditionComplex(): Condition.Complex | false;
489
+ toEngineConditionComplex(modulePrefix: string): Condition.Complex | false;
490
490
  get type(): ConditionGroupType;
491
491
  set type(conditionGroupType: ConditionGroupType);
492
492
  }
@@ -564,7 +564,7 @@ declare class BuilderRule extends BuilderObject<"builder-rule", BuilderRuleDto>
564
564
  addConditionGroup(): BuilderConditionGroup;
565
565
  clone(): BuilderRuleDto;
566
566
  toJson(): BuilderRuleDto;
567
- toEngineRule(): PageQueRules;
567
+ toEngineRule(modulePrefix: string): PageQueRules;
568
568
  }
569
569
 
570
570
  declare class PageActionManager {