ngx-material-entity 20.0.5 → 20.0.6

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/index.d.ts CHANGED
@@ -2940,11 +2940,12 @@ declare abstract class ValidationUtilities {
2940
2940
  * Validates the property on the given entity with the given key.
2941
2941
  * @param entity - The entity on which the property to check is.
2942
2942
  * @param key - The key of the property to validate.
2943
+ * @param injector - An angular environment injector.
2943
2944
  * @param omit - What keys not to check. An empty value means no keys are omitted.
2944
2945
  * @returns A validation error when the property is not valid, undefined otherwise.
2945
2946
  * @throws When the type of the property is not known.
2946
2947
  */
2947
- static getPropertyValidationError<EntityType extends BaseEntityType<EntityType>>(entity: EntityType, key: keyof EntityType, omit?: 'create' | 'update'): Promise<ValidationError | undefined>;
2948
+ static getPropertyValidationError<EntityType extends BaseEntityType<EntityType>>(entity: EntityType, key: keyof EntityType, injector: EnvironmentInjector, omit?: 'create' | 'update'): Promise<ValidationError | undefined>;
2948
2949
  private static getArrayStringAutocompleteChipsValidationError;
2949
2950
  private static getArrayStringDropdownValidationError;
2950
2951
  private static getBooleanValidationError;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-material-entity",
3
- "version": "20.0.5",
3
+ "version": "20.0.6",
4
4
  "license": "MIT",
5
5
  "keywords": [
6
6
  "angular",