@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.
- package/dist/_tsup-dts-rollup.d.cts +12 -14
- package/dist/_tsup-dts-rollup.d.ts +12 -14
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/nodejs/index.cjs +1 -1
- package/dist/nodejs/index.d.cts +1 -0
- package/dist/nodejs/index.d.ts +1 -0
- package/dist/nodejs/index.js +1 -1
- package/dist/nodejs/mongoose.cjs +1 -1
- package/dist/nodejs/mongoose.d.cts +1 -0
- package/dist/nodejs/mongoose.d.ts +1 -0
- package/dist/nodejs/mongoose.js +1 -1
- package/dist/utils/index.cjs +1 -1
- package/dist/utils/index.d.cts +0 -1
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/index.js +1 -1
- package/package.json +1 -1
- package/dist/utils/validate.cjs +0 -1
- package/dist/utils/validate.d.cts +0 -1
- package/dist/utils/validate.d.ts +0 -1
- package/dist/utils/validate.js +0 -1
|
@@ -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
|
|
7255
|
-
|
|
7256
|
-
|
|
7257
|
-
|
|
7258
|
-
|
|
7259
|
-
|
|
7260
|
-
|
|
7261
|
-
|
|
7262
|
-
|
|
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 {
|
|
7267
|
-
export {
|
|
7268
|
-
export {
|
|
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
|
|
7255
|
-
|
|
7256
|
-
|
|
7257
|
-
|
|
7258
|
-
|
|
7259
|
-
|
|
7260
|
-
|
|
7261
|
-
|
|
7262
|
-
|
|
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 {
|
|
7267
|
-
export {
|
|
7268
|
-
export {
|
|
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;
|