MongooseOptions: (ManualFlattenOptions | AutoFlattenOptions | NoFlattenOptions | LegacyFlattenOptions) & DebugModeOptions