@linagora/linid-im-front-corelib 0.0.61 → 0.0.63

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,9 +2,10 @@ import type { ValidationRule } from 'quasar/dist/types/api/validation.js';
2
2
  import type { LinidAttributeConfiguration, ValidatorName } from '..';
3
3
  /**
4
4
  * Generates Quasar validation rules based on configuration.
5
- * @param instanceId The unique identifier of the module instance.
5
+ * @param instanceId - The unique identifier of the module instance.
6
6
  * @param attributeConfig - The configuration of the attribute being validated.
7
7
  * @param validatorsNames - Array of validator names to include.
8
+ * @param i18nScope - The scope for internationalization.
8
9
  * @returns An array of validation functions compatible with Quasar.
9
10
  */
10
- export declare function useQuasarRules<T extends Record<string, unknown>>(instanceId: string, attributeConfig: LinidAttributeConfiguration<T>, validatorsNames: ValidatorName[]): ValidationRule[];
11
+ export declare function useQuasarRules<T extends Record<string, unknown>>(instanceId: string, attributeConfig: LinidAttributeConfiguration<T>, validatorsNames: ValidatorName[], i18nScope: string): ValidationRule[];
@@ -3,4 +3,4 @@
3
3
  * These validators read their parameters from the `inputSettings` property
4
4
  * of `LinidAttributeConfiguration`.
5
5
  */
6
- export type ValidatorName = 'dateNotInPast' | 'min' | 'max' | 'minLength' | 'maxLength' | 'pattern' | 'unique' | 'validDate';
6
+ export type ValidatorName = 'email' | 'dateNotInPast' | 'min' | 'max' | 'minLength' | 'maxLength' | 'pattern' | 'unique' | 'validDate';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@linagora/linid-im-front-corelib",
3
- "version": "0.0.61",
3
+ "version": "0.0.63",
4
4
  "description": "Core library of the LinID Identity Manager project. Provides shared types, services, components, and utilities for front-end and plugin, enabling consistent integration across the LinID ecosystem.",
5
5
  "type": "module",
6
6
  "files": [