@nhtio/lucid-resourceful 0.1.0-master-afa3fbd6 → 0.1.0-master-2e6e0518
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/{index-C3ibkB25.js → index-D5qgrKaD.js} +5 -4
- package/index-D5qgrKaD.js.map +1 -0
- package/{index-DwgumCVQ.cjs → index-DjOT0R1c.cjs} +5 -4
- package/index-DjOT0R1c.cjs.map +1 -0
- package/index.cjs +1 -1
- package/index.mjs +1 -1
- package/integration/provider.cjs +1 -1
- package/integration/provider.mjs +1 -1
- package/package.json +31 -31
- package/router/utils.cjs +1 -1
- package/router/utils.mjs +1 -1
- package/router.cjs +1 -1
- package/router.mjs +1 -1
- package/index-C3ibkB25.js.map +0 -1
- package/index-DwgumCVQ.cjs.map +0 -1
|
@@ -4563,7 +4563,8 @@ const getFilterablePropertiesFromModel = (model, depth = 0) => {
|
|
|
4563
4563
|
if (depth > 1) {
|
|
4564
4564
|
return [];
|
|
4565
4565
|
}
|
|
4566
|
-
const
|
|
4566
|
+
const cacheKey = `${model.name}:${depth}`;
|
|
4567
|
+
const cached = filterablePropertiesForModelCache.get(cacheKey);
|
|
4567
4568
|
if (cached) {
|
|
4568
4569
|
return cached;
|
|
4569
4570
|
}
|
|
@@ -4608,7 +4609,7 @@ const getFilterablePropertiesFromModel = (model, depth = 0) => {
|
|
|
4608
4609
|
return { [k]: { type: "unknown" } };
|
|
4609
4610
|
})
|
|
4610
4611
|
);
|
|
4611
|
-
filterablePropertiesForModelCache.set(
|
|
4612
|
+
filterablePropertiesForModelCache.set(cacheKey, returnable);
|
|
4612
4613
|
return returnable;
|
|
4613
4614
|
};
|
|
4614
4615
|
const capitalizeFirstLetterOfString = (str) => {
|
|
@@ -17279,7 +17280,7 @@ async function configure(command) {
|
|
|
17279
17280
|
}
|
|
17280
17281
|
]);
|
|
17281
17282
|
}
|
|
17282
|
-
const version = "0.1.0-master-
|
|
17283
|
+
const version = "0.1.0-master-2e6e0518";
|
|
17283
17284
|
export {
|
|
17284
17285
|
registerRelationCacheTargetsForModel as a,
|
|
17285
17286
|
resourcefulColumn as b,
|
|
@@ -17296,4 +17297,4 @@ export {
|
|
|
17296
17297
|
version as v,
|
|
17297
17298
|
withResourceful as w
|
|
17298
17299
|
};
|
|
17299
|
-
//# sourceMappingURL=index-
|
|
17300
|
+
//# sourceMappingURL=index-D5qgrKaD.js.map
|