@cyberskill/shared 1.42.0 → 1.43.0

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.
@@ -7251,21 +7251,19 @@ export { useTranslateNextIntl }
7251
7251
  export { useTranslateNextIntl as useTranslateNextIntl_alias_1 }
7252
7252
  export { useTranslateNextIntl as useTranslateNextIntl_alias_2 }
7253
7253
 
7254
- declare const validate: {
7255
- common: {
7256
- isEmpty(value: unknown): boolean;
7257
- isEmptyValidator<T>(): (this: T, value: unknown) => Promise<boolean>;
7258
- isUniqueValidator<T extends {
7259
- constructor: {
7260
- findOne: (query: Record<string, unknown>) => Promise<unknown>;
7261
- };
7262
- }>(fields: string[]): (this: T, value: unknown) => Promise<boolean>;
7263
- matchesRegexValidator(regexArray: RegExp[]): (value: string) => Promise<boolean>;
7264
- };
7254
+ declare const validateMongooseField: {
7255
+ isEmpty(value: unknown): boolean;
7256
+ isEmptyValidator<T>(): (this: T, value: unknown) => Promise<boolean>;
7257
+ isUniqueValidator<T extends {
7258
+ constructor: {
7259
+ findOne: (query: Record<string, unknown>) => Promise<unknown>;
7260
+ };
7261
+ }>(fields: string[]): (this: T, value: unknown) => Promise<boolean>;
7262
+ matchesRegexValidator(regexArray: RegExp[]): (value: string) => Promise<boolean>;
7265
7263
  };
7266
- export { validate }
7267
- export { validate as validate_alias_1 }
7268
- export { validate as validate_alias_2 }
7264
+ export { validateMongooseField }
7265
+ export { validateMongooseField as validateMongooseField_alias_1 }
7266
+ export { validateMongooseField as validateMongooseField_alias_2 }
7269
7267
 
7270
7268
  declare function withNextIntl<T extends {
7271
7269
  children: T_Children_2;
@@ -7251,21 +7251,19 @@ export { useTranslateNextIntl }
7251
7251
  export { useTranslateNextIntl as useTranslateNextIntl_alias_1 }
7252
7252
  export { useTranslateNextIntl as useTranslateNextIntl_alias_2 }
7253
7253
 
7254
- declare const validate: {
7255
- common: {
7256
- isEmpty(value: unknown): boolean;
7257
- isEmptyValidator<T>(): (this: T, value: unknown) => Promise<boolean>;
7258
- isUniqueValidator<T extends {
7259
- constructor: {
7260
- findOne: (query: Record<string, unknown>) => Promise<unknown>;
7261
- };
7262
- }>(fields: string[]): (this: T, value: unknown) => Promise<boolean>;
7263
- matchesRegexValidator(regexArray: RegExp[]): (value: string) => Promise<boolean>;
7264
- };
7254
+ declare const validateMongooseField: {
7255
+ isEmpty(value: unknown): boolean;
7256
+ isEmptyValidator<T>(): (this: T, value: unknown) => Promise<boolean>;
7257
+ isUniqueValidator<T extends {
7258
+ constructor: {
7259
+ findOne: (query: Record<string, unknown>) => Promise<unknown>;
7260
+ };
7261
+ }>(fields: string[]): (this: T, value: unknown) => Promise<boolean>;
7262
+ matchesRegexValidator(regexArray: RegExp[]): (value: string) => Promise<boolean>;
7265
7263
  };
7266
- export { validate }
7267
- export { validate as validate_alias_1 }
7268
- export { validate as validate_alias_2 }
7264
+ export { validateMongooseField }
7265
+ export { validateMongooseField as validateMongooseField_alias_1 }
7266
+ export { validateMongooseField as validateMongooseField_alias_2 }
7269
7267
 
7270
7268
  declare function withNextIntl<T extends {
7271
7269
  children: T_Children_2;