@supernova-studio/model 1.10.2 → 1.10.3

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/index.mjs CHANGED
@@ -1069,6 +1069,11 @@ function applyShallowObjectUpdate(object, update) {
1069
1069
  }
1070
1070
  return objectShallowCopy;
1071
1071
  }
1072
+ function pickDefined(obj) {
1073
+ return Object.fromEntries(
1074
+ Object.entries(obj).filter(([_, v]) => v !== void 0)
1075
+ );
1076
+ }
1072
1077
 
1073
1078
  // src/utils/content-loader-instruction.ts
1074
1079
  import { z as z40 } from "zod";
@@ -7233,6 +7238,7 @@ export {
7233
7238
  nonNullishFilter,
7234
7239
  nullishToOptional,
7235
7240
  parseUrl,
7241
+ pickDefined,
7236
7242
  pickLatestGroupSnapshots,
7237
7243
  pickLatestPageSnapshots,
7238
7244
  pickLatestSnapshots,