mongoose 8.13.3 → 8.14.1

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.
@@ -173,6 +173,9 @@ declare module 'mongoose' {
173
173
  /** The maximum value allowed for this path. Only allowed for numbers and dates. */
174
174
  max?: number | NativeDate | [number, string] | [NativeDate, string] | readonly [number, string] | readonly [NativeDate, string];
175
175
 
176
+ /** Set to false to disable minimizing empty single nested subdocuments by default */
177
+ minimize?: boolean;
178
+
176
179
  /** Defines a TTL index on this path. Only allowed for dates. */
177
180
  expires?: string | number;
178
181