propro-utils 1.5.61 → 1.5.62
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/package.json +1 -1
- package/src/index.js +3 -0
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -31,6 +31,8 @@ let _serverAuth, _clientAuth;
|
|
|
31
31
|
* @param {Object} [options.clientOptions={}] - Configuration options for client-side authentication.
|
|
32
32
|
* @param {Schema} [userSchema] - The user schema to perform the operations on.
|
|
33
33
|
* @param {Schema} [userStyleSchema] - The user style schema to perform the operations on.
|
|
34
|
+
* @param {Schema} [folderSchema] - The folder schema to perform the operations on.
|
|
35
|
+
* @param {Schema} [themeSchema] - The theme schema to perform the operations on.
|
|
34
36
|
* @param {RedisClient} [redisClient] - The Redis client used for caching.
|
|
35
37
|
*
|
|
36
38
|
* @returns {Function} An Express middleware function.
|
|
@@ -55,6 +57,7 @@ class ProProAuthMiddleware {
|
|
|
55
57
|
userSchema,
|
|
56
58
|
userStyleSchema,
|
|
57
59
|
folderSchema,
|
|
60
|
+
themeSchema,
|
|
58
61
|
redisClient
|
|
59
62
|
) {
|
|
60
63
|
this.options = options;
|