@ehildt/nestjs-config-factory 1.1.1 → 1.1.2
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.
|
@@ -4,6 +4,6 @@ interface CacheConfig<T = unknown> {
|
|
|
4
4
|
schema?: Joi.Schema<T>;
|
|
5
5
|
ttl?: number | false;
|
|
6
6
|
}
|
|
7
|
-
declare function CacheReturnValue<T = unknown>(config?: Joi.Schema<T> | CacheConfig<T> | false): MethodDecorator & PropertyDecorator;
|
|
7
|
+
declare function CacheReturnValue<T = unknown>(config?: Joi.Schema<T> | CacheConfig<T> | false | number): MethodDecorator & PropertyDecorator;
|
|
8
8
|
|
|
9
9
|
export { type CacheConfig, CacheReturnValue };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ehildt/nestjs-config-factory",
|
|
3
3
|
"description": "A dynamic NestJS module factory designed to register, manage, and expose custom configuration providers throughout the application.",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|