@omnia/fx 8.0.53-vnext → 8.0.54-vnext

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.
@@ -2,6 +2,7 @@ export type ValidationResult = string | boolean;
2
2
  export type ValidationRule = ((value: any) => ValidationResult) | ((value: any) => PromiseLike<ValidationResult>);
3
3
  export interface IValidationScope {
4
4
  validate(): Promise<boolean>;
5
+ overrideValidate(func: () => Promise<boolean>): any;
5
6
  resetValidation(): void;
6
7
  }
7
8
  export interface IValidator extends IValidationScope {
@@ -17,9 +18,8 @@ export interface IValidationRuleBuilder {
17
18
  customRule<T>(callback: ((value: any) => ValidationResult) | ((value: any) => PromiseLike<ValidationResult>)): Omit<T, "customRule">;
18
19
  done(): ValidationRule[];
19
20
  }
20
- export interface IValidatorInternal extends IValidator {
21
+ export interface IInternalValidator extends IValidator {
21
22
  createValidationScope(): IValidationScope;
22
23
  register(validation: IValidationScope): any;
23
24
  unregister(validation: IValidationScope): any;
24
- overrideValidate(func: () => Promise<boolean>): any;
25
25
  }
@@ -1,2 +1,2 @@
1
- import { IValidatorInternal } from "../models/Validation";
2
- export declare function useValidatorInternal(): IValidatorInternal;
1
+ import { IInternalValidator } from "../models/Validation";
2
+ export declare function useInternalValidator(): IInternalValidator;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.53-vnext",
4
+ "version": "8.0.54-vnext",
5
5
  "description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -20,7 +20,7 @@
20
20
  ],
21
21
  "author": "Precio Fishbone",
22
22
  "dependencies": {
23
- "@omnia/fx-models": "8.0.53-vnext",
23
+ "@omnia/fx-models": "8.0.54-vnext",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.10.7",